Update 21-03-2008
Please see my updated instructions for VMware Workstation 6.0.3 – It will also work for 6.0.2
When running vmware-config.pl for VMware Workstation 6.0.2 (build 59824) one is presented with this error:
Unknown VMware Workstation 6.0.2 build 59824 detected. Building for
Workstation 6.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.24-4-generic/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-4-generic'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config2/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config2/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from
/tmp/vmware-config2/vmmon-only/./include/vcpuset.h:74,
from
/tmp/vmware-config2/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config2/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config2/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config2/vmmon-only/common/cpuid.c:15:
include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be
included directly
make[2]: *** [/tmp/vmware-config2/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-4-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems,
please visit our Web site at
"http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
Workstation 6.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.24-4-generic/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-4-generic'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config2/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config2/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from
/tmp/vmware-config2/vmmon-only/./include/vcpuset.h:74,
from
/tmp/vmware-config2/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config2/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config2/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config2/vmmon-only/common/cpuid.c:15:
include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be
included directly
make[2]: *** [/tmp/vmware-config2/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-4-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems,
please visit our Web site at
"http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
No worries the solution is right at hand – Simply follow the instuctions for 6.0.3.
Update (11-08-2008): I am told that this tricks also works for VMware Server 1.x. There is a problem with the Server Console but this can also be fixed.
It work`s. Thanks
Thanks, that got me past the compiling of it… but when running the management console, I was getting errors about cairo versions. The following fixed that (in case anyone else finds this page via google)
sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/ sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/
This was taken from http://ubuntuforums.org/showthread.php?p=4300876
Great, thanks a lot!
Thanks for taking the time to publish this! It worked just great for Fedora Core 8.
Thank you very much for your precious information!
Thanks
It works for me – but even after patching the module version to 167 it still installs it using version 161. Do you know where this value gets overwritten?
I am having the same issue — after following these steps, the modules compile fine and all services start, but when I try to start a VM I get: “Version mismatch with vmmon module: expecting 161.0, got 167.0.
You have an incorrect version of the `vmmon’ kernel module.
Try reinstalling VMware Workstation.” Do you need to do anything else after runme.pl ?
Hello — for everyone who was having the problem I mentioned above, you can fix it by simply omitting steps 4 & 5 above.. if you do the other changes, it is working fine, at least on Hardy Heron Alpha 6
@katsumi: about which steps are you speeking?
I couldn’t figure out how to fix the vmmon problem :(
I am also having the version problem is there a solution to this?
I think katsumi was referring to this:
http://aldeby.org/blog/?p=113
I used the package from this site to fix my VMWare and now it works fine ;) Hope it helps
I have got it. Thanks to the link that Morgo gave it helped a lot.
If you have downloaded the any-any patch version 116 i can help you. First open Morgo’s link in another window and go to step 4. Then you have to modify only the files iocontrols_compat.h and iocontrols.h exactly in the other way the author is suggesting (only this two files). Then save and tar the entire directory to vmmon.tar (you previously deleted or moved the original tar) and run “sudo ./runme.pl” all should go fine (at least for me).
Bye,
dAnUx