Serial console seems to have disappeared

Doug White dwhite at gumbysoft.com
Sat Feb 26 02:14:50 GMT 2005


On Fri, 25 Feb 2005, Tillman Hodgson wrote:

> Howdy folks,
>
> I've had this in my /etc/ttys since forever (near enough):
>
> ttyb    "/usr/libexec/getty 3wire.9600" vt220-w on  secure
>
> And I've had eeprom settings like this to match:
>
> # eeprom -a | grep put-device
> output-device: ttyb
> input-device: ttyb
>
> I upgraded to a much more recent -current (the previous stuff I was
> running was from last summer). The serial bits appear to have changed
> ... while I see the boot process over the serial line, I can no longer
> communicate with a getty:
>
> ...
> Starting inetd.
> Starting background file system checks in 60 seconds.
> Fri Feb 25 17:31:50 CST 2005
> Feb 25 17:31:51 caliban getty[685]: open /dev/screen: No such fi
> FreeBSD/sparc64 (caliban.rospa.ca) (ttyb)
> login:
>
> At this point whatever I type is echoed back after hitting enter but
> there is definitely no login process in place.
>
> Has the serial devices changed names in the past few months? `ls
> /dev/tty*` shows a ttyz0 and z1 which look promising. I didn't see any
> mention of them in /usr/src/UPDATING though.

The current recommendation is to use the uart(4) driver, which should
support the same chips as the zs and sab drivers (unless you're on an
Enterprise [34][05]00).  The tty device changes to /dev/ttyu*.

Prior to that change I had gettys starting on ttyz[01] and not using the
ttya/b links -- I'm not even sure where those come from.

--
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-sparc64 mailing list