Note: These instructions only applies to version 6.0.2 and 6.0.3. Version 6.0.4 now supports Ubuntu 7.10 and 8.04 out of the box (Updated instructions for 6.0.4 and Ubuntu Intrepid)

Seems VMware has released a new version of Workstation; 6.0.3

I had hoped that this release had fixed the problems encountered with 6.0.2. This isn’t the case (By the way; this problem is not only with Ubuntu Hardy Herron but for for all distributions using Linux 2.6.24+)

The problem is the same as for 6.0.2.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.24-12-generic/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-12-generic'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
                 from
/tmp/vmware-config0/vmmon-only/./include/vcpuset.h:74,
                 from
/tmp/vmware-config0/vmmon-only/./include/modulecall.h:23,
                 from /tmp/vmware-config0/vmmon-only/common/vmx86.h:18,
                 from /tmp/vmware-config0/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config0/vmmon-only/common/cpuid.c:14:
include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be
included directly
make[2]: *** [/tmp/vmware-config0/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-12-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/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.

So I downloaded and installed the vmware-any-any patch (update 116), unpacked the files and ran “runme.pl”.

Once the patch is installed the modules builds with a lot of warnings but VMware Workstation is working again.