From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 668801383D2 for ; Thu, 10 Jan 2013 18:56:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D05C821C03B; Thu, 10 Jan 2013 18:56:36 +0000 (UTC) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A68BAE0605 for ; Thu, 10 Jan 2013 18:54:37 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id gf7so740923lbb.30 for ; Thu, 10 Jan 2013 10:54:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=H/F8isJB2Fga2h5mJ0yrjpfA812u2UTO7gmUMbN/cQM=; b=xVNO2jnC3lWhCTMzrQNqxyqd6gC1WCg7rfotnhK3M+4jh48y3Li3GWegd9rnOTQxlB Io+8+J3FCOtls/Y0CS7jW8apmxamTmHTWYe+2wtftn/NKWhtS3/GRCSAOB0Er+PR5WE0 JNQa1iZ7JdjLX+Pf8KkWH9DhdC15mwV3XVnErERhQnZoMrns6Rb71OC3CoI3SKcMNP2x iixje8f1/e8uIHzNVowZj9A8Edlke9e4/X3opdKCKhEl+eCHGJ9L636Y5VQgrKXzTniF 9eLoBZgi8acCdfKC6/9h2wmv8BWAP7LFHIs7FTMOrHBO0xRZDgnmIvKvNLjvtX/BFuMD gD7A== X-Received: by 10.112.102.71 with SMTP id fm7mr28777291lbb.10.1357810737220; Thu, 10 Jan 2013 01:38:57 -0800 (PST) Received: from monolith ([2001:708:30:15c0:221:ccff:fe39:9159]) by mx.google.com with ESMTPS id hm5sm384558lab.6.2013.01.10.01.38.56 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 10 Jan 2013 01:38:56 -0800 (PST) Sender: "Nuno J. Silva" 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 References: <50EC0D98.6070104@xunil.at> Date: Thu, 10 Jan 2013 11:38:55 +0200 In-Reply-To: <50EC0D98.6070104@xunil.at> (Stefan G. Weichinger's message of "Tue, 08 Jan 2013 13:14:16 +0100") Message-ID: <87d2xd2x8w.fsf@ist.utl.pt> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain X-Archives-Salt: a05619b3-3bca-4414-8288-3ff4bccc5bd5 X-Archives-Hash: fe75d41cc8c8945c8b342f19e6d3cf63 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/