VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
5 Replies Last post: Jul 15, 2008 9:04 AM by ric_k  

WS 6.0.3 not working with Linux kernel 2.6.25 posted: Apr 26, 2008 12:48 AM

Click to view lagriffe's profile Novice 11 posts since
Apr 24, 2008
List me as another user who would love to be able to run VMware WS 6.0.3 for Linux on a 2.6.25 kernel. I've toyed with patches and updates and tweaks and fixes, but I can't get the vmmon module to compile.

Most recently, I tried the manual patching described here: http://communities.vmware.com/thread/126311?tstart=0&start=0

I've also tried using pre-patched vmmon.tar and vmnet.tar that were intended to get VMware WS running on kernels 2.6.23 and 2.6.24.

I've also tried any-any-updates 115 and 116.

So far, no success.

I know that 6.5 beta works with kernel 2.6.25, but I'd prefer to stick with 6.0.3 for now.

Any proven fixes would be welcome!

Re: WS 6.0.3 not working with Linux kernel 2.6.25

3. May 7, 2008 2:26 PM in response to: lagriffe
Click to view christaylor's profile Lurker 1 posts since
May 7, 2008


I tried this, using kernel 2.6.25.2 and the any-any-update from the link you posted, but I can't get it to work. It says:

.

.

Building modules, stage 2.
MODPOST 1 modules
WARNING: "init_mm" [/tmp/vmware-config0/vmmon-only/vmmon.ko] undefined!
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/linux-2.6.25.2'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config0/vmmon.o': -1 Unknown symbol in module
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.

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.

Re: WS 6.0.3 not working with Linux kernel 2.6.25

5. Jul 15, 2008 10:03 AM in response to: lagriffe
Click to view ric_k's profile Lurker 1 posts since
Jul 14, 2008
lagriffe wrote:
christaylor wrote:
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.
That's your explanation there. In order to build modules that will load into your kernel, you need to have kernel header files that match your running kernel. I don't know what distro you're using, but you should be able to download kernel headers that match your kernel. Then try the process again.

no, that's not the explanation. the error message says "There is probably a slight difference...". the last few days I spent my time building several kernel configurations for my debian sid/unstable box. first i tried the 2.6.25 debian packaged kernel sources and then 2.6.26 vanilla. everytime i needed to use the any-any-patches, but still it did not compile the vmmon-module. it failed at the exact same position as posted by christaylor - even though i just tried to install vmware player 2.0.4 but i believe it's the same reason.
by chance i found the vmware community posts by a user called selinux that stated that "init_mm" is not present anymore in new kernels. the only solution to that (for now) as i can see is to Enable unused/obsolete exported symbols in Kernel Hackings for your kernel configuration - and recompile the kernel.

after that vmmon compiles just fine. vmblock still does not compile, but vmware-configuration completes successfully, since vmblock is not vital.
now i can gladly report, that vmware player 2.0.4 is running just fine on my debian box with 2.6.26 vanilla kernel.

:)

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