NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-sparc64/38681: sparc64 machine won't reboot



>Number:         38681
>Category:       port-sparc64
>Synopsis:       Rebooting a sparc64 machine stalls
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 17 17:50:00 +0000 2008
>Originator:     Pierre Pronchery
>Release:        NetBSD 4.99.63
>Organization:
>Environment:
NetBSD 4.99.63 (GENERIC) #0: Sat May 17 17:38:39 CEST 2008
Architecture: sparc64
Machine: sparc64
>Description:
When trying to reboot, a serial console output gives:

--- BEGIN PASTE ---
# shutdown -r now
Shutdown NOW!
shutdown: [pid 429]
System going down IMMEDIATELY


System shutdown time has arrived

About to run shutdown hooks...
Stopping cron.
Waiting for PIDS: 374.
Saving mixer settings: mixer0.
Removing block-type swap devices
swapctl: removing /dev/sd0b as swap device
Done running shutdown hooks.
--- END PASTE ---

Here the system stalls. Sending a break gives:

--- BEGIN PASTE ---
~Stopped in pid 155.1 (mount_mfs) at     netbsd:cpu_Debugger+0x4:        nop
db> reboot
syncing disks... Mutex error: lockdebug_wantlock: acquiring sleep lock from 
interrupt context

lock address : 0x000000000c187f80 type     :     sleep/adaptive
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
current cpu  :                  0 last held:                  0
current lwp  : 0x000000000d6cc7e0 last held: 000000000000000000
last locked  : 0x00000000012dca94 unlocked : 0x00000000012dcadc
initialized  : 0x00000000012cec44
owner field  : 000000000000000000 wait/spin:                0/0

Turnstile chain at 0x18b96e0.
=> No active turnstile for this lock.

panic: LOCKDEBUG
Stopped in pid 155.1 (mount_mfs) at     netbsd:cpu_Debugger+0x4:        nop
db> bt
lockdebug_abort1(18c1218, f, 1517168, 1685088, 1, 2e79800) at 
netbsd:lockdebug_abort1+0x7c
mutex_vector_enter(d6cc7e0, 5, c187f80, 0, e0017398, 0) at 
netbsd:mutex_vector_enter+0x244
suspendsched(168a5e8, d, 1553ff2e7dd, 6, fffffffffffffffc, f) at 
netbsd:suspendsched+0x8
vfs_shutdown(0, d, 1, e0017680, ffffffffffffffff, 0) at netbsd:vfs_shutdown+0x24

cpu_reboot(0, 0, e0017548, 1880c00, 1880fd0, 1880fac) at netbsd:cpu_reboot+0x170

db_reboot_cmd(1, 0, 4, e0017610, e0017738, 0) at netbsd:db_reboot_cmd+0x40
db_command(180f020, 180f058, 0, 0, e0017828, 0) at netbsd:db_command+0xa0
db_command_loop(144a928, 0, 1, c1a0ef9, 0, 0) at netbsd:db_command_loop+0x10c
db_trap(e0018000, 0, 0, 0, 1515098, 2e79800) at netbsd:db_trap+0x128
kdb_trap(101, e0017b60, 0, 0, 1c14000, 181c000) at netbsd:kdb_trap+0xe4
trap(e0017b60, 101, 144a920, 1d0006, 1c14000, 181c000) at netbsd:trap+0x358
?(d98e910, 134ebfc, 1517000, d6cc7e0, 1c14000, 1d) at 0x1008b64
sabtty_intr(2d4a000, e0017e0c, d98e910, 400, 143cd20, 40) at 
netbsd:sabtty_intr+0x48c
sab_intr(0, 0, e0017ed0, 0, 1416860, 1805000) at netbsd:sab_intr+0x48
sparc_interrupt(d98e6f0, 1249330, 1517000, d6cc7e0, 1c14000, d977578) at 
netbsd:sparc_interrupt+0x1e0
mutex_vector_exit(d98e6f0, 124919c, d98e6f0, d6cc7e0, 1c14000, 0) at 
netbsd:mutex_vector_exit+0x140
ffs_sync(d972d80, 1, c18bef0, d6cc7e0, 1515098, 2e79800) at 
netbsd:ffs_sync+0x250          
VFS_SYNC(d972d80, 1, c18bef0, 1, 0, d9777c8) at netbsd:VFS_SYNC+0x14
dounmount(0, 0, d6cc7e0, d6cc7e0, 1c14000, 18cbc00) at netbsd:dounmount+0xe0
mfs_start(d972d80, 0, d6cc7e0, 18, 1c14000, 189e400) at netbsd:mfs_start+0xd8
VFS_START(d972d80, 0, 0, 1, 1c14000, 0) at netbsd:VFS_START+0x10
do_sys_mount(0, 18177b0, 2e76c00, ffffffffffffde9e, 40, ffffffffffffb9a8) at 
netbsd:do_sys_mount+0x768
sys___mount50(d6cc7e0, d977dc0, d977e00, 1, 20aae0, 0) at 
netbsd:sys___mount50+0x28        
syscall_plain(d977ed0, 5, 4073db4c, 4073db50, 0, 4073db4c) at 
netbsd:syscall_plain+0x114   
?(107b98, ffffffffffffde9e, 40, ffffffffffffb9a8, 98, 20b400) at 0x1008cc0
--- END PASTE ---

>How-To-Repeat:
# shutdown -r now
>Fix:
Not yet.

>Unformatted:
 With a kernel from today (an hour ago), and a 4.99.62 userland from May 9th.


Home | Main Index | Thread Index | Old Index