Weblog entry #3 for lters

The new 2.6.17 Kernel - Why Upgrade
Posted by lters on Mon 10 Jul 2006 at 20:30
Tags: none.
So, are you upgrading to the new 2.6.17?

Looks like it breaks vmware player. Not a big deal.
*** Warning: "/tmp/vmware-config3/vmnet-only/vmnet.o" failed to load: Not a kernel module, lacks modinfo section
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-1-686'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmnet-only'
Unable to build the vmnet module.



But my IBM thinkpad dvd-ata drive works without a recompile and that is great.
Earlier kernels would ignore the sata cd drive switch libata.atapi_enabled=1 and I had to manually compile the kernel and set this option on.

And I could not find the SMP version of the kernel.
But the 2.6.17-1-686 detected my smp kernels just fine.

Looks like a new gcc is needed as well.

 

Comments on this Entry

Posted by Steve (62.30.xx.xx) on Mon 10 Jul 2006 at 20:42
[ Send Message | View Steve's Scratchpad | View Weblogs ]

You always need to recompile the vmware driver(s) on kernel upgrade. They are like the NVidia drivers in that they use a small shim which allows them to talk to the kernel whilst keeping their core binary-only.

Steve

[ Parent | Reply to this comment ]

Posted by lters (69.176.xx.xx) on Mon 10 Jul 2006 at 20:46
[ Send Message | View lters's Scratchpad | View Weblogs ]
I tried to run the update patch and recompile and it failed with the above error message.

respectfully, lters

[ Parent | Reply to this comment ]

Posted by uroboros (86.49.xx.xx) on Mon 10 Jul 2006 at 23:49
[ Send Message | View Weblogs ]
$ uname -r
2.6.17.3

I use it on Debian/Sarge (compiled clearly, running fast). What did you exactly meant with the "need new GCC"?

$ gcc --version
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
mjf

[ Parent | Reply to this comment ]

Posted by lters (69.176.xx.xx) on Tue 11 Jul 2006 at 12:58
[ Send Message | View lters's Scratchpad | View Weblogs ]
I was just refering to the fact that the debian kernel (ie not compiled myself) verion uses the newer gcc. To compile any addon modules you have to upgrade the gcc to 4.1.x as well.

gcc --version
gcc (GCC) 4.1.2 20060708 (prerelease) (Debian 4.1.1-8)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


respectfully, lters

[ Parent | Reply to this comment ]

Posted by Anonymous (213.164.xx.xx) on Tue 11 Jul 2006 at 08:25
> Looks like it breaks vmware player. Not a big deal.
It breaks VMware Player because the headers are missing a version define which is normally present. If you add it, things should work again. If you need to know the details, I'll post them. I'm not at the right place atm.

[ Parent | Reply to this comment ]

Posted by Anonymous (84.179.xx.xx) on Tue 11 Jul 2006 at 13:38
I discovered same problems with Kernel 2.6.17 while making module vmnet. Where is the version define missing? Could you please post more details about this?

Thanks, Tilo

[ Parent | Reply to this comment ]

Posted by Anonymous (213.164.xx.xx) on Wed 12 Jul 2006 at 17:05
On Fedora at least:
vi /usr/src/kernels/2.6.17-1.2358.fc6-i686/include/linux/version.h

Add the line at the top:
#define UTS_RELEASE "2.6.17-1.2358.fc6"

[ Parent | Reply to this comment ]

Posted by Toby (82.182.xx.xx) on Wed 12 Jul 2006 at 22:44
[ Send Message ]
Hi,

here is a fix that worked fine for me.

http://www.vmware.com/community/thread.jspa?threadID=47576&ts tart=0

/Toby

[ Parent | Reply to this comment ]

Posted by lters (69.176.xx.xx) on Wed 30 Aug 2006 at 15:14
[ Send Message | View lters's Scratchpad | View Weblogs ]
There is a new vmplayer (1.0.2) that fixes the kernel issues. No patch is needed.

http://www.vmware.com/download/player/

Also, in case you test the player and wonder about the vmware tools, for the windows client... You really want to install them as it boosts performance greatly and makes XP as a guest act much better. The time is sync'd right, the mouse flows into vmware and back out with no hot key needed and video resizes like it should.

To get the tools, download the free server, untar it and look for the iso files. Find the one for windows and add it as a cd to your guest setup or burn a cd etc. That will give you the install tools for your guest XP. This makes the guest os much more user friendly.

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search