Date: Sun, 12 Jul 2009 12:31:02 +0100 From: Lawrence Stewart <lstewart@freebsd.org> To: Stefan Bethke <stb@lassitu.de> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Automatic crashdumps, etc. Message-ID: <4A59C976.1010307@freebsd.org> In-Reply-To: <231E941D-4656-4D88-BAA9-29361A3C2B51@lassitu.de> References: <128E7C52-CCBD-4BAF-A4AE-1D914A3968CB@lassitu.de> <4A58DD8D.3090308@freebsd.org> <6D58BB3C-85F4-44A6-A43B-F6E18F056FA4@lassitu.de> <4A598DDF.4010306@freebsd.org> <231E941D-4656-4D88-BAA9-29361A3C2B51@lassitu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Bethke wrote: > Am 12.07.2009 um 09:16 schrieb Lawrence Stewart: > >> You can set debug.debugger_on_panic=0 in /etc/sysctl.conf which will >> make the system automatically dump core and reset instead of sitting >> at the ddb prompt. > > I was under the impression that adding ddb_enable="YES" to rc.conf would > run a DDB script that records some information, creates a dump, and then > resets. However, whenever I've had a panic, I was presented with just > the ddb prompt. Is something else needed? Not sure about the rc.conf option. Doing what I said will get you a core.txt.X, info.X and vmcore.X file in /var/crash automatically if the system panics, so you shouldn't need any more than that right? Cheers, Lawrence
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A59C976.1010307>