Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linux-headers (2.6.8) ?
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
Kurse
Apprentice
Apprentice


Joined: 31 Aug 2004
Posts: 169
Location: Midwest, USA

PostPosted: Tue Sep 21, 2004 6:14 pm    Post subject: linux-headers (2.6.8) ? Reply with quote

Why does my system that is running kernel 2.6.8-r3 want linux-headers-2.4.21-r1?? I know their are packages with dependancies on linux-headers.

I dont see linux-headers-2.6.8-r3 headers in portage, but I do see linux-headers-2.6.8.1, but they are masked.

Which linux-headers should be installed?
Back to top
View user's profile Send private message
Cocker68
Apprentice
Apprentice


Joined: 16 Jan 2003
Posts: 227
Location: Germany

PostPosted: Tue Sep 21, 2004 6:20 pm    Post subject: Reply with quote

You should do a
Code:
# emerge -C linux-headers
# emerge linux26-headers
- Cocker :wq

Last edited by Cocker68 on Tue Oct 05, 2004 8:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
Kurse
Apprentice
Apprentice


Joined: 31 Aug 2004
Posts: 169
Location: Midwest, USA

PostPosted: Tue Sep 21, 2004 6:27 pm    Post subject: Reply with quote

Thanks for the reply, Cocker68!

linux26-headers says its for 2.6.7 kernel, is that OK with a 2.6.8 kernel?
Back to top
View user's profile Send private message
aderio
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2003
Posts: 118
Location: England

PostPosted: Tue Sep 21, 2004 6:27 pm    Post subject: Reply with quote

Thanks for the answer to Kurse. I've been wondering about linux headers and why by default you use 2.4.* linux-headers with 2.6.* kernel. I think thats what I mean but....

:?
_________________
Typos lead to premature baldness, therefore lick and stick whenever possible. Veteran status may mean that you post a lot of *** I'm a noob and clueless.
"Let us go forward together" Winston Churchill
Back to top
View user's profile Send private message
Cocker68
Apprentice
Apprentice


Joined: 16 Jan 2003
Posts: 227
Location: Germany

PostPosted: Tue Sep 21, 2004 6:45 pm    Post subject: Reply with quote

linux-headers are upward compatible only.
That means there's no problem in using linux-headers-2.4.21-r1 together with e.g. gentoo-dev-sources-2.6.8-r3.
Only the other way round will not work: You cannot use linux26-headers together with a 2.4-kernel.

- Cocker :wq
Back to top
View user's profile Send private message
Kurse
Apprentice
Apprentice


Joined: 31 Aug 2004
Posts: 169
Location: Midwest, USA

PostPosted: Tue Sep 21, 2004 6:51 pm    Post subject: Reply with quote

OK, gotcha. I have been browsing around and it seems from what I've found in other threads, if you have a 2.6 kernel, you can still use 2.4 headers, but then you cannot get some of the new functionality that comes with the 2.6 kernel (like nptl). Also, if you upgrade kernel-headers, you need to re-emerge glibc.

Correct me if I'm mistaken on any of this.

Thanks again for your help, Cocker68
Back to top
View user's profile Send private message
chickaroo
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2004
Posts: 102
Location: #!/usr/bin/girl

PostPosted: Wed Sep 22, 2004 3:03 am    Post subject: Reply with quote

yeah. i usually edit /etc/make.profile/virtuals and change every 'linux-headers' to 'linux26-headers' before i bootstrap. but i imagine it would do the same if you just changed kernel headers later on, and re emerged glibc

well if anyone's interested, this is what i do first, before bootstrap
Code:

emerge patch && emerge -C linux-headers && emerge linux26-headers

then

/usr/portage/scripts/bootstrap-2.6.sh

_________________
Registered Linux user #364515 (Jun, 2004)
Back to top
View user's profile Send private message
Pseud
Apprentice
Apprentice


Joined: 19 Mar 2004
Posts: 273
Location: Bangalore, India

PostPosted: Wed Sep 22, 2004 10:16 pm    Post subject: Reply with quote

Cocker68 wrote:
You should do a
Code:
# emerge -C linux-headers
# emerge linux26-headers
- Cocker :wq


If I do this, how will I know which packages need to be re-emerged?
Thanks!
_________________
eschew obfuscation
Back to top
View user's profile Send private message
hyp0r
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2003
Posts: 139

PostPosted: Thu Sep 23, 2004 8:57 am    Post subject: Reply with quote

Glibc depends on it. I remember a discussion about emerging linux-headers for 2.6 and removing those for 2.4 which might brake your system.
Some symptoms are, that you encounter not being able to do anything when rebooting your system. I don't remeber the exact errormessage, but I don't want to meet it again. :)
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