Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


Search this Thread
Old 01-03-2004, 10:57 AM   #1
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?

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

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
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 ;)

Old 01-03-2004, 04:50 PM   #3
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


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 01:21 AM.

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