Since Christmas 2011 I’m trining to work on Linux Mint at home. It was clear that it isn’t possible living without any Windows Operation system installed, so I’ve decided to use Windows 7 in a virtual Machine. In VMware Workstation there’s a very useful feature called “Unity”, that makes all Windows Applications seamless available in the host operation system. That’s what I need to have the best feeling in the daily business.
After installing VMware Workstation, the first start already stopped with a error message, that I had to search in /tmp/vmware-root/setup-xxxx.log. At the end of the Logfile was a message like “Failed to compile module vmmon!”.
Google told me this is a known error under different Kernel Versions. In my case, I’m using this version:
# uname -a
Linux laptop7 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
In VMware’s communities was a post explaining how to Patch my problem:
Here’s how to in quick steps:
- mkdir /tmp/vmware && cd /tmp/vmware
- cp -R /usr/lib/vmware/modules/source/ .
- cd /tmp/vmware/source
- wget http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/05/vmware2.6.39fixed.patch
- if the link above does not work, an alternative is to wget http://kaslit.com/downloads/vmware2.6.39fixed.patch
- for i in ./*.tar; do tar -xf $i; done
- for i in ./*.tar; do mv $i $i.orginal; done
- patch –batch –force -p1 < vmware2.6.39fixed.patch
- tar cf vmblock.tar vmblock-only
- tar cf vmci.tar vmci-only
- tar cf vmmon.tar vmmon-only
- tar cf vmnet.tar vmnet-only
- tar cf vsock.tar vsock-only
- cp -vf *.tar /usr/lib/vmware/modules/source/
After this steps, the VMware modules can be compiled into the Kernel using the following command or by starting VMware Workstation again.
- vmware-modconfig –console –install-all