Subject: port-shark/16423: savecore does not work on shark
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 04/20/2002 10:04:53
>Number:         16423
>Category:       port-shark
>Synopsis:       savecore does not work on shark
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-shark-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 20 01:05:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        NetBSD 1.5ZC
>Organization:
>Environment:
System: NetBSD drowsy.duskware.de 1.5ZC NetBSD 1.5ZC (DROWSY) #0: Fri Apr 19 08:42:35 CEST 2002 martin@insomnia.duskware.de:/usr/src/sys/arch/shark/compile/DROWSY shark
Architecture: arm
Machine: shark
>Description:

Due to the way the bootable kernel is wrapped in aout format, savecore
doesn't work (probably all kvm grovelers will fail).

>How-To-Repeat:

drowsy# savecore /var/crash
savecore: /netbsd: _dumpdev not in namelist
drowsy# nm /netbsd
nm: /netbsd: no symbols

>Fix:
Always copy the elf kernel to / too and make that the default for kvm 
grovelers? Enhance the a.out wrapping?
>Release-Note:
>Audit-Trail:
>Unformatted: