From owner-freebsd-hackers Sun Apr 11 16:47:43 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 2A05015DC3 for ; Sun, 11 Apr 1999 16:20:46 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id IAA06827; Mon, 12 Apr 1999 08:48:27 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id IAA45994; Mon, 12 Apr 1999 08:48:26 +0930 (CST) Message-ID: <19990412084825.L2142@lemis.com> Date: Mon, 12 Apr 1999 08:48:25 +0930 From: Greg Lehey To: Wilko Bulte , Matthew Dillon Cc: hackers@FreeBSD.ORG Subject: Re: Annoying debug-kernel config messages References: <199904102115.OAA01764@apollo.backplane.com> <199904111148.NAA00980@yedi.iaf.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199904111148.NAA00980@yedi.iaf.nl>; from Wilko Bulte on Sun, Apr 11, 1999 at 01:48:36PM +0200 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 11 April 1999 at 13:48:36 +0200, Wilko Bulte wrote: > As Matthew Dillon wrote ... >> I am getting wholely sick of this blasted config message. If you are >> going to print the message, print it once and be done with it. Not >> every time I config! I'd get rid of the message entirely, in fact. > > It was useful to me the first time. Then it became annoying. > > Interestingly enough the 'usage' is outdated: > > p100#config -? > config: illegal option -- ? > usage: config [-gpr] sysname > > as it does not mention -s Yes, I missed this, but ache fixed it a little later. > >> Also, if you guys insist of making 'make' generate a debug kernel called >> 'kernel.debug' by default, at LEAST objcopy it to 'kernel' to generate >> the non-debug version during the main 'make' procedure rather then >> during the 'make install' procedure. Not all of us use make install to >> install new kernels. >> >> I've gone from having to cp/strip to having to objcopy. My life is not >> made easier. >> >> I don't mind generating both a debug and non-debug kernel by default. But >> it must be done in the correct fashion. > > Why both? Takes quite some extra time on slower machines. If people are > going after a bug needing a full 'symbolised' kernel let them run the > correct config invocation. With the debug option, the Makefile builds a debug kernel kernel.debug, and then uses objcopy to create a stripped version called kernel. The additional time is negligible. We've done the reasoning to death here already: the debug kernel is good for crash dumps, but it's not needed in the root file system. > I suggest putting the new config behaviour in UPDATING and remove > the message. Well, three core team members have asked me to remove the defaults, so I have done so. When I recover, I'll start a new discussion on -arch, since it seems that few core team members read -hackers. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message