Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2007 18:55:39 +0800 (CST)
From:      Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        current@freebsd.org, scsi@freebsd.org, Robert Watson <rwatson@freebsd.org>, Giorgos Keramidas <keramida@ceid.upatras.gr>, Jiawei Ye <leafy7382@gmail.com>
Subject:   Re: watch(8) stuck in devdrn
Message-ID:  <07060118545413.14036@www.mmlab.cse.yzu.edu.tw>
In-Reply-To: <20070601084859.GL2268@deviant.kiev.zoral.com.ua>
References:  <20070531183719.B77697@fledge.watson.org> <20070531180555.GA10910@kobe.laptop> <20070601010212.F77697@fledge.watson.org> <626eb4530705311711h69322a54ga7c49aea3fe4ab27@mail.gmail.com> <c21e92e20705311847w5c5816bay1469d95964267581@mail.gmail.com> <07060112584613.12429@www.mmlab.cse.yzu.edu.tw> <20070601084859.GL2268@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 1 Jun 2007, Kostik Belousov wrote:
> On Fri, Jun 01, 2007 at 01:01:08PM +0800, Tai-hwa Liang wrote:
>> On Fri, 1 Jun 2007, Jiawei Ye wrote:
>>> On 6/1/07, Hidetoshi Shimokawa <simokawa@freebsd.org> wrote:
>>>> The problem doesn't seem specific to tty sub system.
>>>> I have similar problem with scsi_target.
>>>>
>>>> On 6/1/07, Robert Watson <rwatson@freebsd.org> wrote:
>>>>>
>>>>> On Thu, 31 May 2007, Giorgos Keramidas wrote:
>>>>>
>>>>>> On 2007-05-31 18:38, Robert Watson <rwatson@freebsd.org> wrote:
>>>>>>> I was using watch(8) this afternoon, and on trying to quit, ran into
>>>> this:
>>>>>>>
>>>>>>>   peppercorn:~> ps axl | grep watch
>>>>>>>     0 14200 14194   0  -8  0  3416  1056 devdrn D     p2-   0:00.01
>>>> watch -W tt
>>>>>>>
>>>>>>> It was running on a pty, but the target tty was ttyv1.
>>>>>>
>>>>>> If you have kern.pts.enable=1 you may have to use:
>>>>>> http://hg.hellug.gr/freebsd/src-keramida/file/944ac3982de1/pty-devdrn
>>>>>>
>>>>>> Without this patch and kern.pts.enable=1 all ptys seem to get stuck in
>>>>>> devdrn on process exit.  AFAIK, Kostik Belousov and Tor Egge know
>>>> this and
>>>>>> are already working on a fix:
>>>>>
>>>>> I'm not using pts.enable on this box.
>>>>>
>>> mount_smbfs has been having this problem for quite a while too.
>>
>>   By any chance you can give following patches a try?
>>
>> 	http://people.freebsd.org/~kib/misc/destroy_dev_sched.6.patch
> http://people.freebsd.org/~kib/misc/destroy_dev_sched.8.patch
>> 	http://people.freebsd.org/~avatar/destroy_dev_sched_addon.2.patch
> At least snp(4) change potentially opens the races.

   Could you be more specific on this issue?

-- 
Thanks,

Tai-hwa Liang



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?07060118545413.14036>