LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Kernal modules on a Newly Compiled Kernal (https://www.linuxquestions.org/questions/slackware-14/kernal-modules-on-a-newly-compiled-kernal-176102/)

sethgeekx86 04-29-2004 06:04 PM

Kernal modules on a Newly Compiled Kernal
 
I just got done compileing 2.4.26. When i boot to it i do not have all the Modules i need for sound , net ,etc. How do i load them. I know what they are from a lsmod on my old kernal.

wapcaplet 04-29-2004 07:57 PM

After you compiled, did you make sure to run 'make modules' and 'make modules install'?

btw, it's 'kernel' with an 'e', not 'a' :)

nvn 04-30-2004 06:32 AM

And before you compiled, did you make sure to configure them to compile as modules and not into the kernel?

koen plessers 05-03-2004 01:51 PM

Hello,

Step by step:

1. Kernel configuration:

Change to /usr/src/linux and enter "make config", "make menuconfig" or under the X Window System "make xconfig"

2. Compiling the kernel

In /usr/src/linux enter
make dep
then...
make clean
then...
make bzImage

or of course:
make dep clean bzImage

and to compile the modules

make modules
make modules_install

3. Installing the kernel

cp arch/i386/boot/boot bzImage /boot/vmlinuz.new

Edit your /etc/lilo.conf to add a new section for the new kernel. You can still use the old kernel, in case anything goes wrong.

Do not forget to run lilo by typing... hm... lilo

Reboot your system and select the new kernel... and pray

Have a lot of fun

Koen Plessers

Linux.tar.gz 05-03-2004 11:08 PM

I suggest to NEVER delete the last working kernel.


All times are GMT -5. The time now is 10:25 PM.