Subject: Re: Sparc serial console
To: None <port-sparc@NetBSD.ORG>
From: Jeremy Cooper <jeremy@broder.com>
List: port-sparc
Date: 04/23/1998 18:53:42
On Thu, 23 Apr 1998, Greg A. Woods wrote:

> [ On Sun, April 19, 1998 at 08:22:23 (-0400), der Mouse wrote: ]
> > Subject: Re: Sparc serial console
> >
> > > [ my sparc1 halts when I shutdown its serial console terminal ]
> > 
> > The only way I know of is, don't use the console port on the sparc for
> > your inter-machine link. :-(  Or, arrange for the "main server" to not
> > generate a break condition on that line when it's shut down....
> 
> Once upon a time I had a tiny circuit that would hold the lines steady
> on an RS-232 port such that you wouldn't get a BREAK when you unplug or
> reconnect them, but I don't seem to have it around any more, and the
> only ideas that come to mind right now involve electronic switching.

Have no fear, kernel patching is here.  You can disable the SPARC serial
console abort routine by applying this patch to your kernel source and
recompiling.  Note: this disables your ablilty to break to the PROM while
NetBSD is running!

--- src/sys/arch/sparc/dev/zs.c        Tue Apr 14 18:41:50 1998
+++ src/sys/arch/sparc/dev/zs_no_break.c       Thu Apr 23 18:51:01 1998
@@ -700,9 +700,6 @@
        zskgdb(cs);
 #elif defined(DDB)
        Debugger();
-#else
-       printf("stopping on keyboard abort\n");
-       callrom();
 #endif
 }
  
  
-J