Subject: Re: serial console reboots (disabling stop-a abort)
To: imtarget <sparce@imtarget.cotse.net>
From: Eduardo Horvath <eeh@NetBSD.ORG>
List: port-sparc
Date: 09/16/2003 16:33:18
On Tue, Sep 16, 2003 at 10:26:06AM -0400, imtarget wrote:
> Wise NetBSD'ers:
> 
> I've a sparc5/NetBSD 1.6.1 firewall running headless, with a serial
> console on a windows atrocity. Because of the nature of the beast, the win
> machine must be rebooted almost weekly for security updates. Each reboot
> sends a break across the serial line, dropping the firewall into OpenProm.
> Which is an enormously bad place for a firewall to be.
> 
> In Solaris, I could set a line in /etc/system like "set abort_enable=0"
> which would prevent a console break from being interpreted as Stop-A. My
> cursory review of available literature and list archives didn't turn up
> anything similar for NetBSD. Although I confess to being out of my depth
> somewhat with the cnmagic documentation.
> 
>  - Is there a similar setting to "set abort_enable=0" for NetBSD (perhaps
> an /etc/sysctl.conf setting for hw.cnmagic?)

Yes, setting hw.cnmagic to some other value in /etc/sysctl.conf should do it,
assuming the driver for your console device is cnmagic-aware.  (I beleive the
zs driver should be using cnmagic.) 

Eduardo