Date: Sat, 19 Jan 2008 07:21:26 +0200 From: Kostik Belousov <kostikbel@gmail.com> To: Jesper Louis Andersen <jesper.louis.andersen@gmail.com> Cc: current@freebsd.org Subject: Re: Strange /dev/tty behaviour on 7.0-PRELEASE Message-ID: <20080119052126.GK57756@deviant.kiev.zoral.com.ua> In-Reply-To: <56a0a2840801181534t57d24177o7528093c6daa995@mail.gmail.com> References: <56a0a2840801171617r6ca60b30x9f6cebb12b523c7f@mail.gmail.com> <20080118120816.GH57756@deviant.kiev.zoral.com.ua> <56a0a2840801181534t57d24177o7528093c6daa995@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sat, Jan 19, 2008 at 12:34:37AM +0100, Jesper Louis Andersen wrote: > On Jan 18, 2008 1:08 PM, Kostik Belousov <kostikbel@gmail.com> 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: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/tty_pty.c.diff?r1=1.155;r2=1.156 > > 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. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkeRiNUACgkQC3+MBN1Mb4hc1wCfeFykp29np6igqxqABiqRpOkN iIwAn3WkkujuyjH1qV/S/P6B1E5xHsl5 =C5NN -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080119052126.GK57756>
