Re: Serial console - how to reboot?

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Sat, 12 Jun 2004 22:41:38 -0500
In the last episode (Jun 12), Doug White said:
> If you built the kernel with 'options BREAK_TO_DEBUGGER', then a
> serial break will drop to ddb. From there you could do 'call boot(0)'
> to attempt and orderly shutdown, or 'reset' to, well, reset :)
> There's also an 'ALT_BREAK_TO_DEBUGGER' option that emulates the sun
> alt-break -- [cr] ~ ^B.

btw - DDB in 5.* has a "reset" command so you don't have to remember
"call boot(0)".  It runs "cpu_reset" to immediately reset the system. 
Calling "boot(0)" has a better chance of doing a clean reboot but if
you're already locked up it may hang as well.

-- 
	Dan Nelson
	dnelson_at_allantgroup.com
Received on Sun Jun 13 2004 - 01:42:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:57 UTC