Re: Still learning! (kernel help)

From: Damien Hull <dhull@digitaloverload.net>
Date: Mon Jan 02 2006 - 11:41:54 AKST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It sounds like I should skip "make oldconfig" and just copy the kernel
config from /boot.

I'm going to look at distcc before I do any kernel building. If I can
get it to work I should be able to compile a kernel before I get to old.

Greg Madden wrote:
> On Saturday 31 December 2005 12:55, dhull wrote:
>
>>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)
>
>
> Shane :-)
>
>
>>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.
>
>
> I wouldn't call it 'preset', afaik, if you move your existing .config file
> into the new source tree it uses those settings, asks questions for new
> any options/features.
>
>
>>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.
>
>
> You don't need an intitrd image for your kernel, this is what mkiitrd
> does, as long as you compile all modules needed to boot the box, into the
> kernel, file system, ide or scsi drivers ...etc.
>

- --
You can get my public PGP key at https://keyserver.pgp.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDuZAS+rNhalK/8UURAnCPAKCckIRnUGucwdPUxu2bQryadMpjlACghyZM
crUp3Oq6A0eXg6zhtqmn9ns=
=JefE
-----END PGP SIGNATURE-----
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon Jan 2 11:42:22 2006

This archive was generated by hypermail 2.1.8 : Mon Jan 02 2006 - 11:42:22 AKST