Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-29-2004, 07:04 PM
|
#1
|
Member
Registered: Jan 2004
Distribution: Slackware 9.1 SUSE 9.0
Posts: 131
Rep:
|
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.
|
|
|
04-29-2004, 08:57 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018
Rep:
|
After you compiled, did you make sure to run 'make modules' and 'make modules install'?
btw, it's 'kernel' with an 'e', not 'a'
|
|
|
04-30-2004, 07:32 AM
|
#3
|
Member
Registered: Apr 2003
Location: Sweden
Distribution: Slackware
Posts: 242
Rep:
|
And before you compiled, did you make sure to configure them to compile as modules and not into the kernel?
|
|
|
05-03-2004, 02:51 PM
|
#4
|
Member
Registered: Aug 2003
Location: Belgium
Distribution: Mint
Posts: 191
Rep:
|
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
|
|
|
05-04-2004, 12:08 AM
|
#5
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534
Rep:
|
I suggest to NEVER delete the last working kernel.
|
|
|
All times are GMT -5. The time now is 08:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|