Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo-sources-2.6.12 really needs a linux-headers-2.6.12
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
drphibes
Guru
Guru


Joined: 30 Nov 2004
Posts: 432

PostPosted: Mon Jun 20, 2005 12:03 am    Post subject: gentoo-sources-2.6.12 really needs a linux-headers-2.6.12 Reply with quote

linux-headers-2.6.11-r11 should be upgraded to linux-headers-2.6.12 sooner rather than later....there are incompatibilities between these kernels.
Back to top
View user's profile Send private message
kmj0377
Guru
Guru


Joined: 26 Sep 2003
Posts: 397

PostPosted: Mon Jun 20, 2005 2:56 pm    Post subject: Reply with quote

I don't believe the linux headers in /usr/include have to match the version you are currently running. In fact, I'm curious as to why Gentoo is still using the headers straight from the linux kernel tarball instead of using the linux-libc-headers (http://ep09.pld-linux.org/~mmazur/linux-libc-headers/) since kernel developers are against using the linux kernel tarball for its headers. The linux headers should not be updated so quickly since they need to match the version glibc was compiled against. And then there's the /usr/src/linux symlink which kernel developers also seem to be against, but gentoo seems to require it for kernel module packages.
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Mon Jun 20, 2005 6:25 pm    Post subject: Reply with quote

Seems this is correct tho. My friend running Slackware cant build 2.6.12, and its a header issue. Plus, compare the virtual FS area in config.. thats one place that we've noticed. Havent tried on Gentoo myself yet.
_________________
Scribus: Open Source Desktop Publishing http://www.scribus.net. Emerge it!
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Mon Jun 20, 2005 6:51 pm    Post subject: Re: gentoo-sources-2.6.12 really needs a linux-headers-2.6.1 Reply with quote

drphibes wrote:
linux-headers-2.6.11-r11 should be upgraded to linux-headers-2.6.12 sooner rather than later....there are incompatibilities between these kernels.


such as ..?

kmj0377 wrote:
The linux headers should not be updated so quickly since they need to match the version glibc was compiled against.

they are updated regularly to fix bugs... often glibc does not need to be recompiled against the smaller changes

Quote:
And then there's the /usr/src/linux symlink which kernel developers also seem to be against, but gentoo seems to require it for kernel module packages.


the reasons why people are against it do not apply to gentoo. (they only apply for people who build glibc against /usr/src/linux, but gentoo does not, we have linux-headers package)

cbradney wrote:
Seems this is correct tho. My friend running Slackware cant build 2.6.12, and its a header issue.


unless slackware does strange stuff, headers (as in /usr/include headers) are not used in kernel compilation at all since the kernel binary does not rely on any libraries at all.
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Mon Jun 20, 2005 7:02 pm    Post subject: Re: gentoo-sources-2.6.12 really needs a linux-headers-2.6.1 Reply with quote

dsd wrote:

cbradney wrote:
Seems this is correct tho. My friend running Slackware cant build 2.6.12, and its a header issue.


unless slackware does strange stuff, headers (as in /usr/include headers) are not used in kernel compilation at all since the kernel binary does not rely on any libraries at all.


Yeah. That was my understanding. Maybe its a bad config dependency issue. He was trying to get i2c to work and was getting build failures re missing headers that were not in any of the kernel dirs, but only in the /usr/include dirs. Dont know if he sorted it out or not.
_________________
Scribus: Open Source Desktop Publishing http://www.scribus.net. Emerge it!
Back to top
View user's profile Send private message
drphibes
Guru
Guru


Joined: 30 Nov 2004
Posts: 432

PostPosted: Mon Jun 20, 2005 10:37 pm    Post subject: Re: gentoo-sources-2.6.12 really needs a linux-headers-2.6.1 Reply with quote

dsd wrote:
drphibes wrote:
linux-headers-2.6.11-r11 should be upgraded to linux-headers-2.6.12 sooner rather than later....there are incompatibilities between these kernels.


such as ..?


pci.h

the struct pci_dev member 'slot_name' is now obsolete (gone!), but the 2.6.11 headers represent it as being available.

(struct pci_dev)pdev->slot_name references are now properly done as pci_name(pdev).
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Mon Jun 20, 2005 10:56 pm    Post subject: Reply with quote

that is an internal kernel change does not relate to headers at all. its not exposed as a system call to external libraries or anything like that.
remember, the kernel does not build against the headers in /usr/include ...
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
drphibes
Guru
Guru


Joined: 30 Nov 2004
Posts: 432

PostPosted: Mon Jun 20, 2005 11:03 pm    Post subject: Reply with quote

I see. Why, then, does not linux-headers only expose system call resources, as opposed to all the kernel headers?
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Tue Jun 21, 2005 5:17 pm    Post subject: Reply with quote

probably because it would then be a great amount of work in order to stay in-sync with the mainline kernel
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum