LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-29-2006, 03:36 PM   #1
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
Kernel Rebuild


I want to rebuild my kernel & I would like to know, how can I check which active modules are currently in use ?.
 
Old 04-29-2006, 03:45 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You can use lsmod to see which modules are currently loaded. You can also use ls -lR /lib/modules/`uname -r` to see which modules were built and installed for your currently running kernel.

You should also have a good idea what hardware is in your PC as a module that is not currently shown by lsmod may only be needed some of the time. Tools like lspci and lsusb are useful for this.
 
Old 04-29-2006, 09:50 PM   #3
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 59
ok
what I did wromg
[HTML]cd /usr/src/linux
make menuconfig
make dep
make clean
make bzImage
make modules
mv /boot/vmlinuz /boot/vmlinuz/old
cat arch/i386/boot/bzImage > /boot/vmlinuz
mv /boot/System.map /boot/System.map.old
cp System.map /boot/System.map
make modules_install
/sbin/lilo (after added a section to boot my old kernel )
[/HTML]
and now I can not start with my old kernel
Thx

Last edited by Nikosis; 04-29-2006 at 09:51 PM.
 
Old 04-30-2006, 01:46 AM   #4
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Here. I wrote a little guide on compiling a kernel in Slackware. Hope it helps. http://www.linuxbox420.com/guides/kernelguide.html
 
Old 05-01-2006, 12:40 AM   #5
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 59
ok
thanks it works but, I've got problem with sound now, maybe I missed sommething. I have sb Live, so I left just sb drivers (emu10k1) throwing everything else out
that's what I've got after 'alsamixer'
Code:
alsamixer: function snd_ctl_open failed for default: No such device
I tried 'alsaconf'

Code:
No supported PnP or PCI card found.
Would you like to probe legacy ISA sound cards/chips?

Probing legacy ISA cards might make
 your system unstable.
Thx

Last edited by Nikosis; 05-01-2006 at 01:03 AM.
 
  


Reply



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 to rebuild kernel bhanu12 Linux - Newbie 2 10-26-2005 04:42 PM
How do you rebuild a kernel? Thaidog Linux - General 4 07-26-2005 12:15 PM
Help (!?) with rebuild kernel 2.4.26 WoofDeF Debian 1 06-22-2005 09:11 AM
kernel rebuild Present Yoper 9 11-26-2004 06:08 PM
Rebuild kernel And then !!! left-hand Linux - Software 4 02-06-2004 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:02 AM.

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