Date: Mon, 29 Sep 1997 08:48:53 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: current@FreeBSD.ORG Subject: Re: Come on guys... Message-ID: <19970929084853.BL18523@uriah.heep.sax.de> In-Reply-To: <18132.875437285@critter.freebsd.dk>; from Poul-Henning Kamp on Sep 28, 1997 11:01:25 %2B0200 References: <18132.875437285@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
As Poul-Henning Kamp wrote: > 4. Recompile, from scratch, your kernel with DDB in it. (For extra > points: use "config -g" and do not strip your kernel before booting) Warning: do not do this unless you've got at least 16 MB (preferrably 32 MB) of RAM. Doing this on an 8 MB machine won't get you very far at all, probably not even into the main() of the kernel. In these cases, you can however install a strip -d'ed kernel, but keep the -g kernel around to analyze a kernel core dump with gdb -k. See also: the section about kernel debugging in the handbook (file:/usr/share/doc/handbook/kerneldebug.html or http://www.freebsd.org/handbook/kerneldebug.html -- hope i've got this right.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970929084853.BL18523>