From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752691AbYEESZd (ORCPT ); Mon, 5 May 2008 14:25:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759408AbYEESXz (ORCPT ); Mon, 5 May 2008 14:23:55 -0400 Received: from pasmtpb.tele.dk ([80.160.77.98]:35136 "EHLO pasmtpB.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759285AbYEESXx (ORCPT ); Mon, 5 May 2008 14:23:53 -0400 Date: Mon, 5 May 2008 20:24:28 +0200 From: Sam Ravnborg To: Ingo Molnar Cc: Parag Warudkar , LKML , Linus Torvalds , "akpm@osdl.org" , Peter Zijlstra , Arjan van de Ven , Dave Jones Subject: Re: [PATCH] default to n for GROUP_SCHED and FAIR_GROUP_SCHED Message-ID: <20080505182427.GA2025@uranus.ravnborg.org> References: <82e4877d0805031742o464dd581wd93173d79705ce0d@mail.gmail.com> <20080504092417.GA3425@elte.hu> <82e4877d0805050814j721ae522k84384df48c9f4336@mail.gmail.com> <20080505171501.GA22332@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080505171501.GA22332@elte.hu> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 05, 2008 at 07:15:01PM +0200, Ingo Molnar wrote: > > * Parag Warudkar wrote: > > > sched-devel does not boot on my machine - stops right after PCI: Not > > using mmconfig. > > > > Here is my config for sched-devel - I did a echo "n" | make oldconfig > > after copying over the previous config file BTW. Should I try > > disabling things in config? What's most likely to break boot? (Seems > > likes there are a lot of significant changes in there.) > > every config is supposed to work, but in general you should pick the > defaults instead of saying 'n' to all questions. As long as every > question can be answered with an 'enter', this should work: > > make oldconfig < /dev/null > > this non-interactive 'make oldconfig' will hang with the kconfig tool > looping infinitely if there's any numeric question that cannot be > answered via 'enter'. > > This is a many years old kconfig bug that is frequently hacked around in > distro kernel packages but which has been ignored upstream - i've > attached Fedora's nonint_oldconfig patch from Dave Jones below. (maybe > Arjan wrote it originally?) In latest kbuild.git I've added a new feature. make K=.config alldefconfig would give you eaxtly what you request here. K= is used to say where to locate the base-configuration. The above will give you a configuration based on your old configuration with all new options set to default values. That could maybe be more intuitive but when you consider it you could have your base config in many different places. Like /boot/config-xxx, /proc/config.gz etc. So allowing the user to specify the base config with K= seems like an acceptable solution. Current version in kbuild.git is broken with respect to make O=... builds but that will be fixed in an hour or so. redhat has the added possibility to list new symbols. This is not yet included in mainline. Not that it is difficult - I just need to decide where/how to do it. Sam