recent USB MFCs cause panics

Helge Oldach usbcrash at oldach.net
Thu May 5 15:00:31 PDT 2005


Julian Elischer:
> in usb_port.h
> comment out line 425 (as below)
> 
> 422
>     423 #define config_detach(dev, flag) \
>     424         do { \
>     425                 /* device_detach(dev); */ \
>     426                 free(device_get_ivars(dev), M_USB); \
>     427                 device_delete_child(device_get_parent(dev), dev); \
>     428         } while (0);
>     429
> 

OK. Upon inserting and detaching a flash diesk I get:

umass0: USB Flash Disk, rev 2.00/2.00, addr 5
umass0: USB Flash Disk, rev 2.00/2.00, addr 5
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: at uhub1 port 2 (addr 5) disconnected
umass0: detached

Now insert it again, for the second attempt:

umass0: USB Flash Disk, rev 2.00/2.00, addr 5
umass0: USB Flash Disk, rev 2.00/2.00, addr 5
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: at uhub1 port 2 (addr 5) disconnected
umass0: detached
: BBB bulk-out clear stall failed, CANCELLED
umass-sim:1:0:0:func_code 0x0901: Invalid target (target needed)
umass-sim:1:0:0:func_code 0x0901: Invalid target (target needed)
umass-sim:1:0:0:func_code 0x0901: Invalid target (target needed)
panic: : Unknown state 0


syncing disks... 
done
Uptime: 1m45s
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot,
--> or switch off the system now.
Rebooting...

Helge


More information about the freebsd-usb mailing list