From owner-freebsd-current@FreeBSD.ORG Fri Jun 1 00:03:19 2007 Return-Path: X-Original-To: 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 AD6CE16A46E for ; Fri, 1 Jun 2007 00:03:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0F4C213C458 for ; Fri, 1 Jun 2007 00:02:40 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 3232546C6F; Thu, 31 May 2007 20:02:40 -0400 (EDT) Date: Fri, 1 Jun 2007 01:02:39 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Giorgos Keramidas In-Reply-To: <20070531180555.GA10910@kobe.laptop> Message-ID: <20070601010212.F77697@fledge.watson.org> References: <20070531183719.B77697@fledge.watson.org> <20070531180555.GA10910@kobe.laptop> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: 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 00:03:19 -0000 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. Robert N M Watson Computer Laboratory University of Cambridge