# linux-kernel-headers

**URL:** <https://forums.suse.com/t/linux-kernel-headers/22240>\
**Category:** SLES Updates\
**Created:** [February 20, 2012, 12:42pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240 "2012-02-20T12:42:43Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![housing\_toy](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@housing\_toy](https://forums.suse.com/u/housing_toy)\
**Post date:** [February 20, 2012, 12:42pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/1 "2012-02-20T12:42:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [February 20, 2012, 2:21pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/2 "2012-02-20T14:21:44Z")

</div>

> [@housing toy](#):
>
> 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

---

<div class="post-metadata">

**Author:** ![housing\_toy](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@housing\_toy](https://forums.suse.com/u/housing_toy)\
**Post date:** [February 23, 2012, 1:04pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/3 "2012-02-23T13:04:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [February 23, 2012, 2:51pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/4 "2012-02-23T14:51:57Z")

</div>

> [@housing toy](#):
>
> Thanks,
> 
> but when installing of the vmware tools,  
> What must answer the question:
> 
> "\*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? \*"
> 
> 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

```auto
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

---

<div class="post-metadata">

**Author:** ![skunkboy](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@skunkboy](https://forums.suse.com/u/skunkboy)\
**Post date:** [March 21, 2012, 4:48pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/5 "2012-03-21T16:48:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [March 21, 2012, 5:14pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/6 "2012-03-21T17:14:50Z")

</div>

> [@skunkboy](#):
>
> 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

---

<div class="post-metadata">

**Author:** ![skunkboy](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@skunkboy](https://forums.suse.com/u/skunkboy)\
**Post date:** [March 21, 2012, 5:39pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/7 "2012-03-21T17:39:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [March 21, 2012, 5:59pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/8 "2012-03-21T17:59:33Z")

</div>

> [@skunkboy](#):
>
> 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
> 
> 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

---

<div class="post-metadata">

**Author:** ![enovaklbank](https://avatars.discourse-cdn.com/v4/letter/e/aca169/32.png) [@enovaklbank](https://forums.suse.com/u/enovaklbank)\
**Post date:** [March 21, 2012, 7:00pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/9 "2012-03-21T19:00:27Z")

</div>

[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.

---

<div class="post-metadata">

**Author:** ![skunkboy](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@skunkboy](https://forums.suse.com/u/skunkboy)\
**Post date:** [March 21, 2012, 7:54pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/10 "2012-03-21T19:54:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![thesailorbreton](https://avatars.discourse-cdn.com/v4/letter/t/3bc359/32.png) [@thesailorbreton](https://forums.suse.com/u/thesailorbreton)\
**Post date:** [April 3, 2012, 4:52pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/11 "2012-04-03T16:52:33Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [April 3, 2012, 6:03pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/12 "2012-04-03T18:03:05Z")

</div>

> [@thesailorbreton](#):
>
> 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;

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

The old linux-kernel-headers are in;

```auto
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

---

<div class="post-metadata">

**Author:** ![thesailorbreton](https://avatars.discourse-cdn.com/v4/letter/t/3bc359/32.png) [@thesailorbreton](https://forums.suse.com/u/thesailorbreton)\
**Post date:** [April 4, 2012, 11:46am UTC](https://forums.suse.com/t/linux-kernel-headers/22240/13 "2012-04-04T11:46:06Z")

</div>

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 | Ou`i  
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 ?

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [April 4, 2012, 4:43pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/14 "2012-04-04T16:43:36Z")

</div>

> [@thesailorbreton](#):
>
> ```auto
> 12 | susecloud:SLES11-SP1-Pool |SLES11-SP1-Pool | Non | Oui
> ```

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

---

<div class="post-metadata">

**Author:** ![thesailorbreton](https://avatars.discourse-cdn.com/v4/letter/t/3bc359/32.png) [@thesailorbreton](https://forums.suse.com/u/thesailorbreton)\
**Post date:** [April 10, 2012, 5:16pm UTC](https://forums.suse.com/t/linux-kernel-headers/22240/15 "2012-04-10T17:16:55Z")

</div>

Thks a lot.
