Subject: Re: serial console and spurious breaks
To: Emmanuel Dreyfus <manu@NetBSD.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 07/23/2007 10:07:54
On Mon, 23 Jul 2007 14:00:46 +0000
Emmanuel Dreyfus <manu@NetBSD.org> wrote:

> Hello
> 
> I have several NetBSD/macppc and NetBSD/amd64 machines using serial
> consoles. If I unplug the serial port, or if I power cycle the serial
> remote device, o the NetBSD box will catch a BREAK on the console,
> and will drop in ddb. 
> 
> Anyone has a workaround for that? The ability to drop in ddb using a
> break is really useful, but unplanned server downtime just because a
> serial cable was unplugged is a shame.
> 
Set ddb.fromconsole=0 in sysctl.conf.  Also see the hw.cnmagic sysctl.


		--Steve Bellovin, http://www.cs.columbia.edu/~smb