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

Stefan Walter sw at gegenunendlich.de
Sat Jul 9 13:53:39 GMT 2005


Hans Petter Selasky, 09.07.05, 14:36h CEST:

> > I don't think it's the USB stick, as the device works fine with ehci at my
> > notebook (Intel chipset). Furthermore, I could now reproduce the problem
> > with an external USB HD enclosure, too.
> 
> Ok, lets have a look at the EHCI driver and see what is going on. I'm not sure 
> how to do this with the official USB driver, but if you could have installed 
> my USB driver again, and replace the function "ehci_timeout()" in the file 
> "/sys/dev/usb2/_ehci.c" with the following:
[...]
> And then compile a new kernel and/or modules.
> 
> Your device was USB 2.0, right, else you have to do something similar 
> to /sys/dev/usb2/_uhci.c if the device is USB 1.X.
> 
> Just leave all debugging flags off, and then try to reproduce the error [one 
> or more times] and post the dmsg that appears.

OK, dmesg says the following:

umass0: SCSI over Bulk-Only; quirks = 0x0000
umass0:3:0:-1: Attached to scbus3
da2 at umass-sim0 bus 0 target 0 lun 0
da2: < USB BAR 2.00> Removable Direct Access SCSI-2 device 
da2: 40.000MB/s transfers
da2: 124MB (255744 512 byte sectors: 64H 32S/T 124C)
ehci_timeout: checking transfer 0xc212d800: 
ehci_check_transfer: xfer=0xc212d800 active
ehci_check_transfer: xfer=0xc212d800 is still active
ehci_device_done: xfer=0xc212d800, pipe=0xc1ca1d60 length=0 error=20
ehci_device_done: nexttog=1; data after transfer:
QTD(0xc212d900) at 0x19f81900:
  next=0x00000001<T> altnext=0x00000001<T>
  status=0x000d8d80: toggle=0 bytes=0xd ioc=1 c_page=0x0
    cerr=3 pid=1 stat=80<ACTIVE>
  buffer[0]=0x19f818d0
  buffer[1]=0x19f81000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
_ehci_remove_qh: 0xc212da00 from 0xc212da00
ehci_timeout: checking transfer 0xc2114800: 
ehci_check_transfer: xfer=0xc2114800 active
ehci_check_transfer: xfer=0xc2114800 is still active
ehci_device_done: xfer=0xc2114800, pipe=0xc1ca1d60 length=0 error=20
ehci_device_done: nexttog=1; data after transfer:
QTD(0xc2114900) at 0x17ac8900:
  next=0x00000001<T> altnext=0x00000001<T>
  status=0x000d8d80: toggle=0 bytes=0xd ioc=1 c_page=0x0
    cerr=3 pid=1 stat=80<ACTIVE>
  buffer[0]=0x17ac88d0
  buffer[1]=0x17ac8000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
_ehci_remove_qh: 0xc2114a00 from 0xc2114a00
ehci_timeout: checking transfer 0xc212b800: 
ehci_check_transfer: xfer=0xc212b800 active
ehci_check_transfer: xfer=0xc212b800 is still active
ehci_device_done: xfer=0xc212b800, pipe=0xc1ca1d60 length=0 error=20
ehci_device_done: nexttog=1; data after transfer:
QTD(0xc212b900) at 0x18b9f900:
  next=0x00000001<T> altnext=0x00000001<T>
  status=0x000d8d80: toggle=0 bytes=0xd ioc=1 c_page=0x0
    cerr=3 pid=1 stat=80<ACTIVE>
  buffer[0]=0x18b9f8d0
  buffer[1]=0x18b9f000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
_ehci_remove_qh: 0xc212ba00 from 0xc212ba00
ehci_timeout: checking transfer 0xc212b000: 
ehci_check_transfer: xfer=0xc212b000 active
ehci_check_transfer: xfer=0xc212b000 is still active
ehci_device_done: xfer=0xc212b000, pipe=0xc1ca1d60 length=0 error=20
ehci_device_done: nexttog=1; data after transfer:
QTD(0xc212b100) at 0x18b9f100:
  next=0x00000001<T> altnext=0x00000001<T>
  status=0x000d8d80: toggle=0 bytes=0xd ioc=1 c_page=0x0
    cerr=3 pid=1 stat=80<ACTIVE>
  buffer[0]=0x18b9f0d0
  buffer[1]=0x18b9f000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
_ehci_remove_qh: 0xc212b200 from 0xc212b200
ehci_timeout: checking transfer 0xdeb2e000: 
ehci_check_transfer: xfer=0xdeb2e000 active
ehci_check_transfer: xfer=0xdeb2e000 is still active
ehci_device_done: xfer=0xdeb2e000, pipe=0xc1ca1d60 length=0 error=20
ehci_device_done: nexttog=0; data after transfer:
QTD(0xdeb32100) at 0x1f350100:
  next=0x1f350140<> altnext=0x00000001<T>
  status=0x00001d00: toggle=0 bytes=0x0 ioc=0 c_page=0x1
    cerr=3 pid=1 stat=0
  buffer[0]=0x1f34c0d0
  buffer[1]=0x1f34d000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
QTD(0xdeb32140) at 0x1f350140:
  next=0x1f350180<> altnext=0x00000001<T>
  status=0x00001d00: toggle=0 bytes=0x0 ioc=0 c_page=0x1
    cerr=3 pid=1 stat=0
  buffer[0]=0x1f34d0d0
  buffer[1]=0x1f34e000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
QTD(0xdeb32180) at 0x1f350180:
  next=0x1f3501c0<> altnext=0x00000001<T>
  status=0x00001d00: toggle=0 bytes=0x0 ioc=0 c_page=0x1
    cerr=3 pid=1 stat=0
  buffer[0]=0x1f34e0d0
  buffer[1]=0x1f34f000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
QTD(0xdeb321c0) at 0x1f3501c0:
  next=0x00000001<T> altnext=0x00000001<T>
  status=0x10008d80: toggle=0 bytes=0x1000 ioc=1 c_page=0x0
    cerr=3 pid=1 stat=80<ACTIVE>
  buffer[0]=0x1f34f0d0
  buffer[1]=0x1f350000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
_ehci_remove_qh: 0xdeb32400 from 0xdeb32400

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/20050709/59526e67/attachment.bin


More information about the freebsd-usb mailing list