David Brownell wrote: > Hmm, that symptom could be caused by a bug I noticed a while back. > I didn't have a chance to test the fix, but it compiles and runs > OK in "normal" operations. > > See if this patch makes a difference:
Yes, it does. After usb storage hangup, removing module ehci-hcd works now. > - Simplified irq-safe access to the request spinlock (cheaper) > - Cleans up properly when faults are reported before all of > the scatterlist urbs got submitted. > > Faults in that window are clearly uncommon, although hardware > locking up the way you described could easily trigger them. I did unload all usb modules and then loaded modules usbcore, uhci-hcd, ehci-hcd, usb-storage and sd_mod. But usb storage wasn't registered again (usb storage's led shining). Switching usb storage power off and on solves this problem. Device is registered again. No need to reboot anymore. But the hang - up - problem does persist. dmesg shows this: usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_bulk_transfer_sglist: xfer 4096 bytes, 1 entries usb-storage: command_abort called usb-storage: usb_stor_stop_transport called usb-storage: -- cancelling sg request usb-storage: Status code -104; transferred 1536/4096 usb-storage: -- transfer cancelled usb-storage: Bulk data transfer result 0x4 usb-storage: -- command was aborted usb-storage: usb_stor_Bulk_reset called usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value=0000 index=00 len=0 usb-storage: Timeout -- cancelling URB usb-storage: Soft reset failed: -104 usb-storage: scsi command aborted usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 usb-storage: Bulk Command S 0x43425355 T 0x9cc0c L 0 F 0 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes Connecting usb storage to other USB EHCI controller and then transferring data to it works great. Lukas
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
