LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   /lib/modules Issues w/ New Kernel (https://www.linuxquestions.org/questions/linux-general-1/lib-modules-issues-w-new-kernel-131149/)

peace 01-03-2004 10:57 AM

/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) :newbie:

Tinkster 01-03-2004 01:20 PM

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

peace 01-03-2004 04:50 PM

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


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