[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080602053256.GF5609@1wt.eu>
Date: Mon, 2 Jun 2008 07:32:56 +0200
From: Willy Tarreau <w@....eu>
To: Harald Dunkel <harald.dunkel@...nline.de>
Cc: Joe Peterson <joe@...rush.com>, linux-kernel@...r.kernel.org,
Alan Cox <alan@...hat.com>
Subject: Re: 2.6.25.3: su gets stuck for root
On Mon, Jun 02, 2008 at 07:12:06AM +0200, Harald Dunkel wrote:
> Hi Joe,
>
> Joe Peterson wrote:
> >Hi Harold,
> >
> >Doing "ps" while hung shows stty in the "T" state. "killall -9 stty"
> >releases it.
> >
>
> Does strace give you the same output if you attach it to the blocking
> stty (strace -p $pid)?
>
> I got
>
>
> :
> ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) =
> ? ERESTARTSYS (To be restarted)
> --- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
> --- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
> :
Guys, you should test if "kill -CONT $pid" wakes the process up.
It might be possible that some obscure bug appeared in the tty
code resulting in SIGTTOU sometimes being sent to the caller,
although that seems rather strange :-/
Willy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists