From owner-freebsd-stable@FreeBSD.ORG Sat Mar 29 23:44:24 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 337DE106564A; Sat, 29 Mar 2008 23:44:24 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 040518FC15; Sat, 29 Mar 2008 23:44:22 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from crab.unsane.co.uk (crab.unsane.co.uk [10.0.0.111]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m2TNiHe9030897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Mar 2008 23:44:17 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <47EED34E.2080400@unsane.co.uk> Date: Sat, 29 Mar 2008 23:39:58 +0000 From: Vince User-Agent: Thunderbird 2.0.0.12 (X11/20080313) MIME-Version: 1.0 To: Jeremy Chadwick References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> In-Reply-To: <20080329222049.GA80263@eos.sc1.parodius.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 23:44:24 -0000 Jeremy Chadwick wrote: > 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! > About what I was expecting but just thought I'd check. Will file a PR tomorrow when my wife isnt browsing facebook on that laptop :) Regarding the USB serial adapter, I was supplied it though work a while back. I believe from my rather fuzzy memory we got it though these guys http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html Although I wouldn't swear to it. I'll have an ask if anyone remembers on monday. Vince