From owner-freebsd-questions Thu Mar 9 10:32:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 42A5737B77B for ; Thu, 9 Mar 2000 10:32:35 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12T6BD-0006CR-00; Thu, 09 Mar 2000 16:52:55 +0000 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12T6BD-000Fz5-00; Thu, 09 Mar 2000 16:52:55 +0000 Date: Thu, 9 Mar 2000 16:52:55 +0000 From: Ben Smithurst To: fernando@cursosvirtuales.com.ar Cc: freebsd-questions@freebsd.org Subject: Re: Debugging kernel Message-ID: <20000309165255.P62624@strontium.scientia.demon.co.uk> References: <200003091315.KAA11767@servidor1.cursosvirtuales.com.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200003091315.KAA11767@servidor1.cursosvirtuales.com.ar> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Fernando P. Schapachnik wrote: please wrap lines at <80 columns. > The problem is my / partition isn't big enough to hold the 11 Mb > debug kernel. The FAQ states that config -g should produce two > kernels (one with debbuging symbols and another without). But > this doesn't happen. Can I compile one without symbols and debug > using the other. config -g FOO cd ../../compile/FOO make depend make cp kernel kernel.debug strip -g kernel make install Doesn't the FAQ say this? Anyway, then you can "make install" to get the stripped kernel installed. If it panics again, then, cd /var/crash gdb -k at gdb prompt, (n is the suffix of the newest dump) exec-file kernel.n core-file vmcore.n symbol-file /sys/compile/FOO/kernel.debug I think that's it, someone will hopefully set me straight if not. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message