Still learning! (kernel help)

From: dhull <dhull@digitaloverload.net>
Date: Sat Dec 31 2005 - 12:55:32 AKST

Learned something new at the meetig last night. I was trying to compile a kernel.

Here's how I do it.
1. make oldconfig
2. make xconfig ( select modules etc... )
3. make
4. make modules
5. make install
6. make modules_install

I've never had a problem in Fedora or CentOS. However, this new guy ( sorry, can't remember his name) tells me that "make oldconfig" just brings in a preset .config. I allways thought there was some magic going on here. That "make oldconfig" would grab some info from the running kernel.

There is no magic!

If there is no magic how do I know what modules etc... to place in the kernel?

This new guy suggested looking at "lsmod" and making sure all the modules listed are in the kernel. If anyone has any other suggestions send them my way.

There is also "mkinitrd" to think about. Do I need to run this after compiling a kernel? I don't but maybe I should.

If all else fails I could make everything a module.
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sat Dec 31 12:56:06 2005

This archive was generated by hypermail 2.1.8 : Sat Dec 31 2005 - 12:56:07 AKST