From owner-freebsd-stable@FreeBSD.ORG Sat Mar 29 22:20:49 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A75E3106567B for ; Sat, 29 Mar 2008 22:20:49 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9820C8FC17 for ; Sat, 29 Mar 2008 22:20:49 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 856731CC060; Sat, 29 Mar 2008 15:20:49 -0700 (PDT) Date: Sat, 29 Mar 2008 15:20:49 -0700 From: Jeremy Chadwick To: Vince Message-ID: <20080329222049.GA80263@eos.sc1.parodius.com> References: <47EEBE78.5050506@unsane.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47EEBE78.5050506@unsane.co.uk> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 22:20:49 -0000 On Sat, Mar 29, 2008 at 10:11:04PM +0000, Vince wrote: > Is it expected that removing a usb serial adapter while you have a > connection (eg tip) using it will panic a -stable system? I know it is > expected if you remove a mounted umass device so wanted to see if its known > behavior for serial before I file a pr. (adapter is converter, class 0/0, rev 1.10/4.00, addr 3>) > -stable version as of the 25th march, (may have existed before but the > first time I forgot to close tip before removing the device was on this > version.) I would expect that the problem is identical in the sense that with a connection established, you have an open file descriptor which is associated with a serial device that uses USB. So, yes, I would expect this behaviour based on the track record. Should it happen? The answer is no. File a PR? Also, I'd like to know what USB serial adapter you're using (brand, model, and a website of it if possible), for unrelated reasons. Thanks! -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |