-   Linux - Newbie (
-   -   Kernel Rebuild (

Nikosis 04-29-2006 04:36 PM

Kernel Rebuild
I want to rebuild my kernel & I would like to know, how can I check which active modules are currently in use ?.

gilead 04-29-2006 04:45 PM

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.

Nikosis 04-29-2006 10:50 PM

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/ /boot/
cp /boot/
make modules_install
/sbin/lilo (after added a section to boot my old kernel )
and now I can not start with my old kernel

Linux~Powered 04-30-2006 02:46 AM

Here. I wrote a little guide on compiling a kernel in Slackware. Hope it helps.

Nikosis 05-01-2006 01:40 AM

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'

alsamixer: function snd_ctl_open failed for default: No such device
I tried 'alsaconf'


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.


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