Re: Panic with usb serial



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
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Panic with usb serial
    ... expected if you remove a mounted umass device so wanted to see if its known ... first time I forgot to close tip before removing the device was on this ... connection established, you have an open file descriptor which is ... Also, I'd like to know what USB serial adapter you're using (brand, ...
    (freebsd-stable)
  • Re: Panic with usb serial
    ... Is it expected that removing a usb serial adapter while you have a ... connection using it will panic a -stable system? ... expected if you remove a mounted umass device so wanted to see if its ... first time I forgot to close tip before removing the device was on this ...
    (freebsd-stable)
  • Panic with usb serial
    ... Is it expected that removing a usb serial adapter while you have a connection 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. ...
    (freebsd-stable)
  • Re: Direct Printing in OSR505
    ... It probably isn't expecting to pass control to a script ... And as I read it the app in question isn't expecting anything from ... that didn't make any floppies that could be used elsewhere. ... connection and wrote it to a file. ...
    (comp.unix.sco.misc)
  • Re: NOVICE: Remote Debuging - What is Needed?
    ... Can we please keep the questions threaded, rather than expecting someone to ... When the connection is established, ... I have a Windows CE device. ... I would like to debug the application on the actual unit. ...
    (microsoft.public.dotnet.framework.compactframework)