From owner-freebsd-hackers Wed May 3 19: 9:48 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id CC97437BF49; Wed, 3 May 2000 19:09:37 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA22563; Thu, 4 May 2000 11:40:13 +0930 (CST) Date: Thu, 4 May 2000 11:40:13 +0930 From: Greg Lehey To: Jan Koum Cc: freebsd-stable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Debugging Kernel/System Crashes, can anyone help?? Message-ID: <20000504114013.E22025@freebie.lemis.com> References: <20000504095941.B18453@freebie.lemis.com> <200005040124.VAA55655@account.abs.net> <20000504111136.B22025@freebie.lemis.com> <20000503185936.E72341@ethereal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <20000503185936.E72341@ethereal.net> Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 3 May 2000 at 18:59:36 -0700, Jan Koum wrote: > On Thu, May 04, 2000 at 11:11:36AM +0930, Greg Lehey wrote: >> >> Ah, then you're in better shape. I assume you installed the stripped >> version of the kernel (it's default, despite my protests) > > what are some pro's and con's in this case? I assume you had intended to copy the others, so I've put them back. Pro having only one (debug) kernel: 1. If space is tight, you can save overall space. You need to keep the kernel.debug somewhere. If you make it the boot kernel, you use a total of 10 MB. Otherwise, even if you make clean, you end up having a 10 MB kernel.debug somewhere and a 2.5 MB kernel in the root file system. 2. savecore always saves the correct kernel. If you have to move it manually from wherever you keep it, there's a big chance for making mistakes. I've done it often enough. Con: 1. If you're short of space on the root file system, the additional 7.5 MB can hurt. You can plan against this, of course, by installing larger root file systems. 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. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message