Strange /dev/tty behaviour on 7.0-PRELEASE

Kostik Belousov kostikbel at
Fri Jan 18 21:21:29 PST 2008

On Sat, Jan 19, 2008 at 12:34:37AM +0100, Jesper Louis Andersen wrote:
> On Jan 18, 2008 1:08 PM, Kostik Belousov <kostikbel at> wrote:
> > After your post, I could imagine the almost plausible scenario how to
> > get more then one /dev/tty in the listing, but the other behaviour that
> > looks like deadlock, isn't.
> >
> Well, your commit here:
> gratiously provided to me by Peter Wemm solved the problem I had. I think we
> are "talking past each other" with the lockup due to my bad choice of words:
> The kernel did not deadlock, but a process executed after having multiple
> tty's made that process hang with the ktrace I posted. The kernel itself
> were still running fine though anything in need of /dev/tty would hang. I
> hope this clears up the misconceptions.
> The patch fixes my problem completely. Thanks!

Thank you for confirming that the problem solved.
I will MFC the change shortly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list