From owner-freebsd-hackers@FreeBSD.ORG Wed May 19 07:20:27 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A83216A4D4 for ; Wed, 19 May 2004 07:20:27 -0700 (PDT) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 6CDA443D1D for ; Wed, 19 May 2004 07:20:11 -0700 (PDT) (envelope-from roam@ringlet.net) Received: (qmail 3961 invoked from network); 19 May 2004 14:11:31 -0000 Received: from office.sbnd.net (HELO straylight.m.ringlet.net) (217.75.140.130) by gandalf.online.bg with SMTP; 19 May 2004 14:11:31 -0000 Received: (qmail 35292 invoked by uid 1000); 19 May 2004 14:20:04 -0000 Date: Wed, 19 May 2004 17:20:04 +0300 From: Peter Pentchev To: Nick Strebkov Message-ID: <20040519142004.GA5125@straylight.m.ringlet.net> Mail-Followup-To: Nick Strebkov , hackers@freebsd.org References: <20040519133442.GA90053@nord.interexc.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: <20040519133442.GA90053@nord.interexc.com> User-Agent: Mutt/1.5.6i cc: hackers@freebsd.org Subject: Re: obtaining a kernel crash dump X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 14:20:27 -0000 --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--