Subject: port-amd64/24397: savecore(8) fail to save/clean crash dump from swap
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <njoly@pasteur.fr>
List: netbsd-bugs
Date: 02/12/2004 10:05:39
>Number:         24397
>Category:       port-amd64
>Synopsis:       savecore(8) fail to save/clean crash dump from swap
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 12 09:06:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas Joly
>Release:        NetBSD 1.6ZJ (-current 20040210)
>Organization:
	Insitut Pasteur
>Environment:
System: NetBSD calimero.sis.pasteur.fr 1.6ZJ NetBSD 1.6ZJ (GENERIC.MP) #7: Tue Feb 10 10:23:03 CET 2004 njoly@calimero.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/GENERIC.MP amd64
Architecture: x86_64
Machine: amd64
>Description:
I just got a kernel panic on our amd64 box, while trying to stop a scsi disk
(LSI Logic 53c1030 Ultra320 SCSI controller).

With the next reboot no crash dump was saved. Then i tried to get it by hand
with savecore(8), but it failed with kvm related error.

[...]
panic: mpt_get_request: corrupted request free list (xfer)

syncing disks... panic: lockmgr: locking against myself

dumping to dev 4,1 offset 133455
dump 4031 4030 4029 4028 [...] 6 5 4 3 2 1 succeeded

rebooting...
[...]

root@calimero [~]# savecore -v /var/crash
dumplo = 68328960 (133455 * 512)
savecore: kvm_read: invalid translation (invalid level 3 PDE)
root@calimero [~]# savecore -c
savecore: /dev/sd0b: kvm_clear_dump: invalid translation (invalid level 3 PDE)

>How-To-Repeat:
run savecore after a kernel crash and dump.
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: