LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-03-2004, 10:57 AM   #1
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
/lib/modules Issues w/ New Kernel


I just downloaded the 2.4.23 kernel and recompiled (for the first time, yay!). Now on my machine there is 2.4.20-8 (what RH gave me) and 2.4.23.

[andrew@notebook andrew]$ ls -l /boot | grep "z"
-rw-r--r-- 1 root root 1232336 Jan 1 19:17 bzImage-2.4.23
-rw-r--r-- 1 root root 1122186 Mar 13 2003 vmlinuz-2.4.20-8

Both of these boot fine from GRUB, however, with 2.4.23 I do not have any modules working (everything, iptables, etc, fails when booting).

In /lib/modules:

[andrew@notebook andrew]$ ls -l /lib/modules
total 8
drwxr-xr-x 4 root root 4096 Jan 1 21:13 2.4.20-8
drwxr-xr-x 4 root root 4096 Jan 2 15:29 2.4.23

I assume that my 2.4.20-8 kernel is accessing /lib/modules/2.4.20-8.

Did I mess up and just leave out all the modules I needed for 2.4.23? Or did I mess up somewhere else when compiling/configuring the kernel and it's not accessing the modules?

Can I have 2 kernels on the same / partition with different modules?

(thx)
 
Old 01-03-2004, 01:20 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Yes, you can have as many kernels (and module
directories) as you can fit on your hard-drive as
long as you make sure the versions in the respective
Makefile's differ ... my guess would be that you didn't
compile any modules (chose y rather than m) in the
configuration process ;)



Cheers,
Tink
 
Old 01-03-2004, 04:50 PM   #3
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Original Poster
Rep: Reputation: 31
Thanks for the reply.

I am going to try again, this time with 2.6.0 (might as well try it out). I guess I need to get at that Kernel-HOWTO, I thought "y" meant modules, instead of compiling in the kernel. Anyways, thanks for the help.

*peace scurries off to kernel.org
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no lib/modules/2.6.13 after kernel compile Motown Slackware 2 09-07-2005 07:59 AM
/lib/modules/.../kernel/drivers empty? maxware Linux - General 7 03-05-2004 07:58 PM
After compiling 2.6 kernel >> not enough drivers in /lib/modules?? Jefklak Linux - Software 9 10-21-2003 11:55 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
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM


All times are GMT -5. The time now is 06:44 PM.

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