Date: Sat, 12 Jun 2004 22:41:38 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Doug White <dwhite@gumbysoft.com> Cc: current@freebsd.org Subject: Re: Serial console - how to reboot? Message-ID: <20040613034137.GC94119@dan.emsphone.com> In-Reply-To: <20040612142543.H74026@carver.gumbysoft.com> References: <40CAD634.8060808@anduin.net> <20040612142543.H74026@carver.gumbysoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040613034137.GC94119>