Date: Wed, 01 Aug 2001 13:23:05 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: "Eugene L. Vorokov" <vel@bugz.infotecs.ru> Cc: freebsd-hackers@FreeBSD.org Subject: Re: crash dump output Message-ID: <XFMail.010801132305.jhb@FreeBSD.org> In-Reply-To: <200108010656.f716ucZ02371@bugz.infotecs.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01-Aug-01 Eugene L. Vorokov wrote: >> Can you compile a debug kernel please and repeat this? That way you will >> have >> debug symbols so that you can get more useful information out of gdb. >> You'll >> have to get a new crashdump with the debug kernel running however. > > Maybe it's offtopic a bit, but can you please give exact instructions of how > to compile debug kernel ? My machine crashes sometimes too, I tried to > compile > debug kernel, but it seemed not so easy and I gave up due to lack of time. Or > is there any URL with a good explanation ? Check the kernel debugging chapter of the handbook. Passing the '-g' flag to config should do the trick for 4.x IIRC. That is instead of doing 'config FOO' you do 'config -g FOO' while building your kernel. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010801132305.jhb>