From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932561AbZHUUMX (ORCPT ); Fri, 21 Aug 2009 16:12:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932537AbZHUUMW (ORCPT ); Fri, 21 Aug 2009 16:12:22 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.125]:37712 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932123AbZHUUMU (ORCPT ); Fri, 21 Aug 2009 16:12:20 -0400 Date: Fri, 21 Aug 2009 16:12:18 -0400 (EDT) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Ingo Molnar cc: linux-kernel@vger.kernel.org, Andrew Morton , Thomas Gleixner , Peter Zijlstra , Linus Torvalds , Theodore Tso , Arjan van de Ven , Greg KH , "Luis R. Rodriguez" , zippel@linux-m68k.org, linux-kbuild@vger.kernel.org, Sam Ravnborg , Jonathan Corbet , Alan Jenkins , Andi Kleen Subject: Re: [PATCH 00/14] kconfig: streamline distro configs for testers In-Reply-To: <20090821195131.GE5356@elte.hu> Message-ID: References: <20090819025634.987354707@goodmis.org> <20090821143525.GH11098@elte.hu> <20090821145406.GA3659@elte.hu> <20090821162822.GA20898@elte.hu> <20090821195131.GE5356@elte.hu> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 21 Aug 2009, Ingo Molnar wrote: > > OK, I'll add that to my todo list. Note, it the local config is > > only as good as the starting .config. That is, it never touches =y > > settings, because it only uses loaded modules as a base. Thus if > > something is set to =y it will always be set to =y. > > > > What would you have in mind. Just randomly enabling modules? If we > > enable a "y" config then the next local*config will still keep > > that set. > > Why - isnt local*config picking up environmental (currently running > kernel) properties? I.e. it would always set those things that are > needed - and randomize the rest. Have i misunderstood how it works? Yes, this is a simple script. The only thing it does to find out what is configured is run "lsmod". Others have tried (in vain) to be able to look into things like lspci and lsusb to figure out what options to enable, just to end up with something so complex that it doesn't work. It truly would be great to be able to have something examine the box and be able to enable everything that it finds. But that is not what I set out to do. I only wanted to disable the hundreds of modules that a distro gives us so I can have a streamed line config that will boot my system and build in a decent time. I've been using this script since 2005 and it has worked out great. I even posted it after I first wrote it: http://lkml.org/lkml/2005/3/11/39 This seems to be a very useful tool. I don't want to prevent it from going further because we try to make it do too much. Lets get what we have now in, and then we can look at alternatives. -- Steve