From owner-freebsd-current@FreeBSD.ORG Fri Jun 1 10:43:06 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F18C16A46C for ; Fri, 1 Jun 2007 10:43:06 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id B511B13C4B8 for ; Fri, 1 Jun 2007 10:43:05 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so501135mue for ; Fri, 01 Jun 2007 03:43:04 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:x-authentication-warning:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=ikvCCu6i5MOU/Vkvvea0cM+AXNLf8Qp3OiVScAoYBoAjUSWMSyW0J095YKiA8aCECBo0OzriuOcAjgzwV8Pu2ez4RtNnEnMzHp3DRaB1tgmvlFo640Oz9J1tF+Oy67Sp3k5jMJQ2yo+IWdyzdUcTtLcntaxWCfd7oyyqMMGSWS8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:x-authentication-warning:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=LcxajGlFaOAesZzpJLUJoHW2AjKmEonPc4qFd+LtPa+U/SUt4/PgtrMHpJETgBGpqLoagRMFOZeFtxdzfxseEgt0Osss9oOzK4FTG3hpYuZzqxUFc8937aoZ9tMDXBFQ+GmgIfpsRKszhd4N0zRPTeManq690f8GLhsOgbgMymQ= Received: by 10.82.160.2 with SMTP id i2mr992295bue.1180694584204; Fri, 01 Jun 2007 03:43:04 -0700 (PDT) Received: from darklight.abyss ( [83.239.5.254]) by mx.google.com with ESMTP id i5sm2125955mue.2007.06.01.03.42.59; Fri, 01 Jun 2007 03:43:03 -0700 (PDT) Received: from darklight.abyss (localhost [127.0.0.1]) by darklight.abyss (8.14.1/8.14.1) with ESMTP id l51AgVD8000982; Fri, 1 Jun 2007 14:42:32 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.abyss (8.14.1/8.14.1/Submit) id l51AgOgg000979; Fri, 1 Jun 2007 14:42:24 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.abyss: yuri set sender to yuri.pankov@gmail.com using -f Date: Fri, 1 Jun 2007 14:42:21 +0400 From: Yuri Pankov To: Tai-hwa Liang Message-ID: <20070601104221.GA923@darklight.abyss> References: <20070531183719.B77697@fledge.watson.org> <20070531180555.GA10910@kobe.laptop> <20070601010212.F77697@fledge.watson.org> <626eb4530705311711h69322a54ga7c49aea3fe4ab27@mail.gmail.com> <07060112584613.12429@www.mmlab.cse.yzu.edu.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <07060112584613.12429@www.mmlab.cse.yzu.edu.tw> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-current@freebsd.org Subject: Re: watch(8) stuck in devdrn X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 10:43:06 -0000 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 wrote: > >> The problem doesn't seem specific to tty sub system. > >> I have similar problem with scsi_target. > >> On 6/1/07, Robert Watson wrote: > >> > > >> > On Thu, 31 May 2007, Giorgos Keramidas wrote: > >> > > >> > > On 2007-05-31 18:38, Robert Watson 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/~avatar/destroy_dev_sched_addon.2.patch > > -- > Thanks, > > Tai-hwa Liang Fixes mount_smbfs for me. Thank you. Yuri