Date: Sun, 2 Nov 2008 14:20:26 +0100 From: Fabian Keil <freebsd-listen@fabiankeil.de> To: freebsd-hackers@freebsd.org Subject: Re: problems obtaining kernel dump Message-ID: <20081102142026.3d0057f0@fabiankeil.de> In-Reply-To: <20081026060906.GA66894@underworld.novel.ru> References: <20081026060906.GA66894@underworld.novel.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/Je2NfIQl7E=yqhyZ+_9yuv. Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Roman Bogorodskiy <novel@FreeBSD.org> wrote: > I'm having a problem obtaining kernel dump. The box has 512Mb of RAM. >=20 > In rc.conf I have: >=20 > dumpdev=3D"/dev/ad4s1b" > dumpdir=3D"/var/crash" >=20 > swapinfo -h gives the following: >=20 > Device 1K-blocks Used Avail Capacity > /dev/ad4s1b 1048576 0B 1.0G 0% >=20 > /var/crash directory exists, and the root partition where it is placed > has enough space as well: >=20 > /dev/ad4s1a 989M 350M 560M 38% / >=20 > The box runs fresh FreeBSD/i386 -CURRENT. >=20 > So, I do swapoff and then perform actions to reproduce the crash and it=20 > breaks me into ddb prompt. >=20 > I do: >=20 > call doadump > continue >=20 > it reboots, and when I run "savecore -v /var/crash /dev/ad4s1b" it > prints: >=20 > unable to open bounds file, using 0 > checking for kernel dump on device /dev/ad4s1b > mediasize =3D 1073741824 > sectorsize =3D 512 > magic mismatch on last dump header on /dev/ad4s1b > savecore: no dumps found >=20 > The same happens when I do 'panic' instead of 'call doadump' like > handbook suggests. What am I doing wrong? I googled for similar > problems, found some mail threads but didn't find meaningful advises > though. I'm seeing a similar problem with an amd64 system on a SATA disk running CURRENT from 20080727 (can't update as I'm using Pawel's ZFS patch and upgraded most of the zpools). Calling panic leads to an instant reboot, nothing seems to be dumped. Fabian --Sig_/Je2NfIQl7E=yqhyZ+_9yuv. Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkkNqRoACgkQBYqIVf93VJ1AawCdGpZey/LXNREMu2jbxoEYH6J9 1oAAoLHRnbK7r93LzvVkDfCatm0F59ip =5nzl -----END PGP SIGNATURE----- --Sig_/Je2NfIQl7E=yqhyZ+_9yuv.--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081102142026.3d0057f0>