Subject: kern/34741: System panics during shutdown
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@zhadum.org.uk>
List: netbsd-bugs
Date: 10/07/2006 12:25:00
>Number:         34741
>Category:       kern
>Synopsis:       System panics during shutdown
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 07 12:25:00 +0000 2006
>Originator:     tron@zhadum.org.uk (Matthias Scheler)
>Release:        NetBSD 4.99.3 2006-10-04 or 2006-10-07 sources
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD sheridan.zhadum.org.uk 4.99.3 NetBSD 4.99.3 (SHERIDAN) #0: Sat Oct 7 05:32:48 BST 2006 tron@colwyn.zhadum.org.uk:/export/scratch/tron/obj/sys/arch/sparc64/compile/SHERIDAN sparc64
Architecture: sparc64
Machine: sparc64
>Description:
After I upgraded my ULTRA60 from a few weeks old 4.99.2 to 4.99.3 its
kernel started crashing if I try to powerdown or reboot the machine
via the "shutdown" command. Here is the backtrace provided by
the kernel debugger:

syncing disks... cpu0: data fault: pc=1232014 addr=1b000000
kernel trap 30: data access exception
Stopped in pid 813.1 (reboot) at        netbsd:buf_syncwait+0x74:       ld              [%l0 + 0x14], %g1
db> bt
vfs_shutdown(13ef320, c8007e0, 8, 0, 0, 0) at netbsd:vfs_shutdown+0x54
cpu_reboot(0, 0, 0, 0, 0, 0) at netbsd:cpu_reboot+0x170
sys_reboot(db29c80, db29dc0, db29e00, 1, 2025a0, 1810a40) at netbsd:sys_reboot+0x48
syscall_plain(db29ed0, db29f50, 4073a164, 4073a168, 0, db29dc0) at netbsd:syscall_plain+0x120
?(0, 0, 101878, 5, 0, 0) at 0x1008c90

I tried to get a dump with "reboot 0x100" but it didn't work.

>How-To-Repeat:
shutdown -r now Hurtz

>Fix:
Not known.