From owner-freebsd-questions Tue Apr 6 16:17: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 399CA14BC9; Tue, 6 Apr 1999 16:16:58 -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 IAA10943; Wed, 7 Apr 1999 08:44:59 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id IAA12717; Wed, 7 Apr 1999 08:44:54 +0930 (CST) Message-ID: <19990407084453.L2142@lemis.com> Date: Wed, 7 Apr 1999 08:44:53 +0930 From: Greg Lehey To: Archie Cobbs Cc: ChrisMic@clientlogic.com, gjb@comkey.com.au, questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: Debug kernel by default (was: System size with -g) References: <19990407082416.H2142@lemis.com> <199904062311.QAA96785@bubba.whistle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199904062311.QAA96785@bubba.whistle.com>; from Archie Cobbs on Tue, Apr 06, 1999 at 04:11:24PM -0700 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-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, 6 April 1999 at 16:11:24 -0700, Archie Cobbs wrote: > Greg Lehey writes: >> A number of other people have observed that the current boot loader >> doesn't load the symbols anyway, so you could install /kernel.debug >> only and still run normally. I consider this a deficiency in the boot >> loader, since it should be possible to load the symbols. Of course, > > What advantage would that give? Ie, how would you use all the > debugging gunk better if it was loaded into memory instead of on > the disk? DDB doesn't understand it does it? I believe ddb *does* understand it. That would be the only advantage. I don't use ddb, since it's too restrictive (no access to sources), so it wouldn't make any difference for me. > In any case, I like the idea of having ONE kernel and having the > loader not load the debugging gunk into memory. Yes, I think that's the superior solution as well. It would mean that you would have to make root file systems 20 MB larger by default. There are other options here. Since it's a separate issue, I'll send out a separate message: how about having a boot partition with just the kernels and enough information to locate the root file system? 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-questions" in the body of the message