Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 2008 23:39:58 +0000
From:      Vince <jhary@unsane.co.uk>
To:        Jeremy Chadwick <koitsu@freebsd.org>
Cc:        freebsd-stable@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: Panic with usb serial
Message-ID:  <47EED34E.2080400@unsane.co.uk>
In-Reply-To: <20080329222049.GA80263@eos.sc1.parodius.com>
References:  <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <FTDI usb serial 
>> 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



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