You are not logged in.

#1 2006-12-15 08:52:17

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

[REALLY solved] install vmware-tools - no matching kernel

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

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

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

What to do?


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#2 2006-12-15 09:27:02

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [REALLY solved] install vmware-tools - no matching kernel

Complain to vmware about their horribly broken scripts.

Or, search the forums quickly smile http://bbs.archlinux.org/viewtopic.php?t=27699

There's a patch linked in that thread.

Enjoy
James

Offline

#3 2006-12-15 09:29:40

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: [REALLY solved] install vmware-tools - no matching kernel

The patch is ugly... I think a better way is:

echo "#define UTS_RELEASE "`uname -r`"" >> /usr/src/linux-`uname -r`/include/linux/version.h

The vmware-script is just checking against this '#define UTS_RELEASE' entry.

cat /usr/src/linux-`uname -r`/include/linux/version.h

#define LINUX_VERSION_CODE 132627
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
#define UTS_RELEASE "2.6.19-ARCH"

Now everything is fine. Wiki is allready touched.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#4 2006-12-15 09:46:56

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [REALLY solved] install vmware-tools - no matching kernel

Hmmm....

So you're solving it by changing a kernel header to accommodate vmware? Personally, I'd do it the other way around - or do you think the kernel guys made a mistake there?

Offline

#5 2006-12-15 09:59:56

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: [REALLY solved] install vmware-tools - no matching kernel

I don't think it is a mistake. The kernel guys themselves use this UTS-RELEASE variable. As far as I understand, this variable is used to flag user compiled kernels. debians and red hats kernel compilation scripts f.e. use this, too.

If, in debian or red had, I would compile and name my kernel 2.6.19-ARCH, their makros would create the UTS-RELEASE 2.6.19-ARCH entry.

Therefore, it might be a mistake in archlinux kernel package to not use this flag - but this is just my humble opinion.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#6 2006-12-15 10:19:04

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: [REALLY solved] install vmware-tools - no matching kernel

Meanwhile, this entry has been moved to ustversion.h

http://www.ussg.iu.edu/hypermail/linux/ … /1644.html

It would be better to

- patch the vmware installer to check against utsversion.h
- use utsversion.h

neutral


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#7 2006-12-15 10:24:45

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [REALLY solved] install vmware-tools - no matching kernel

don't know if this helps but I use anyany script....

http://en.opensuse.org/Setting_up_VMware_on_SUSE_Linux


Mr Green

Offline

Board footer

Powered by FluxBB