Subject: Re: tty setup kills multi-user boot-up
To: Scott Smith <smelly@spy.net>
From: Luke Mewburn <lm@cs.rmit.edu.au>
List: port-mac68k
Date: 11/13/1997 15:10:45
Scott Smith writes:
> On Wed, 12 Nov 1997, Johnny Lam wrote:
> 
> > The line in /etc/rc:
> > 
> > 	ttyflags -a
> > 
> > is definitely NOT returning, so I'm pretty sure the problem is in
> > that line.  The /etc/ttys file looks fine...in fact, it is the
> > distribution /etc/ttys file.  Actually, the whole installation is just
> > a fresh install from the distribution tarballs.
> > 
> > What do all those ioctl errors mean?  I *DID* build my devices, by the
> > way.
> > 
> 
> Like I said, those are normal warnings/errors. You can most likely ignore
> them; I've been getting them since 1.2 and my machine boots fine.
> Are you *SURE* that ttyflags -a isn't working?  Have you booted to single
> user and manually checked each thing that gets executed to see?

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...