You are not logged in.

#1 2006-09-28 15:24:02

Cub69
Member
From: Ottawa, Canada
Registered: 2006-01-20
Posts: 87
Website

VMWare issue with version info from 2.6.18

I'm running vmware 5.5.1 and kernel 2.6.18.  When I run vmware-config.pl to configure vmware, it craps when it tries to build the modules because it can't seem to get the right version information from the kernel modules:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /lib/modules/2.6.18-ARCH/build/include

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18-ARCH).  Even if the module were to compile
successfully, it would not load into the running kernel.

When run against 2.6.17 or 2.6.17beyond, it finds the correct version and will build the modules.

Anyone know how I can resolve this issue?

Thanks
Norm

Offline

#2 2006-09-28 15:37:16

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: VMWare issue with version info from 2.6.18

you need to patch vmware for uts-release, imho
probably something like this is missing in a file for vmware module
+#include <linux>

Offline

#3 2006-09-28 15:45:27

Cub69
Member
From: Ottawa, Canada
Registered: 2006-01-20
Posts: 87
Website

Re: VMWare issue with version info from 2.6.18

Actually, I kept hacking at it and found that the file /lib/modules/2.6.18-ARCH/build/include/linux/version.h, which is looked at for the version information, did not contain a line for the UTS_RELEASE so I added the following:
#define UTS_RELEASE "2.6.18-ARCH"

vmware then configured properly and the modules load cleanly.  Why would that be missing from this file in the first place?  Is it obsoleted some how and the vmware-config.pl would need to be patched then?

Thanks
Norm

Offline

#4 2006-09-28 15:48:57

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: VMWare issue with version info from 2.6.18

kernel .18 changed uts behaviour i had the same issue with ati drivers, added the header in the compilation and then it worked fine
http://www.kernel.org/git/?p=linux/kern … 0d0a3f42ac

Offline

#5 2006-09-28 15:51:09

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: VMWare issue with version info from 2.6.18

As example how i fixed this for ati drivers:
http://cvs.archlinux.org/cgi-bin/viewcv … ag=CURRENT

Offline

Board footer

Powered by FluxBB