Subject: getty tty[a-b] doesn't work on a SS20
To: NetBSD port-sparc mailing list <port-sparc@netbsd.org>
From: Nuno Pires <nmfp@mega.ist.utl.pt>
List: port-sparc
Date: 01/02/2007 20:38:44
Hi,

On my headless Sparcstation 20 I want to have a login prompt on the 
remaining serial port. The problem is that can't put getty to work 
neither on ttya nor ttyb. I've tested the system console on both ports 
and it works fine. I'm using NetBSD 3.1 with GENERIC.MP kernel.

Am I forgetting something or can this be a bug?

My /etc/ttys file:
console "/usr/libexec/getty suncons"    vt102   on secure
ttya    "/usr/libexec/getty std.9600"   unknown off secure
ttyb    "/usr/libexec/getty std.9600"   unknown on secure

Result from "ps aux |grep tty[a-b]" (note the ? in getty ttyb's 
controlling terminal column):
root  2119  0.0  0.1  36   684 ?     I     4:50AM 0:00.14 
/usr/libexec/getty std.9600 ttyb
root  2611  0.0  0.2  52   792 ttya  Is+   4:35AM 0:00.23 
/usr/libexec/getty suncons console

Result from "eeprom |grep tty[a-b]"
output-device=ttya
input-device=ttya
ttyb-rts-dtr-off=false
ttyb-ignore-cd=true
ttya-rts-dtr-off=false
ttya-ignore-cd=true
ttyb-mode=9600,8,n,1,-
ttya-mode=9600,8,n,1,-


Thanks in advance for any help,
-- 
Nuno P.