usb/82660: EHCI: I/O stuck in state 'physrd'/panic

Stefan Walter sw at gegenunendlich.de
Sun Jul 3 07:56:42 GMT 2005


Hans Petter Selasky, 02.07.05, 15:53h CEST:

> > http://www.gegenunendlich.de/stuff/messages-umass-until-pullout.bz2
> > http://www.gegenunendlich.de/stuff/messages-umass-after-pullout.diff
> 
> The end of the log is just before you pulled out your device, when the error 
> happened, right?

Yes, but...

> I'm not sure what is wrong. From what I can see the problem is in an upper 
> layer, hence UMASS's USB transfers should timeout at least, if they get 
> stuck.

...maybe I pulled the stick out too quickly until now. I just noticed
that, when I'm patient enough, the transfer is eventually resumed (after
about two minutes). Some data is transferred (size varying), then it
stalls again. I didn't notice that before. I've uploaded a message log of
a complete transfer of a 17 MB file (that is, the file was successfully
copied to the hard disk with mtools) now (with hw.usb.umass.debug=-1):

http://www.gegenunendlich.de/stuff/ehci/umass-messages-complete-transfer.bz2

The log also contains messages of sudo(8) being called. I ran sudo every
time I noticed that some data had been copied and the transfer stalled
again to mark those points of time in the log. You'll notice umass timeout
messages around those ones.

I hope this one is a bit more helpful than the others.

> While having [umass] debugging enabled, could you have tried playing 
> around with "camcontrol" and see if it changes anything:
> 
> man camcontrol
> camcontrol devlist
> camcontrol reset scbus0:0:0 
> 
> # replace "0:0" with "target" and "lun" for the device you are reading from

I did reset the device with another stalled transfer a few times. It
didn't resume the transfer, but here's a log:

http://www.gegenunendlich.de/stuff/ehci/umass-messages-bus-reset.bz2

> Could you have tried another brand of USB 2.0 flash disks and see if the 
> problem is the same?

Currently not, no. I thought the other device I have was USB 2.0, too, but
I was wrong.

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 650 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20050703/fd8c5857/attachment.bin


More information about the freebsd-usb mailing list