I've encountered the same problems as the last poster; I'm using Hardy with kernel 2.6.24-16-server, and trying to get VMware-server-1.0.5-80187 working.
I tried applying the vmware-any-any-update115.tar.gz available here: http://knihovny.cvut.cz/ftp/pub/vmware/
This cleared up the error regarding a struct having no member "dumpable", but ran into a problem with a kernel header file. The error is as follows:
Code:
Using compiler "/usr/bin/gcc-3.4". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.24-16-server/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
VMware 2 or VMware Express detected, building for VMware 2, VMware Express and VMware Workstation 4.0.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /lib/modules/2.6.24-16-server/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-server'
CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config3/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config3/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config3/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config3/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from /tmp/vmware-config3/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config3/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config3/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config3/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config3/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-config3/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-server'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.
I edited the file /usr/src/linux-headers-2.6.24-16-server/include/asm/bitops_32.h, changing this line:
Code:
From this:
#error only <linux/bitops.h> can be included directly
To this:
/* #error only <linux/bitops.h> can be included directly */
It then built, albeit with a lot of warnings, and the kernel module loaded successfully. However, I'm still getting these errors in /var/log/vmware/vmware-serverd.log:
Code:
Jul 20 16:11:30: app| Msg_Post: Error
Jul 20 16:11:30: app| [msg.vmmonPosix.badVersion] Version mismatch with vmmon module: expecting 138.0, got 137.0.
Jul 20 16:11:30: app| [msg.vmmonPosix.badDriver] You have an incorrect version of the `vmmon' kernel module.
Jul 20 16:11:30: app| Try reinstalling VMware Server.
Jul 20 16:11:30: app| [localized] Version mismatch with vmmon module: expecting 138.0, got 137.0.
Jul 20 16:11:30: app| You have an incorrect version of the `vmmon' kernel module.
Jul 20 16:11:30: app| Try reinstalling VMware Server.
Jul 20 16:11:30: app| ----------------------------------------
Jul 20 16:11:30: app| Msg_Post: Version mismatch with vmmon module: expecting 138.0, got 137.0.
Jul 20 16:11:30: app| You have an incorrect version of the `vmmon' kernel module.
Jul 20 16:11:30: app| Try reinstalling VMware Server.
Jul 20 16:11:30: app|
Jul 20 16:11:30: app| Msg_Post: Error
Jul 20 16:11:30: app| [msg.vmmonPosix.initFailed] Failed to initialize monitor device.
Jul 20 16:11:30: app| [localized] Failed to initialize monitor device.
Jul 20 16:11:30: app| ----------------------------------------
Jul 20 16:11:30: app| Msg_Post: Failed to initialize monitor device.
Jul 20 16:11:30: app|
I suspect a newer vmware-any-any-update will take care of this, but I don't see one available.
I'll try the VMWare-2.0 beta/RC and post back here if that ends up working.
Bookmarks