Subject: Re: tty setup kills multi-user boot-up
To: None <lm@cs.rmit.edu.au>
From: Johnny Lam <lamj@stat.cmu.edu>
List: port-mac68k
Date: 11/13/1997 08:04:24
On 13 Nov, Luke Mewburn wrote:
 
> I can confirm that this appears to be a problem in ttyflags.
> 
> On my P5-200 (i386), a recent kernel would hang in ttyflags. So, I hacked
> /etc/rc to be:
> 	echo 'setting tty flags:'
> 	ttyflags -a -v
> 	echo 'done'
> 
> It never gets to `done'. In fact, it dies after the second or third entry
> in the tty file.
> 
> I thought this may have been a result of some local mods to my kernel, but
> given Johnny's problem (on a different port with a different source tree),
> I'd say that there's a deeper problem here...

Yes, when I manually run the commands in the /etc/ttys, I find that
ttye0 and console are "properly" setup (despite the ioctl errors?), but
that "ttyflags -v tty00", to setup the first serial port, fails to
return.  The machine seems to just hang.

I deleted all of the lines in /etc/ttys except for ttye0 and console,
and was able to boot fully in multiuser, but running pppd on tty00 also
hung the machine.

Something seems wrong???
-- 
   Johnny C. Lam
   Department of Statistics			lamj@stat.cmu.edu
   Carnegie Mellon University			http://www.stat.cmu.edu/~lamj/

				@>---`---,----