Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jul 2005 11:33:59 +0200
From:      Stefan Walter <sw@gegenunendlich.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic
Message-ID:  <20050710093359.GA840@kyuzo.dunkelkammer.void>
In-Reply-To: <200507092352.33451.hselasky@c2i.net>
References:  <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> <200507091436.44489.hselasky@c2i.net> <20050709135329.GA855@kyuzo.dunkelkammer.void> <200507092352.33451.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

> > QTD(0xdeb321c0) at 0x1f3501c0:
> >   next=3D0x00000001<T> altnext=3D0x00000001<T>
> >   status=3D0x10008d80: toggle=3D0 bytes=3D0x1000 ioc=3D1 c_page=3D0x0
> >     cerr=3D3 pid=3D1 stat=3D80<ACTIVE>
> >   buffer[0]=3D0x1f34f0d0
> >   buffer[1]=3D0x1f350000
> >   buffer[2]=3D0x00000000
> >   buffer[3]=3D0x00000000
> >   buffer[4]=3D0x00000000
> > _ehci_remove_qh: 0xdeb32400 from 0xdeb32400
> >
>=20
> This doesn't indicate any errors. The transfer is simply waiting for data=
 and=20
> the USB device is not supplying any so the transfer does not finish. But =
I=20
> want to have a look at a parent structure too, to see if your EHCI contro=
ller=20
> is not writing back or updating the last QTD. In the=20
> file /sys/dev/usb2/_ehci.c in the function ehci_device_done():
[...]

OK, here it is:

umass0: SCSI over Bulk-Only; quirks =3D 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=20
da2: 40.000MB/s transfers
da2: 124MB (255744 512 byte sectors: 64H 32S/T 124C)
ehci_timeout: checking transfer 0xc2127000:=20
ehci_check_transfer: xfer=3D0xc2127000 active
ehci_check_transfer: xfer=3D0xc2127000 is still active
ehci_device_done: xfer=3D0xc2127000, pipe=3D0xc1c81560 length=3D0 error=3D20
ehci_device_done: nexttog=3D1; data after transfer:
QTD(0xc2127100) at 0x1aa5b100:
  next=3D0x00000001<T> altnext=3D0x00000001<T>
  status=3D0x000d8d80: toggle=3D0 bytes=3D0xd ioc=3D1 c_page=3D0x0
    cerr=3D3 pid=3D1 stat=3D80<ACTIVE>
  buffer[0]=3D0x1aa5b0d0
  buffer[1]=3D0x1aa5b000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
QH(0xc2127200) at 0x1aa5b200:
  link=3D0x1f3a8002<QH>
  endp=3D0x8200617e
    addr=3D0x7e inact=3D0 endpt=3D1 eps=3D2 dtc=3D1 hrecl=3D0
    mpl=3D0x200 ctl=3D0 nrl=3D8
  endphub=3D0x40fff000
    smask=3D0x00 cmask=3D0xf0 huba=3D0x7f port=3D1 mult=3D1
  curqtd=3D0x1aa5b100<>
Overlay qTD:
  next=3D0x00000001<T> altnext=3D0x00000001<T>
  status=3D0x000d8d80: toggle=3D0 bytes=3D0xd ioc=3D1 c_page=3D0x0
    cerr=3D3 pid=3D1 stat=3D80<ACTIVE>
  buffer[0]=3D0x1aa5b0d0
  buffer[1]=3D0x1aa5b000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
_ehci_remove_qh: 0xc2127200 from 0xc2127200
ehci_timeout: checking transfer 0xc2128000:=20
ehci_check_transfer: xfer=3D0xc2128000 active
ehci_check_transfer: xfer=3D0xc2128000 is still active
ehci_device_done: xfer=3D0xc2128000, pipe=3D0xc1c81560 length=3D0 error=3D20
ehci_device_done: nexttog=3D1; data after transfer:
QTD(0xc2128100) at 0x1a7bc100:
  next=3D0x00000001<T> altnext=3D0x00000001<T>
  status=3D0x000d8d80: toggle=3D0 bytes=3D0xd ioc=3D1 c_page=3D0x0
    cerr=3D3 pid=3D1 stat=3D80<ACTIVE>
  buffer[0]=3D0x1a7bc0d0
  buffer[1]=3D0x1a7bc000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
QH(0xc2128200) at 0x1a7bc200:
  link=3D0x1f3a8002<QH>
  endp=3D0x8200617e
    addr=3D0x7e inact=3D0 endpt=3D1 eps=3D2 dtc=3D1 hrecl=3D0
    mpl=3D0x200 ctl=3D0 nrl=3D8
  endphub=3D0x40fff000
    smask=3D0x00 cmask=3D0xf0 huba=3D0x7f port=3D1 mult=3D1
  curqtd=3D0x1a7bc100<>
Overlay qTD:
  next=3D0x00000001<T> altnext=3D0x0000000f<T>
  status=3D0x000d8d80: toggle=3D0 bytes=3D0xd ioc=3D1 c_page=3D0x0
    cerr=3D3 pid=3D1 stat=3D80<ACTIVE>
  buffer[0]=3D0x1a7bc0d0
  buffer[1]=3D0x1a7bc000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
_ehci_remove_qh: 0xc2128200 from 0xc2128200
ehci_timeout: checking transfer 0xc2127800:=20
ehci_check_transfer: xfer=3D0xc2127800 active
ehci_check_transfer: xfer=3D0xc2127800 is still active
ehci_device_done: xfer=3D0xc2127800, pipe=3D0xc1c81560 length=3D0 error=3D20
ehci_device_done: nexttog=3D0; data after transfer:
QTD(0xc2127900) at 0x1aa5b900:
  next=3D0x00000001<T> altnext=3D0x00000001<T>
  status=3D0x800d8d80: toggle=3D1 bytes=3D0xd ioc=3D1 c_page=3D0x0
    cerr=3D3 pid=3D1 stat=3D80<ACTIVE>
  buffer[0]=3D0x1aa5b8d0
  buffer[1]=3D0x1aa5b000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
QH(0xc2127a00) at 0x1aa5ba00:
  link=3D0x1f3a8002<QH>
  endp=3D0x8200617e
    addr=3D0x7e inact=3D0 endpt=3D1 eps=3D2 dtc=3D1 hrecl=3D0
    mpl=3D0x200 ctl=3D0 nrl=3D8
  endphub=3D0x40fff000
    smask=3D0x00 cmask=3D0xf0 huba=3D0x7f port=3D1 mult=3D1
  curqtd=3D0x1aa5b900<>
Overlay qTD:
  next=3D0x00000001<T> altnext=3D0x00000001<T>
  status=3D0x800d8d80: toggle=3D1 bytes=3D0xd ioc=3D1 c_page=3D0x0
    cerr=3D3 pid=3D1 stat=3D80<ACTIVE>
  buffer[0]=3D0x1aa5b8d0
  buffer[1]=3D0x1aa5b000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
_ehci_remove_qh: 0xc2127a00 from 0xc2127a00
ehci_timeout: checking transfer 0xc2113800:=20
ehci_check_transfer: xfer=3D0xc2113800 active
ehci_check_transfer: xfer=3D0xc2113800 is still active
ehci_device_done: xfer=3D0xc2113800, pipe=3D0xc1c81560 length=3D0 error=3D20
ehci_device_done: nexttog=3D1; data after transfer:
QTD(0xc2113900) at 0x18227900:
  next=3D0x00000001<T> altnext=3D0x00000001<T>
  status=3D0x000d8d80: toggle=3D0 bytes=3D0xd ioc=3D1 c_page=3D0x0
    cerr=3D3 pid=3D1 stat=3D80<ACTIVE>
  buffer[0]=3D0x182278d0
  buffer[1]=3D0x18227000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
QH(0xc2113a00) at 0x18227a00:
  link=3D0x1f3a8002<QH>
  endp=3D0x8200617e
    addr=3D0x7e inact=3D0 endpt=3D1 eps=3D2 dtc=3D1 hrecl=3D0
    mpl=3D0x200 ctl=3D0 nrl=3D8
  endphub=3D0x40fff000
    smask=3D0x00 cmask=3D0xf0 huba=3D0x7f port=3D1 mult=3D1
  curqtd=3D0x18227900<>
Overlay qTD:
  next=3D0x00000001<T> altnext=3D0x00000001<T>
  status=3D0x000d8d80: toggle=3D0 bytes=3D0xd ioc=3D1 c_page=3D0x0
    cerr=3D3 pid=3D1 stat=3D80<ACTIVE>
  buffer[0]=3D0x182278d0
  buffer[1]=3D0x18227000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
_ehci_remove_qh: 0xc2113a00 from 0xc2113a00
ehci_timeout: checking transfer 0xc2127000:=20
ehci_check_transfer: xfer=3D0xc2127000 active
ehci_check_transfer: xfer=3D0xc2127000 is still active
ehci_device_done: xfer=3D0xc2127000, pipe=3D0xc1c81560 length=3D0 error=3D20
ehci_device_done: nexttog=3D0; data after transfer:
QTD(0xc2127100) at 0x1aa5b100:
  next=3D0x00000001<T> altnext=3D0x00000001<T>
  status=3D0x800d8d80: toggle=3D1 bytes=3D0xd ioc=3D1 c_page=3D0x0
    cerr=3D3 pid=3D1 stat=3D80<ACTIVE>
  buffer[0]=3D0x1aa5b0d0
  buffer[1]=3D0x1aa5b000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
QH(0xc2127200) at 0x1aa5b200:
  link=3D0x1f3a8002<QH>
  endp=3D0x8200617e
    addr=3D0x7e inact=3D0 endpt=3D1 eps=3D2 dtc=3D1 hrecl=3D0
    mpl=3D0x200 ctl=3D0 nrl=3D8
  endphub=3D0x40fff000
    smask=3D0x00 cmask=3D0xf0 huba=3D0x7f port=3D1 mult=3D1
  curqtd=3D0x1aa5b100<>
Overlay qTD:
  next=3D0x00000001<T> altnext=3D0x00000001<T>
  status=3D0x800d8d80: toggle=3D1 bytes=3D0xd ioc=3D1 c_page=3D0x0
    cerr=3D3 pid=3D1 stat=3D80<ACTIVE>
  buffer[0]=3D0x1aa5b0d0
  buffer[1]=3D0x1aa5b000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
_ehci_remove_qh: 0xc2127200 from 0xc2127200
ehci_timeout: checking transfer 0xc2128000:=20
ehci_check_transfer: xfer=3D0xc2128000 active
ehci_check_transfer: xfer=3D0xc2128000 is still active
ehci_device_done: xfer=3D0xc2128000, pipe=3D0xc1c81560 length=3D0 error=3D20
ehci_device_done: nexttog=3D1; data after transfer:
QTD(0xc2128100) at 0x1a7bc100:
  next=3D0x00000001<T> altnext=3D0x00000001<T>
  status=3D0x000d8d80: toggle=3D0 bytes=3D0xd ioc=3D1 c_page=3D0x0
    cerr=3D3 pid=3D1 stat=3D80<ACTIVE>
  buffer[0]=3D0x1a7bc0d0
  buffer[1]=3D0x1a7bc000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
QH(0xc2128200) at 0x1a7bc200:
  link=3D0x1f3a8002<QH>
  endp=3D0x8200617e
    addr=3D0x7e inact=3D0 endpt=3D1 eps=3D2 dtc=3D1 hrecl=3D0
    mpl=3D0x200 ctl=3D0 nrl=3D8
  endphub=3D0x40fff000
    smask=3D0x00 cmask=3D0xf0 huba=3D0x7f port=3D1 mult=3D1
  curqtd=3D0x1a7bc100<>
Overlay qTD:
  next=3D0x00000001<T> altnext=3D0x0000000f<T>
  status=3D0x000d8d80: toggle=3D0 bytes=3D0xd ioc=3D1 c_page=3D0x0
    cerr=3D3 pid=3D1 stat=3D80<ACTIVE>
  buffer[0]=3D0x1a7bc0d0
  buffer[1]=3D0x1a7bc000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
_ehci_remove_qh: 0xc2128200 from 0xc2128200

Stefan

--y0ulUmNC+osPPQO6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iQGVAwUBQtDrh1aRERsSueCzAQKauwv/TGjTYtTj3q6aS0WiSjFhAGbCwX2kGMdc
iZ+PmgVgxh5esyKq9qxT+pcgtmVNfinC/Y0pbZlCf5eAJs1RaPgx7lBRI5IA0fK+
xiACfqQLauR4JEukfKLl+uBnHOUxjHwwMOZ+p4Ql3qDkSiSdUA1czKmKazP0nt0f
fHCELVAFr5yAwrvrkQ3Je+PyaxuJI/R2hYqTMhBa2TVNjTpHMd85xs+LhXcBwFDC
WYQ+HpxtgaY5Dr8UmiEKTathNfaujPssLoBUcgMOw5srfjaQhGv4SXMtB7aVsg/O
UZnBKDqtaTCTLle0hoAIKrbhQUdQrf35kC4oQUKpEIfgSp1DJ2DyiJ0U4YKizUfJ
dfYVfhlOySAjEuNcpiisY4WYMpyUR3K5dPVR5UZ14brwlG40JiX8MJxaXR5WDJ9j
GUjKeIw5TUtG587dcPrgSjAvwA/vjJe71KSAJvypaP9K4Ap7/gQWWJH60B6L5xPM
JZHewNoZ1J/JKK4X7o0u0OLSE/4JIUMY
=h7W2
-----END PGP SIGNATURE-----

--y0ulUmNC+osPPQO6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050710093359.GA840>