Skip to contentSkip to conversation

Kernel Recommended Defaults

DISCUSSION Peter Moscatt 3 participants 3 messages Sep 25, 2001

lore
Share & tools
lore
#0 lore raw

I am about to compile and install my first kernel and want to make sure I have things pretty well set before I create the image.

Is there guides available where they show recommended defaults - especially in the Network arena ?

Pete

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com

#1 lore raw

Before configuring the kernel (IE doing make xconfig or make menuconfig, or just editing .config) do a make oldconfig. That will load the defaults in all parts, otherwise I'd suggest reading the help that's included with the given options in the configuration program (IE hit ? in make menuconfig or click on the *fuzzy memory* help button in make xconfig).

Hope that helps
--Ian

----- Original Message -----
From: "Peter Moscatt" <[email protected]>
To: "Linux Kernel Mailing List" <[email protected]>
Sent: Tuesday, September 25, 2001 3:57 PM
Subject: Kernel Recommended Defaults

Quoted 7 lines

I am about to compile and install my first kernel and want to make sure I have things pretty well set before I create the image.

Is there guides available where they show recommended defaults - especially in the Network arena ?

Quoted 6 lines

Pete

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo!

Messenger. http://im.yahoo.com

Quoted 6 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
In reply to Peter Moscatt
Quoted 6 lines · Peter Moscatt

I am about to compile and install my first kernel and want to make sure I have things pretty well set before I create the image.

Is there guides available where they show recommended defaults - especially in the Network arena ?

1. although the initrd is a nice hack, I generally avoid all that and compile all the requirements of the root file system into the kernel -

2. everything else, I generally compile as modular. this is extremely helpful in troubleshooting, e.g. you can load/unload drivers without a reboot.

3. It doesn't hurt to have modules compiled for cards you don't need, since they will not be loaded. However, you want to avoid the opposite scenario - not having the driver you need.

4. the defaults are usually sane, but look at each and every one the first time you do a kernel config.

5. DO NOT simply blow away your old kernel - you will be sorry if you do. leave the old kernel intact as a fallback, and make the necessary edits to lilo, grub or whatever boot manager you are using.

Regards,

jjs