From owner-freebsd-questions Fri Jul 28 17:16:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dt052n3e.san.rr.com (dt052n3e.san.rr.com [204.210.33.62]) by hub.freebsd.org (Postfix) with ESMTP id 0336E37C1A7 for ; Fri, 28 Jul 2000 17:16:39 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (master [10.0.0.2]) by dt052n3e.san.rr.com (8.9.3/8.9.3) with ESMTP id RAA12134; Fri, 28 Jul 2000 17:16:14 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <3982224C.CABB85FF@gorean.org> Date: Fri, 28 Jul 2000 17:16:12 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "James F. Hranicky" Cc: freebsd-questions@freebsd.org Subject: Re: Mapping serial break to ctrl-alt-del References: <20000728214939.DBB82DCC2@mail.cise.ufl.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "James F. Hranicky" wrote: > > Is there a kernel config option or some other quick-and-dirty way to map > serial break to ctrl-alt-del (using a serial console, of course)? > > I know you can drop into the kernel debugger, but I'd like a surefire > way to reboot a hung server remotely, a la break/sync on Sparc hardware. If you CAN get it in to DDB, then you can type 'call boot(0)' at the prompt (no quotes obviously) should get you a clean reboot, assuming that the system is capable of that at all. If that doesn't work, then it probably needs a power cycle (or soft reset) anyway, so a keyboard solution won't work. Good luck, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message