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

Stefan Walter sw at gegenunendlich.de
Sun Jul 10 09:34:06 GMT 2005


Hans Petter Selasky, 09.07.05, 23:52h CEST:

> > 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
> >
> 
> This doesn't indicate any errors. The transfer is simply waiting for data and 
> the USB device is not supplying any so the transfer does not finish. But I 
> want to have a look at a parent structure too, to see if your EHCI controller 
> is not writing back or updating the last QTD. In the 
> file /sys/dev/usb2/_ehci.c in the function ehci_device_done():
[...]

OK, here it is:

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 0xc2127000: 
ehci_check_transfer: xfer=0xc2127000 active
ehci_check_transfer: xfer=0xc2127000 is still active
ehci_device_done: xfer=0xc2127000, pipe=0xc1c81560 length=0 error=20
ehci_device_done: nexttog=1; data after transfer:
QTD(0xc2127100) at 0x1aa5b100:
  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]=0x1aa5b0d0
  buffer[1]=0x1aa5b000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
QH(0xc2127200) at 0x1aa5b200:
  link=0x1f3a8002<QH>
  endp=0x8200617e
    addr=0x7e inact=0 endpt=1 eps=2 dtc=1 hrecl=0
    mpl=0x200 ctl=0 nrl=8
  endphub=0x40fff000
    smask=0x00 cmask=0xf0 huba=0x7f port=1 mult=1
  curqtd=0x1aa5b100<>
Overlay qTD:
  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]=0x1aa5b0d0
  buffer[1]=0x1aa5b000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
_ehci_remove_qh: 0xc2127200 from 0xc2127200
ehci_timeout: checking transfer 0xc2128000: 
ehci_check_transfer: xfer=0xc2128000 active
ehci_check_transfer: xfer=0xc2128000 is still active
ehci_device_done: xfer=0xc2128000, pipe=0xc1c81560 length=0 error=20
ehci_device_done: nexttog=1; data after transfer:
QTD(0xc2128100) at 0x1a7bc100:
  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]=0x1a7bc0d0
  buffer[1]=0x1a7bc000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
QH(0xc2128200) at 0x1a7bc200:
  link=0x1f3a8002<QH>
  endp=0x8200617e
    addr=0x7e inact=0 endpt=1 eps=2 dtc=1 hrecl=0
    mpl=0x200 ctl=0 nrl=8
  endphub=0x40fff000
    smask=0x00 cmask=0xf0 huba=0x7f port=1 mult=1
  curqtd=0x1a7bc100<>
Overlay qTD:
  next=0x00000001<T> altnext=0x0000000f<T>
  status=0x000d8d80: toggle=0 bytes=0xd ioc=1 c_page=0x0
    cerr=3 pid=1 stat=80<ACTIVE>
  buffer[0]=0x1a7bc0d0
  buffer[1]=0x1a7bc000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
_ehci_remove_qh: 0xc2128200 from 0xc2128200
ehci_timeout: checking transfer 0xc2127800: 
ehci_check_transfer: xfer=0xc2127800 active
ehci_check_transfer: xfer=0xc2127800 is still active
ehci_device_done: xfer=0xc2127800, pipe=0xc1c81560 length=0 error=20
ehci_device_done: nexttog=0; data after transfer:
QTD(0xc2127900) at 0x1aa5b900:
  next=0x00000001<T> altnext=0x00000001<T>
  status=0x800d8d80: toggle=1 bytes=0xd ioc=1 c_page=0x0
    cerr=3 pid=1 stat=80<ACTIVE>
  buffer[0]=0x1aa5b8d0
  buffer[1]=0x1aa5b000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
QH(0xc2127a00) at 0x1aa5ba00:
  link=0x1f3a8002<QH>
  endp=0x8200617e
    addr=0x7e inact=0 endpt=1 eps=2 dtc=1 hrecl=0
    mpl=0x200 ctl=0 nrl=8
  endphub=0x40fff000
    smask=0x00 cmask=0xf0 huba=0x7f port=1 mult=1
  curqtd=0x1aa5b900<>
Overlay qTD:
  next=0x00000001<T> altnext=0x00000001<T>
  status=0x800d8d80: toggle=1 bytes=0xd ioc=1 c_page=0x0
    cerr=3 pid=1 stat=80<ACTIVE>
  buffer[0]=0x1aa5b8d0
  buffer[1]=0x1aa5b000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
_ehci_remove_qh: 0xc2127a00 from 0xc2127a00
ehci_timeout: checking transfer 0xc2113800: 
ehci_check_transfer: xfer=0xc2113800 active
ehci_check_transfer: xfer=0xc2113800 is still active
ehci_device_done: xfer=0xc2113800, pipe=0xc1c81560 length=0 error=20
ehci_device_done: nexttog=1; data after transfer:
QTD(0xc2113900) at 0x18227900:
  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]=0x182278d0
  buffer[1]=0x18227000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
QH(0xc2113a00) at 0x18227a00:
  link=0x1f3a8002<QH>
  endp=0x8200617e
    addr=0x7e inact=0 endpt=1 eps=2 dtc=1 hrecl=0
    mpl=0x200 ctl=0 nrl=8
  endphub=0x40fff000
    smask=0x00 cmask=0xf0 huba=0x7f port=1 mult=1
  curqtd=0x18227900<>
Overlay qTD:
  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]=0x182278d0
  buffer[1]=0x18227000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
_ehci_remove_qh: 0xc2113a00 from 0xc2113a00
ehci_timeout: checking transfer 0xc2127000: 
ehci_check_transfer: xfer=0xc2127000 active
ehci_check_transfer: xfer=0xc2127000 is still active
ehci_device_done: xfer=0xc2127000, pipe=0xc1c81560 length=0 error=20
ehci_device_done: nexttog=0; data after transfer:
QTD(0xc2127100) at 0x1aa5b100:
  next=0x00000001<T> altnext=0x00000001<T>
  status=0x800d8d80: toggle=1 bytes=0xd ioc=1 c_page=0x0
    cerr=3 pid=1 stat=80<ACTIVE>
  buffer[0]=0x1aa5b0d0
  buffer[1]=0x1aa5b000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
QH(0xc2127200) at 0x1aa5b200:
  link=0x1f3a8002<QH>
  endp=0x8200617e
    addr=0x7e inact=0 endpt=1 eps=2 dtc=1 hrecl=0
    mpl=0x200 ctl=0 nrl=8
  endphub=0x40fff000
    smask=0x00 cmask=0xf0 huba=0x7f port=1 mult=1
  curqtd=0x1aa5b100<>
Overlay qTD:
  next=0x00000001<T> altnext=0x00000001<T>
  status=0x800d8d80: toggle=1 bytes=0xd ioc=1 c_page=0x0
    cerr=3 pid=1 stat=80<ACTIVE>
  buffer[0]=0x1aa5b0d0
  buffer[1]=0x1aa5b000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
_ehci_remove_qh: 0xc2127200 from 0xc2127200
ehci_timeout: checking transfer 0xc2128000: 
ehci_check_transfer: xfer=0xc2128000 active
ehci_check_transfer: xfer=0xc2128000 is still active
ehci_device_done: xfer=0xc2128000, pipe=0xc1c81560 length=0 error=20
ehci_device_done: nexttog=1; data after transfer:
QTD(0xc2128100) at 0x1a7bc100:
  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]=0x1a7bc0d0
  buffer[1]=0x1a7bc000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
QH(0xc2128200) at 0x1a7bc200:
  link=0x1f3a8002<QH>
  endp=0x8200617e
    addr=0x7e inact=0 endpt=1 eps=2 dtc=1 hrecl=0
    mpl=0x200 ctl=0 nrl=8
  endphub=0x40fff000
    smask=0x00 cmask=0xf0 huba=0x7f port=1 mult=1
  curqtd=0x1a7bc100<>
Overlay qTD:
  next=0x00000001<T> altnext=0x0000000f<T>
  status=0x000d8d80: toggle=0 bytes=0xd ioc=1 c_page=0x0
    cerr=3 pid=1 stat=80<ACTIVE>
  buffer[0]=0x1a7bc0d0
  buffer[1]=0x1a7bc000
  buffer[2]=0x00000000
  buffer[3]=0x00000000
  buffer[4]=0x00000000
_ehci_remove_qh: 0xc2128200 from 0xc2128200

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/20050710/3ea5dd82/attachment.bin


More information about the freebsd-usb mailing list