From owner-freebsd-questions Thu Mar 9 8:59:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from servidor1.cursosvirtuales.com.ar (www.cursosvirtuales.com.ar [200.10.104.198]) by hub.freebsd.org (Postfix) with ESMTP id 2771537B7C1 for ; Thu, 9 Mar 2000 08:59:36 -0800 (PST) (envelope-from fpscha@servidor1.cursosvirtuales.com.ar) Received: (from fpscha@localhost) by servidor1.cursosvirtuales.com.ar (8.9.3/8.9.3) id OAA12185; Thu, 9 Mar 2000 14:16:06 -0300 (ART) From: "Fernando P. Schapachnik" Message-Id: <200003091716.OAA12185@servidor1.cursosvirtuales.com.ar> Subject: Re: Debugging kernel In-Reply-To: from Zhihui Zhang at "Mar 9, 2000 6:14:20 am" To: zzhang@cs.binghamton.edu (Zhihui Zhang) Date: Thu, 9 Mar 2000 14:16:05 -0300 (ART) Cc: fernando@cursosvirtuales.com.ar, freebsd-questions@FreeBSD.ORG X-From: Fernando Schapachnik Reply-To: fernando@cursosvirtuales.com.ar X-OS: FreeBSD 2.2.8 - http://www.freebsd.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Hello: > > A machine of mine is panicing very frequently. I wan't to get a > > kernel dump in order to debug the problem/submit a PR. > > > > 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. > > > > I made the / larger than default to put the debug kernel. You can compile > a debug kernel on the debugging machine and then ftp the kernel to the > target machine. If the / on the target machine is not large enough, you > can let the debug kernel overwrite the existing kernel with command > install. Then you can use remote debugging. The debug kernel is 11 Mb, a normal one is 2 Mb. My complete / only has 4 Mb spare, which makes 6 if I replace the normal one. Regards! Fernando P. Schapachnik -- Cursos Virtuales a través de Internet -- fernando@cursosvirtuales.com.ar -- http://www.cursosvirtuales.com.ar -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message