From owner-freebsd-hackers Sat May 6 16:21:57 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from peak.mountin.net (peak.mountin.net [207.227.119.2]) by hub.freebsd.org (Postfix) with ESMTP id 9B2D237B73E; Sat, 6 May 2000 16:21:48 -0700 (PDT) (envelope-from jeff-ml@mountin.net) Received: (from daemon@localhost) by peak.mountin.net (8.9.1/8.9.1) id SAA18803; Sat, 6 May 2000 18:21:35 -0500 (CDT) (envelope-from jeff-ml@mountin.net) Received: from dial-85.max1.wa.cyberlynk.net(207.227.118.85) by peak.mountin.net via smap (V1.3) id sma018801; Sat May 6 18:21:24 2000 Message-Id: <4.3.2.20000506175851.00ae9b50@207.227.119.2> X-Sender: jeff-ml@207.227.119.2 X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Sat, 06 May 2000 18:15:15 -0500 To: Greg Lehey From: "Jeffrey J. Mountin" Subject: Re: Debugging Kernel/System Crashes, can anyone help?? Cc: freebsd-stable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG In-Reply-To: <20000506073852.E37507@freebie.lemis.com> References: <4.3.2.20000503221040.02051d40@207.227.119.2> <20000503185936.E72341@ethereal.net> <20000504095941.B18453@freebie.lemis.com> <200005040124.VAA55655@account.abs.net> <20000504111136.B22025@freebie.lemis.com> <20000503185936.E72341@ethereal.net> <20000504114013.E22025@freebie.lemis.com> <4.3.2.20000503221040.02051d40@207.227.119.2> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 07:38 AM 5/6/00 +0930, Greg Lehey wrote: >On Thursday, 4 May 2000 at 17:00:35 -0500, Jeffrey J. Mountin wrote: > > At 11:40 AM 5/4/00 +0930, Greg Lehey wrote: > >> There's a separate issue about whether to build kernels with debug > >> symbols by default. That takes a lot more space (30 MB as compared to > >> about 8). But if you have a debug kernel, I don't see any reason to > >> install a stripped version. > > > > Running the non-stripped kernel uses more memory > >No, this isn't correct, not with ELF. > > > and isn't there also a performance issue. > >No. Thanks for clarifying that, but were either memory or performance an issue back in the AOUT days? I seem to recall something to that point, but might be wrong. > > Also what is gained by running it, > >Disk space. Then it's an issue of disk layout. I use a 100 MB root, which should be good for number of years to come and /var is not a part of the root partition. IMO space is (or should be) a non-issue or at least should be for most. YMMV and don't care to beat that horse some once more. > > as long as you have the complimentary debug kernel in /var/crash (or > > wherever) for the stripped boot kernel. > >It's the one that savecore saves, and there's more opportunity for >using the wrong debug kernel for dump analysis. True, but then one would hope someone doing analysis would know better. Maybe there should be an "make install debug" that would either install the debug version instead of the stripped version *or* install it in /var/crash. If there are no memory or performance issues with the debug kernel, then I wouldn't mind it being installed as the default. Then those that wish to strip it may do so. As always the point is who gains changing the current method. Jeff Mountin - jeff@mountin.net Systems/Network Administrator FreeBSD - the power to serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message