LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-10-2007, 12:17 PM   #1
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian
Posts: 462

Rep: Reputation: 39
rc.modules and kerenl-headers


I upgraded to kernel 2.6.19.2. I wanted this kernel install to be as clean as possible, so I removed everything having to do with old kernel versions.

Everything is working well, but I'm still am not clear on 2 things:

1) rc.modules ( -> rc.modules-2.4.33.3) is still there. Should I just leave it? As far as I know, this just loads certain modules at startup. I also heard that this could be updated through module-init-tools perhaps?

2) kernel-headers: I have none installed right now. Common wisdom suggests that I should install the 2.4.33.3 ones (because of glibc)... is this correct?

Thanks in advance for your input
 
Old 03-10-2007, 04:22 PM   #2
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
1) there is no harm in leaving it there. if you also create
an rc.modules-2.6.19.2 then it would be referenced for the
new kernel and the old one for the default 2.4 kernel. another
possibility is to make an rc.modules.local which would apply to
all kernels.

2) if you hope to compile anything, yes.
 
Old 03-10-2007, 10:39 PM   #3
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 68
You could install the kernel headers from the dvd/cd in /extra/linux-2.6.17.13 since these are the ones that the NPTL version of glibc where compiled with.
 
Old 03-10-2007, 11:23 PM   #4
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
is that a third-party package?

my most recent version is still
compiled against 2.4.33.3
 
Old 03-11-2007, 11:30 PM   #5
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 68
No this is the way slackware is setup.

Quote:
Originally Posted by kernel-headers.WARNING
Note -- if you compile with NPTL then you might want to use these headers, and glibc's NPTL was compiled using 2.6 headers, so all should be well.
And from the glibc.slackbuild its self.
Quote:
Originally Posted by glibc.slackbuild
For dual NPTL/linuxthreads support we need one set of 2.4 kernel sources and another set of 2.6 kernel sources under /usr/src/. This specifies the exact versions we want to use for compilation:

HEADERSTWOFOUR=2.4.33.3
HEADERSTWOSIX=2.6.17.13
<snip>
# Since glibc is built twice (for linuxthreads and NPTL versions), it is
# probably a good idea to make a patch function to put all patches in the
# build script in a single location.

Last edited by XGizzmo; 03-11-2007 at 11:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing a Kerenl Module from Startup revof11 Linux - General 2 11-14-2004 02:47 PM
slackware 10.0RC1 - trying to get the testing 2.6.7 kerenl to work intersidereal Slackware 6 06-23-2004 02:16 AM
Where can I download 2.6 kerenl source? Jestrik Linux - General 1 01-06-2004 08:06 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
"modules shouldn't use kernel headers . . ." cyberclaus Linux - Software 8 10-08-2001 12:20 AM


All times are GMT -5. The time now is 06:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration