VMware

This Question is Answered

2 "helpful" answers available (6 pts)
3 Replies Last post: Mar 29, 2008 3:42 PM by jkeller  

Trying to install Workstation 6.0.3 (80004) on Mandriva 2008.1 (RC2) posted: Mar 24, 2008 4:37 PM

Click to view jkeller's profile Novice 9 posts since
Dec 30, 2006
I run Workstation 6.0.2 on Mandriva 2007.1, and I'm testing Mandriva cooker (unstable version) to see what works in anticipation of the final release of 2008.1. I did a fresh install of RC2 and upgraded packages using urpmi --auto-select. I'm currently running the kernel 2.6.24.3-laptop-4mnb, with full kernel source installed.

I have the latest version of Workstation (6.0.3), but I can't get it compiled. The release notes seemed to indicate that it should compile for this version of the kernel (2.6.24 series seems to have a lot of patch all-all suggestions in 2007, before this version of Workstation was released).

I tried with and without the all-all patch, no luck. Without the patch, the compile errors out with:

Using 2.6.x kernel build system.
make: Entering directory `/root/tmp/vmware-config4/vmmon-only'
make -C /lib/modules/2.6.24.3-laptop-4mnb/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.24.3-laptop-4mnb'
CC [M] /root/tmp/vmware-config4/vmmon-only/linux/driver.o
CC [M] /root/tmp/vmware-config4/vmmon-only/linux/hostif.o
CC [M] /root/tmp/vmware-config4/vmmon-only/common/comport.o
CC [M] /root/tmp/vmware-config4/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from /root/tmp/vmware-config4/vmmon-only/./include/vcpuset.h:74,
from /root/tmp/vmware-config4/vmmon-only/./include/modulecall.h:23,
from /root/tmp/vmware-config4/vmmon-only/common/vmx86.h:18,
from /root/tmp/vmware-config4/vmmon-only/common/hostif.h:18,
from /root/tmp/vmware-config4/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]: *** [/root/tmp/vmware-config4/vmmon-only/common/cpuid.o] Error 1
make[1]: *** --_module_/root/tmp/vmware-config4/vmmon-only-- Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.3-laptop-4mnb'
make: *** vmmon.ko Error 2
make: Leaving directory `/root/tmp/vmware-config4/vmmon-only'
Unable to build the vmmon module.

Any ideas about how to resolve this? Has anyone had success with Workstation on Mandriva cooker lately?

(Note: under 2007.1, I used a tweaked kernel to have a 1000Hz clock and a USB patch to allow my iPod to unmount, but otherwise untouched - and the plain kernel worked with Workstation 6.0.2 even without those patches.)
Click to view Pattrick's profile Novice 2 posts since
Mar 24, 2008

I'm having the same problem on Fedora Core 8. I updated the Fedora kernel to 2.6.24.3-34.fc8 this evening and thought downloading 6.0.3 would resolve the problem but I'm now getting the same error message. VMWorkstation 6.0.2 gave a different error message but the same result -- vmware-config.pl doesn't compile.
Click to view Pattrick's profile Novice 2 posts since
Mar 24, 2008

I found a workaround that seems to be working for me on Fedora 8. Firstly, I don't know much about the kernel or VMWare so I make no warranties about this solution except to say it worked for me.

1. I made a copy of the file bitops_32.h, edited it to remove the following lines and saved the file:

#ifndef _LINUX_BITOPS_H
#error only <linux/bitops.h> can be included directly
#endif

2. I ran wmvware-config.pl successfully to to recompile the VMWare files.

3. Restored the original bitops_32.h file from the backup

Like I said I do not know much about the kernel or VMWare internal workings. I hope there will be a update from VMWare to address the updated kernel.

Regards,


VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities