LinuxQuestions.org
Review your favorite Linux distribution.
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 04-29-2004, 06:04 PM   #1
sethgeekx86
Member
 
Registered: Jan 2004
Distribution: Slackware 9.1 SUSE 9.0
Posts: 131

Rep: Reputation: 15
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.
 
Old 04-29-2004, 07:57 PM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
After you compiled, did you make sure to run 'make modules' and 'make modules install'?

btw, it's 'kernel' with an 'e', not 'a'
 
Old 04-30-2004, 06:32 AM   #3
nvn
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware
Posts: 242

Rep: Reputation: 30
And before you compiled, did you make sure to configure them to compile as modules and not into the kernel?
 
Old 05-03-2004, 01:51 PM   #4
koen plessers
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Mint
Posts: 191

Rep: Reputation: 30
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
 
Old 05-03-2004, 11:08 PM   #5
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
I suggest to NEVER delete the last working kernel.
 
  


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
How can I disable modules without recompiling my Kernal? thorlin SUSE / openSUSE 1 09-23-2005 07:15 AM
Newly Compiled Linux does not seem to Boot binarybob0001 Linux - Newbie 2 12-02-2004 07:05 PM
How do you configure the kernal, overwriting the old version of the same kernal? sabaka Linux - Newbie 13 10-04-2003 10:00 AM
Help! Configuring Kernal failed, GRUB can't boot new kernal, help! sabaka Linux - Newbie 4 09-16-2003 09:12 PM
Compiling new drivers directly into the kernal as opposed to modules scgadgets Linux - General 2 09-23-2001 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration