Subject: kern/9239: rebooting from kernel debugger fails
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.zhadum.de>
List: netbsd-bugs
Date: 01/19/2000 04:24:54
>Number:         9239
>Category:       kern
>Synopsis:       rebooting from kernel debugger fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 19 04:24:01 2000
>Last-Modified:
>Originator:     Matthias Scheler
>Organization:
Matthias Scheler                            http://www.sighardstrasse.de/~tron/
>Release:        2000/01/18
>Environment:
System: NetBSD lyssa.zhadum.de 1.4P NetBSD 1.4P (LYSSA) #0: Tue Jan 18 17:55:32 CET 2000 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386


>Description:
The attempt to reboot a NetBSD system via the builtin kernel debugger results
in a panic:

panic: lockmgr: no context

This is the trace shown by "gdb":

#0  0xf031e28c in db_last_command ()
#1  0x1666000 in ?? ()
#2  0xf026abb7 in cpu_reboot ()
#3  0xf01255ea in db_reboot_cmd ()
#4  0xf012531c in db_command ()
#5  0xf0125476 in db_command_loop ()
#6  0xf0127b36 in db_trap ()
#7  0xf0268bc4 in kdb_trap ()
#8  0xf0270758 in trap ()
#9  0xf0100cb9 in calltrap ()
#10 0xf01b4df5 in panic ()
#11 0xf01a8550 in lockmgr ()
#12 0xf01cc786 in vfs_busy ()
#13 0xf01cf69d in sys_sync ()
#14 0xf01ce961 in vfs_shutdown ()
#15 0xf026ab8f in cpu_reboot ()
#16 0xf01255ea in db_reboot_cmd ()
#17 0xf012531c in db_command ()
#18 0xf0125476 in db_command_loop ()
#19 0xf0127b36 in db_trap ()
#20 0xf0268bc4 in kdb_trap ()
#21 0xf0270758 in trap ()
#22 0xf0100cb9 in calltrap ()
#23 0xf0299630 in internal_command ()
#24 0xf0299750 in wskbd_translate ()
#25 0xf02988c4 in wskbd_input ()
#26 0xf029c016 in pckbd_input ()
#27 0xf010f6c7 in pckbcintr ()
#28 0xf0100f4c in Xintr1 ()

>How-To-Repeat:
1.) Boot your system into single user mode.
2.) Press CTRL ALT ESC.
3.) Enter "reboot".

>Fix:
Sorry, I don't know.
>Audit-Trail:
>Unformatted: