[Gllug] Sun Sparcstation - disconnecting serial console causesBREAK

Jack Richards jack.richards at gnu-solutions.com
Fri Aug 12 10:51:23 UTC 2005


I'm finding this most amusing.  Only because I threw one of these out last week - put it in my flats rubish area.  Came back five mins later and the thing had gone.  In its place, I found the Compaq FC SCSI array I had thrown out about a year ago !

And there I was thinking I was a bad scrounger 

Jack


On Aug 12, 2005 11:48 AM, John Edwards <john at cornerstonelinux.co.uk> wrote:

> On Fri, Aug 12, 2005 at 10:30:16AM +0100, Nix wrote:
> > On Thu, 11 Aug 2005, Ian Northeast suggested tentatively:
> <snip>
> 
> >> I forget who mentioned that unplugging the serial cable sends a
> >> break. It doesn't usually, about 1 time in 4 IME. It depends on
> >> exactly how the pins disconnect, which is unpredictable.
> > 
> > My problem is that rebooting PCs sends a break down attached serial
> > lines, so I can't leave the serial cable plugged in from the Sun,
> > which means that in case of serious oops-can't-reboot-into-default-
> > kernel buggerups, when working remotely, I'm stuffed.
> > 
> > It's a dilemma. Leave the cable in and PC reboots kill the Sun, and
> > 'cos it's serves all the home directories I have trouble getting back in
> > to do a `go'; take it out and severe buggerups on the Sun are
> > unfixable.
> 
> How are you with a soldering iron ?
> 
> This is related to the "disconnect causes BREAK", and can be fixed by 
> placing a resister between pins 3 and 25 on a DB25 serial connection.
> 
> >From the "Using a Terminal as Console" in the "Sun Hardware Reference":
> 
> Unfortunately, turning off the terminal or disconnecting it is usually 
> interpreted as a BREAK and halts the machine. Thus, it is not easily 
> possible to turn off the terminal when the console is not in use, or 
> to use one terminal with many machines via a switchbox.  Suggested 
> solutions include a special cable (on a 4/2xx CPU, a 4.7K resistor 
> between pins 3 and 25 may work) or modifying the SunOS serial driver 
> (zs) to ignore breaks.
> 
> At Brunel Uni this was included in a little custom built DB25-RJ45 
> adapter. People like RS will sell DB25-DB25 adapters with enough 
> space for a resister and cables. 
> 
> 
> >> single cable between 3 Suns and it works fine. You unplug it, then
> >> check that the Sun in question still works. If it doesn't you were
> >> unlucky and it saw a break
> > 
> > FWIW, I've never had a cable unplug send a break; maybe it's machine-
> > specific, or maybe I've just been very lucky.
> 
> I've certainly seen it on SparcStations, maybe Sun fixed this by the 
> time of the Netra.
> 
> 
> -- 
> #---------------------------------------------------------#
> |    John Edwards   Email: john at cornerstonelinux.co.uk    |
> #---------------------------------------------------------#
> -- 
> Gllug mailing list  -  Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug
> 

THIS MESSAGE IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE. 
    
If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering the message to the intended  recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. 

If you have received this communication in error, please accept our apology. We should be obliged if you would email info at gnu-solutions.com by return and inform us. 
    
Thank you. 

GNU Solutions Ltd and the GNU Solutions Device are registered tradmarks of GNU Solutions Ltd.Gazelle Retail Hardened Linux, UpStart and the devices are registered trademarks of GNU Solutions Ltd.


-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list