Date: Wed, 19 May 2004 17:20:04 +0300 From: Peter Pentchev <roam@ringlet.net> To: Nick Strebkov <nick@humgat.org> Cc: hackers@freebsd.org Subject: Re: obtaining a kernel crash dump Message-ID: <20040519142004.GA5125@straylight.m.ringlet.net> In-Reply-To: <20040519133442.GA90053@nord.interexc.com> References: <20040519133442.GA90053@nord.interexc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 19, 2004 at 04:34:42PM +0300, Nick Strebkov wrote: > Hi there. >=20 > I can't obtain a crash dump. >=20 > % cat /sys/i386/conf/DEVEL | grep makeoptions > makeoptions DEBUG=3D-g > % cat /etc/rc.conf| grep dump > dumpdev=3D"/dev/ar0s1b" > dumpdir=3D"/var/crash" >=20 > I'm testing my kernel patch and the following is what I see in > /var/log/messages: Can you force the kernel to dump by using DDB? Place 'options DDB' in your kernel config, then, when the system is quiescent, hit Ctrl-Alt-Esc and type 'panic' at the DDB prompt. If this works, and you get a crash dump, then the problem might be that with your kernel patch, the kernel is panicking in a low-level layer, like memory management or disk drivers or something like that, and it simply cannot make a crash dump, since that would mean invoking code that depends on bad data or something. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 Hey, out there - is it *you* reading me, or is it someone else? --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAq20U7Ri2jRYZRVMRAujtAJ418FPmaizEdEeS3MnhXSXvEnVkVgCfUPqW c+cyqGcK0/PYg8L+b4I/sGU= =boaY -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040519142004.GA5125>