Date: Thu, 9 Mar 2000 06:14:20 -0500 (EST) From: Zhihui Zhang <zzhang@cs.binghamton.edu> To: fernando@cursosvirtuales.com.ar Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Debugging kernel Message-ID: <Pine.GSO.3.96.1000309061021.22367B-100000@sol.cs.binghamton.edu> In-Reply-To: <200003091315.KAA11767@servidor1.cursosvirtuales.com.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 9 Mar 2000, Fernando P. Schapachnik wrote: > 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. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.1000309061021.22367B-100000>