Re: getty repeating too quickly on port `/dev/console', sleeping

David Laight <[email protected]> Thu, 11 Oct 2007 20:34:49 +0100
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
On Wed, Oct 10, 2007 at 08:23:00PM -0400, Gary Thorpe wrote:
> 
> I think the problem is that /dev/console and /dev/ttyE0 are really the
> same physical hardware on your machine. That is, putting a getty on
> both when the console physically corresponds to ttyE0 will cause
> problems because two gettys will try to grab the same device and one or
> both will have problems.

There is a similar problem if you try to run the xconsole window (or
anything else that steals writes to /dev/console).

If that is the problem then running the getty on /dev/constty should
help (which is how sysinst manages to catch writes /dev/console (including
kernel messages) and insert them into the curses output).
I've actually wondered whether it is possibly to exclude writes to the
programs controlling terminal from the 'console output stealing code',
and whether that would help!

	David

-- 
David Laight: [email protected]