cardreader replugged
Hans Petter Selasky
hps at selasky.org
Wed Apr 15 06:48:33 UTC 2015
On 04/15/15 08:39, Eugene M. Zheganin wrote:
> Hi.
>
> I'm using the cardreader sometimes. The bad thing is that it's plugged
> in the server. Yesterday someone replugged it, now the usb bus, as
> camcontrol sees it, always shows an error:
>
> [root at moscow-alpha:~]# camcontrol rescan all
> Re-scan of bus 0 was successful
> Re-scan of bus 1 was successful
> Re-scan of bus 2 was successful
> Re-scan of bus 3 was successful
> Re-scan of bus 4 was successful
> Re-scan of bus 5 was successful
> Re-scan of bus 6 returned error 0xa
>
> and the usbconfig just hangs.
>
> Is there something I can do besides rebooting the server ?
> Looks like a bug to me.
>
Hi,
If you use KGDB and dump all threads, and look for usb_ or usbd_ , then
probably you'll see who is waiting for what. Typically most of these
problems reside in the CAM / SCSI layer, which does not release all
reference counts when the device is going away.
--HPS
More information about the freebsd-usb
mailing list