Subject: Re: init: getty repeating too quickly on port /dev/console, sleeping
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 09/27/2002 12:38:25
On Fri, 27 Sep 2002, Manuel Bouyer wrote:
> So you have getty on both ttyE0 and console ? As console is redirected to
> ttyE0 this can lead to trouble as well ...
The default ttys has:
console "/usr/libexec/getty Pc" vt100 on secure
ttyE0 "/usr/libexec/getty Pc" vt220 off secure
I changed it to:
console "/usr/libexec/getty Pc" vt100 on secure
ttyE0 "/usr/libexec/getty Pc" vt220 on secure
My previous (with 1.5.3) /etc/ttys had:
console "/usr/libexec/getty Pc" pc3 off secure
ttyE0 "/usr/libexec/getty Pc" vt220 on secure
But now I see that http://www.netbsd.org/Documentation/wscons/ says:
Edit /etc/ttys and change the entries for ttyE{1,2,3}
from "off" to "on".
So I guess that ttyE0 entry should still be off. I see when I switch
consoles with F1 key (i386), the login says "(console)", and when I switch
with F2 it says "(ttyE1)".
I am curious: when is it okay to have ttyE0 and console both have gettys?
> > I manually started xdm from the first ttyE0 (I think it was the first
> > one).
>
> Hum, maybe in this case X started on ttyE0 ...
I could switch back to ttyE0 (F1 key) and just had a text console login. I
used fstat to see that XFree86 was running at ttyE4 (which I could get to
with F5).
Anyways, I am not getting the error now. I wonder if I should turn "off"
the ttyE0 entry in /etc/ttys though.
Thanks for assisting.
Jeremy C. Reed
http://bsd.reedmedia.net/