public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: nunojsilva@ist.utl.pt (Nuno J. Silva)
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Testing new kernels - saving dumps / strip down kernel options
Date: Thu, 10 Jan 2013 11:38:55 +0200	[thread overview]
Message-ID: <87d2xd2x8w.fsf@ist.utl.pt> (raw)
In-Reply-To: <50EC0D98.6070104@xunil.at> (Stefan G. Weichinger's message of "Tue, 08 Jan 2013 13:14:16 +0100")

On 2013-01-08, Stefan G. Weichinger wrote:

[...]
> * I remember a thread here where this was discussed already:
>
> How do you guys get to your .config for a recent kernel? "make
> oldconfig" doesn't always work out best, I recall?
>
> My kernel config is maintained along for years now and has survived
> several hardware changes. I don't have any obvious problems but I wonder
> if I have something in there that is deprecated and might be better
> thrown out.

I don't use anything other than stable code releases from portage, but
even then I usually do make oldconfig, followed by a by-hand inspection
of the options with make menuconfig, to catch stuff that got through me
in make oldconfig, and to see if there's any change in other options
that I want to tune.

> Does it make sense to take the .config from the gentoo install dvd for
> example and remove all the stuff I don't have? Maybe still too much
> enabled options in the end.

Even then, if you do that and tune the config several times, you'll
likely end up with a lighter kernel. Just drop anything you don't need
from the device drivers.

> "make allnoconfig" as a start?

That is probably much better than the config from the install dvd, yes,
in fact most of the work coming from an "Add-It-All" config is that you
have to disable many, many entries.

> allmodconfig ?

I'd go with allnoconfig, although if you compile lots of stuff as
modules, you can then check lsmod to see what does, in fact, get loaded.

> I'd be happy to hear your opinions.

-- 
Nuno Silva (aka njsg)
http://njsg.sdf-eu.org/


  reply	other threads:[~2013-01-10 18:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-08 12:14 [gentoo-user] Testing new kernels - saving dumps / strip down kernel options Stefan G. Weichinger
2013-01-10  9:38 ` Nuno J. Silva [this message]
2013-01-11  6:56   ` [gentoo-user] " Stefan G. Weichinger
2013-01-11  6:28 ` [gentoo-user] " Stroller
2013-01-11  6:59   ` Stefan G. Weichinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2xd2x8w.fsf@ist.utl.pt \
    --to=nunojsilva@ist.utl.pt \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox