Subject: Re: Processes stuck in ttyout
To: Dave Huang <khym@bga.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 10/22/1998 19:17:04
On Oct 22, Dave Huang wrote
> I'm running NetBSD-1.3F (July 22 sources or so) on an 386/33, 8MB RAM.
> The machine's been up and working fine for 39 days, but last night, su
> and syslogd quit working. If I su and enter root's password, su hangs in
> ttyout:
> 
>   UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT TT       TIME COMMAND
>     0 16483 15023  13   4 -2   156  556 ttyout T<   p3    0:00.36 _tcsh (su)
> 
> If I enter the wrong password, su says "Sorry" before it hangs:
>   UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT TT       TIME COMMAND
>     0 16485 15023  12   4 -2   156  560 ttyout T<   p3    0:00.33 su
> 
> syslogd's not logging anything either, and it's also stuck in ttyout:
>   UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT TT       TIME COMMAND
>     0   127     1   0   4  0    80   12 ttyout IWs  ??    4:18.30 syslogd
> 
> Any ideas? The kernel doesn't have ktrace or ddb, so I probably can't
> get too much more info. I need to su too, so I'm gonna reboot, although
> I can make it save a core dump first...

Are you sure scroll lock is not on on your keyboard ?
I've seen something like this: scroll lock is on, so syslogd hangs
on console output once the buffer is full. Then other prcesses start hanging
trying to write to syslog ...

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--