You are not logged in.

#1 2007-02-16 15:23:22

miko
Member
From: Poland
Registered: 2006-04-16
Posts: 49

kernel-headers and kernel26-beyond out of sync?

Hello,
I am using kernel26-beyond (currently at 2.6.19), but every time a vanilla kernel gets upgraded, I get kernel-headers upgraded also (currently at 2.6.20). I wonder if wouldn't be better if there was different kernel-headers-beyond package for kernel26-beyond kernels? I am just afraid I could have problems while compiling some programs while vanilla and beyond variants of kernel are out of sync.
I imagine this is valid for other variants of kernels as well.
Another solution would be to release all the kernel variants at the same time, but I don;'t know if it would be possible.

Regards,
miko

Offline

#2 2007-02-16 23:43:31

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: kernel-headers and kernel26-beyond out of sync?

kernel-headers should be in sync with what glibc has been compiled with (glibc actually has a not tight-enough dependency right now because I left the version at 2.6.19). Without recompiling glibc, it's not recommended to up- or downgrade the kernel-headers package. Running an older kernel should not cause any harm, many different distributions do it also. To make things clear: debian installs Debian Sarge with 2.6.8 kernelheaders, but ships by default with a 2.4 kernel.

Offline

#3 2007-06-05 07:06:03

mykey
Member
From: out of the blue
Registered: 2007-03-02
Posts: 113

Re: kernel-headers and kernel26-beyond out of sync?

Just to get this straight - only when glibc is compiled against new kernel-headers (e.g. 2.6.21) it is safe to upgrade kernel-headers (to 2.6.21) even if the used kernel version is still 2.6.19 ?

Offline

#4 2007-06-05 13:10:52

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

Re: kernel-headers and kernel26-beyond out of sync?

mykey wrote:

Just to get this straight - only when glibc is compiled against new kernel-headers (e.g. 2.6.21) it is safe to upgrade kernel-headers (to 2.6.21) even if the used kernel version is still 2.6.19 ?

yes, and glibc will be recompiled when the kernel headers are updated, so you're able to upgrade safely.

You can use any kernel you like (within reason), it doesnt have to match the kernel-headers version.

Offline

#5 2007-06-05 20:13:52

mykey
Member
From: out of the blue
Registered: 2007-03-02
Posts: 113

Re: kernel-headers and kernel26-beyond out of sync?

Thank you - your answer is appreciated.

Offline

Board footer

Powered by FluxBB