[Top] [All Lists]

Re: serial consoles, sash and other wonders

To: Mike Shaver <>
Subject: Re: serial consoles, sash and other wonders
From: "William J. Earl" <>
Date: Tue, 8 Apr 1997 15:00:12 -0700
Cc:, (David S. Miller)
In-reply-to: <>
References: <> <>
Mike Shaver writes:
 > Thus spake William J. Earl:
 > >     If you don't have the installation CD's, I recommend that you back
 > > up the disk, perhaps to a second disk (complete with volume header and
 > > root partitions), so you can recover from any potential failure.  The
 > > "cp" command in the prom can be used to copy disk to disk to recover.
 > That I will do.
 > Will that work with differently-sized drives?

     Yes, but the drive to which you copy the data will have to be bigger,
but it will then not appear to be any larger than the original drive.
That is, the partition table in the volume header will claim that the
second drive is really the same size as the original drive.  This is of
course ok if you only want the extra drive as a backup.

 > I'm having some trouble with the serial console, though.
 > I did an `nvram console d' and that took, but I fear that I've got to
 > set something else, since my serial cable is connected to port 2.  The
 > getty I'm running on ttyd2 works fine, FWIW.

      Yes, you really need two serial lines, one for the console (port 1,
ttyd1) and one for the debug port (port 2, ttyd2).  At least, that is the
way I control my test system from my host system.  Here, we usually use
an Annex Ethernet-based serial concentrator for serial ports, and connect
via telnet (or the Annex rtelnetd) to the serial ports, which are then
wired to the test machines.  

 > When I reboot, I get nothing on the serial console until the getty
 > login: prompt.
 > (I can't think off the top of my head as to why I'm using that port,
 > but I think it had something to do with the available cabling.  I'm
 > not physically with the machine until 1400 EST tomorrow, but Josh
 > should feel free to step forward and explain it. =) )

       The PROM talks only to port 1, so you are seeing what I would

<Prev in Thread] Current Thread [Next in Thread>