linux-kernel-headers

Greetings,

we are looking for kernel headers for Suse Linux Enterprise Server for Vmware 11. Actually we have linux-kernel version 2.6.32.46-0.3 installed, but in Yast, we can find only linux-headers for version linux-kernel-headers-2.6.32-1.4.13.

Is there a way to find the correct version without update the whole system? Where we can manually donwload rpm?
NB it is a registered copy of SLES for Vmware.

Best regards,
MC-link Spa

Hi
That’s the correct version, the headers don’t change.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 1 day 14:51, 5 users, load average: 0.03, 0.03, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Thanks,

but when installing of the vmware tools,
What must answer the question:

"[B]Searching for a valid kernel header path…
The path “” is not a valid path to the 2.6.32.46-0.3-default kernel headers.
Would you like to change it? [yes]

Enter the path to the kernel header files for the 2.6.32.46-0.3-default
kernel? [/B]"

Best regards,
MC-link Spa

Hi
What version of vmware tools are you running? You need to create
softlinks to autoconf.h and utsrelease.h for the newer kernels.

If your not x86_64 swap for i586

cd /usr/src/linux-`uname -r |cut -f1-2 -d"-"`-obj/x86_64/`uname -r |cut -f3 -d"-"`/include/linux/
/bin/ln -sf ../generated/autoconf.h
/bin/ln -sf ../generated/utsrelease.h


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 19:31, 2 users, load average: 0.00, 0.02, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Is this the same situation with SLES 11.2?
It is running the 3.0.13-0.27 kernel but has the 2.6.32-1.4.13 headers installed.

Thanks,
Matt

Hi
The later kernels use glibc-devel (or linux-glibc-devel) so the
linux-kernel-headers are not required AFAIK.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 5 days 19:45, 2 users, load average: 0.09, 0.04, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

gcc seems to require the older kernel headers, which is causing some confusion to the vmware tools module, as it is looking for the kernel headers.

kernel-firmware-20110923-0.7.64
kernel-pae-devel-3.0.13-0.27.1
kernel-pae-base-3.0.13-0.27.1
kernel-pae-3.0.13-0.27.1
linux-kernel-headers-2.6.32-1.4.13
kernel-source-3.0.13-0.27.1
gcc-4.3-62.198

Matt

Hi
What version of vmware are you trying to install?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 5 days 20:38, 2 users, load average: 0.00, 0.10, 0.13
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

[QUOTE=malcolmlewis;3366]Hi
What version of vmware are you trying to install?
[/QUOTE]

That’s the right question.

In my experience:

  • ESXi 5.0 GA (build 469512) has the tools version 8.6.0.whatever (around 6000-something…) - this works with SP2 sometimes, but not always.
  • ESXi 5.0 with patches (build 515841) has tools 8.6.0.8802 (build-515842) - this always works with SP2
  • ESXi 5.0 update1 (build 623860) has tools 8.6.5.11214 (build-621624) - is perfect, too

So malcomlewis is right about the headers, you don’t need a newer package. Actually, there is none. You need a decent tools installer instead.

Ah, we seem to be running on older tools… VMwareTools-8195-261974, ff I am reading this right, 8.1.95?
I will go bug our VMware admin and see what he has to say.

Thanks,
Matt

I am trying to install gcc using yast or zypper on a SLES11 SP2 running on AWS EC2. It fails and says that glibc-devel-2.11.3-17.31.1.i586 requires linux-kernel-headers. I have tried to zypper in kernel-ec2-devel or sdk_kernel but the problem persits.

Any idea where I can get them using zypper or yast ?

Hi
So your pulling glibc-devel from;

Repository: SLED11-SP2-Core
Name: glibc-devel
Version: 2.11.3-17.31.1

The old linux-kernel-headers are in;

Repository: SLED11-SP1-Pool
Name: linux-kernel-headers
Version: 2.6.32-1.4.13

Is that repository active?

Sure it’s not the change in file locations for things like autoconf.h
etc?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 1 day 13:47, 2 users, load average: 0.02, 0.04, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Thanks a lot for your answer.

Here is my zypper lr

# | Alias | Nom | Activé | Rafraîchir ---+--------------------------------------+----------------------------+--------+----------- 1 | susecloud:SLE11-SDK-SP1 | SLE11-SDK-SP1 | Non | Oui 2 | susecloud:SLE11-SDK-SP1-Pool | SLE11-SDK-SP1-Pool | Oui | Oui 3 | susecloud:SLE11-SDK-SP1-Updates | SLE11-SDK-SP1-Updates | Oui | Oui 4 | susecloud:SLE11-SDK-SP2-Core | SLE11-SDK-SP2-Core | Oui | Oui 5 | susecloud:SLE11-SDK-SP2-Updates | SLE11-SDK-SP2-Updates | Oui | Oui 6 | susecloud:SLE11-WebYaST-SP1 | SLE11-WebYaST-SP1 | Non | Oui 7 | susecloud:SLE11-WebYaST-SP1-Updates | SLE11-WebYaST-SP1-Updates | Non | Oui 8 | susecloud:SLE11-WebYaST-SP2-Pool | SLE11-WebYaST-SP2-Pool | Non | Oui 9 | susecloud:SLE11-WebYaST-SP2-Updates | SLE11-WebYaST-SP2-Updates | Non | Oui 10 | susecloud:SLES11-Extras | SLES11-Extras | Oui | Oui 11 | susecloud:SLES11-SP1 | SLES11-SP1 | Non | Oui 12 | susecloud:SLES11-SP1-Pool | SLES11-SP1-Pool | Non | Oui 13 | susecloud:SLES11-SP1-Updates | SLES11-SP1-Updates | Non | Oui 14 | susecloud:SLES11-SP2-Core | SLES11-SP2-Core | Oui | Oui 15 | susecloud:SLES11-SP2-Extension-Store | SLES11-SP2-Extension-Store | Oui | Oui 16 | susecloud:SLES11-SP2-Updates | SLES11-SP2-Updates | Oui | Oui
I would imagine that SLE11-SDK-SP2-Core in AWS is similar to SLED11-SP2-Core ?
And that SLE11-SDK-SP1-Pool is similard in AWS to SLED11-SP1-Pool ?
As you can see they are both active.
I am really not a specialist so maybe I am missing something ?

Hi
Repository 12 needs to be active as this is where gcc is;

Repository: SLES11-SP1-Pool
Name: gcc
Version: 4.3-62.198


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 2 days 12:26, 2 users, load average: 0.00, 0.02, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Thks a lot.