Wrong kernel version on 2.6-24 ?

Asked by Antoine Roux on 2008-09-16

Binary package hint: linux-headers-2.6.24-19

Hi,
I am using Ubuntu 8.04.1 on i386 hardware. My kernel is a 2.6.24-19.

I need to install VMWare Server. The installer compiles a module of the kernel for specific purposes. So I have to install linux-headers. This sould not be problem, I already did the same on other distributions. But VMWare complains that the kernel I am running on (2.6.24-19) is not the same than the one in the headers : 2.6.24-3. And it stops the installation.

When I look in the Makefile in /usr/src/linux-headers-2.6.24-19/Makefile of the Kernel I see this :
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 24
EXTRAVERSION = .3

It seems that the version indicated here is not the good one. But when I try to change the EXTRAvERSION value, VMWare still finds that the version of the headers is 2.6.24-3. It seems that it takes the information in version.h, but I do not know how to change the version in there.

Do you know how I could change the version so that my installation works ? Maybe the package would need a fix ?

Thank you.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Last query:
2008-09-16
Last reply:
2008-10-16

This question was originally filed as bug #271060.

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this is being converted to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems like this in the support tracker at https://answers.launchpad.net/ubuntu . Thanks.

Anders Kaseorg (andersk) said : #2

That EXTRAVERSION line indicates that the upstream kernel version 2.6.24.3 (note that it’s .3, not -3). This is the correct upstream version for the Ubuntu release 2.6.24-19, so it should not be a problem.

Are you are using the correct path to the headers, which is
  /lib/modules/2.6.24-19-generic/build
which is a symlink to
  /usr/src/linux-headers-2.6.24-19-generic
?

(/usr/src/linux-headers-2.6.24-19 itself only contains the architecture-independent headers and will not work.)

Can you help with this problem?

Provide an answer of your own, or ask Antoine Roux for more information if necessary.

To post a message you must log in.