From owner-freebsd-questions Mon Oct 11 21:55:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from poseidon.hamsterville.ultranet.com (poseidon.hamsterville.ultranet.com [146.115.71.116]) by hub.freebsd.org (Postfix) with ESMTP id A6B5814D19 for ; Mon, 11 Oct 1999 21:55:17 -0700 (PDT) (envelope-from ben@hamsterville.ultranet.com) Received: from ENERGIZER (energizer.hamsterville.ultranet.com [146.115.71.106]) by poseidon.hamsterville.ultranet.com (8.9.3/8.9.0/1.0-bcg) with SMTP id AAA02894; Tue, 12 Oct 1999 00:56:37 -0400 (EDT) Message-ID: <01e701bf146e$3a90cef0$6a477392@dsg.hamsterville.ultranet.com> From: "Ben Goodwin" To: "Greg Lehey" , "Charlie Root" Cc: References: <199910111956.OAA00510@numfour.angelo.edu> <19991012131733.R78191@freebie.lemis.com> Subject: Re: Debug kernels (was: kernel config) Date: Tue, 12 Oct 1999 00:57:04 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.5600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.5600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [snip] > I recommend to keep the debug symbols because in the unlikely event of > a panic, you'll need this information to analyse the problem. Debug > kernels are no slower than normal kernels; they just contain more > information about the sources. [snip] Hrm? From http://www.freebsd.org/handbook/kerneldebug.html When the kernel has been built make a copy of it, say kernel.debug, and then run strip -g on the original. Install the original as normal. You may also install the unstripped kernel, but symbol table lookup time for some programs will drastically increase, and since the whole kernel is loaded entirely at boot time and cannot be swapped out later, several megabytes of physical memory will be wasted. Who's right? :-) -=| Ben To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message