getty doesn't work on serial port
Getty doesn't work on serial port any more. It certainly did some months ago.
#1 Updated by dillon almost 5 years ago
:New submission from Hasso Tepper <firstname.lastname@example.org>:
:Getty doesn't work on serial port any more. It certainly did some months ag=
I tested this with the latest master and it does work but it must
be enabled in /etc/ttys.
Go into /etc/ttys and try turning ttyd0 on by changing the 'off' to 'on',
then 'kill -HUP 1'. The getty should appear on the serial port.
It is turned off on the ISO... I seem to recall that we had issues
when getty was running on one machine connected to another which was
trying to boot, because the boot menu would cause the getty to echo
stuff back and interrupt the booting operation. So we're kinda messed
up either way.
#3 Updated by alexh almost 5 years ago
Was not a race.
Problem is fixed in 879172271d5105425ca7df8c599f59b035bfcb8e. It was basically
related to the fact that before devfs, calling make_dev twice, returned the
same device twice. As make_dev is now asynchronous, there's no way of doing
this. Instead, a warning is printed if vfs.devfs.debug >= 1 about a double
While I fixed most of the drivers relying on double make_dev, it seems that I
still missed some ;)