Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2005 15:53:29 +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:  <20050709135329.GA855@kyuzo.dunkelkammer.void>
In-Reply-To: <200507091436.44489.hselasky@c2i.net>
References:  <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> <200507041918.47258.hselasky@c2i.net> <20050706173604.GA812@kyuzo.dunkelkammer.void> <200507091436.44489.hselasky@c2i.net>

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

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> Ok, lets have a look at the EHCI driver and see what is going on. I'm not=
 sure=20
> how to do this with the official USB driver, but if you could have instal=
led=20
> my USB driver again, and replace the function "ehci_timeout()" in the fil=
e=20
> "/sys/dev/usb2/_ehci.c" with the following:
[...]
> And then compile a new kernel and/or modules.
>=20
> Your device was USB 2.0, right, else you have to do something similar=20
> to /sys/dev/usb2/_uhci.c if the device is USB 1.X.
>=20
> Just leave all debugging flags off, and then try to reproduce the error [=
one=20
> or more times] and post the dmsg that appears.

OK, dmesg says the following:

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 0xc212d800:=20
ehci_check_transfer: xfer=3D0xc212d800 active
ehci_check_transfer: xfer=3D0xc212d800 is still active
ehci_device_done: xfer=3D0xc212d800, pipe=3D0xc1ca1d60 length=3D0 error=3D20
ehci_device_done: nexttog=3D1; data after transfer:
QTD(0xc212d900) at 0x19f81900:
  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]=3D0x19f818d0
  buffer[1]=3D0x19f81000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
_ehci_remove_qh: 0xc212da00 from 0xc212da00
ehci_timeout: checking transfer 0xc2114800:=20
ehci_check_transfer: xfer=3D0xc2114800 active
ehci_check_transfer: xfer=3D0xc2114800 is still active
ehci_device_done: xfer=3D0xc2114800, pipe=3D0xc1ca1d60 length=3D0 error=3D20
ehci_device_done: nexttog=3D1; data after transfer:
QTD(0xc2114900) at 0x17ac8900:
  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]=3D0x17ac88d0
  buffer[1]=3D0x17ac8000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
_ehci_remove_qh: 0xc2114a00 from 0xc2114a00
ehci_timeout: checking transfer 0xc212b800:=20
ehci_check_transfer: xfer=3D0xc212b800 active
ehci_check_transfer: xfer=3D0xc212b800 is still active
ehci_device_done: xfer=3D0xc212b800, pipe=3D0xc1ca1d60 length=3D0 error=3D20
ehci_device_done: nexttog=3D1; data after transfer:
QTD(0xc212b900) at 0x18b9f900:
  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]=3D0x18b9f8d0
  buffer[1]=3D0x18b9f000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
_ehci_remove_qh: 0xc212ba00 from 0xc212ba00
ehci_timeout: checking transfer 0xc212b000:=20
ehci_check_transfer: xfer=3D0xc212b000 active
ehci_check_transfer: xfer=3D0xc212b000 is still active
ehci_device_done: xfer=3D0xc212b000, pipe=3D0xc1ca1d60 length=3D0 error=3D20
ehci_device_done: nexttog=3D1; data after transfer:
QTD(0xc212b100) at 0x18b9f100:
  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]=3D0x18b9f0d0
  buffer[1]=3D0x18b9f000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
_ehci_remove_qh: 0xc212b200 from 0xc212b200
ehci_timeout: checking transfer 0xdeb2e000:=20
ehci_check_transfer: xfer=3D0xdeb2e000 active
ehci_check_transfer: xfer=3D0xdeb2e000 is still active
ehci_device_done: xfer=3D0xdeb2e000, pipe=3D0xc1ca1d60 length=3D0 error=3D20
ehci_device_done: nexttog=3D0; data after transfer:
QTD(0xdeb32100) at 0x1f350100:
  next=3D0x1f350140<> altnext=3D0x00000001<T>
  status=3D0x00001d00: toggle=3D0 bytes=3D0x0 ioc=3D0 c_page=3D0x1
    cerr=3D3 pid=3D1 stat=3D0
  buffer[0]=3D0x1f34c0d0
  buffer[1]=3D0x1f34d000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
QTD(0xdeb32140) at 0x1f350140:
  next=3D0x1f350180<> altnext=3D0x00000001<T>
  status=3D0x00001d00: toggle=3D0 bytes=3D0x0 ioc=3D0 c_page=3D0x1
    cerr=3D3 pid=3D1 stat=3D0
  buffer[0]=3D0x1f34d0d0
  buffer[1]=3D0x1f34e000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
QTD(0xdeb32180) at 0x1f350180:
  next=3D0x1f3501c0<> altnext=3D0x00000001<T>
  status=3D0x00001d00: toggle=3D0 bytes=3D0x0 ioc=3D0 c_page=3D0x1
    cerr=3D3 pid=3D1 stat=3D0
  buffer[0]=3D0x1f34e0d0
  buffer[1]=3D0x1f34f000
  buffer[2]=3D0x00000000
  buffer[3]=3D0x00000000
  buffer[4]=3D0x00000000
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

Stefan

--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iQGVAwUBQs/W2VaRERsSueCzAQL1IQv/YtboneFKDKT7tGpnsgRraZJt0ihdECYS
ItrnDiNSCVoYCKJ34UBF0tLEaioMfsLATImJZYEdI1cKfHiu257zckoeoKHK69MX
/Gh2Fb8hVfiXSv9gvOXzXM/ZVOVb47VATtv3x5vDpvTpByZirRRpOImIwqq7DneG
GbU0v/W0Y13E08TVDd+rN0d7pttI/L+0bKdXuDCinpVD266bq2koAytKMOADslgk
M8CvPdlWwpgmxcg+bq43pRzMr1Qr5T2eGNmcN1FeDjM4Tz5bnCsaPbLt/J482+yX
b2e8to/DfwubSKNW7gjRw0HF8E5ZJsqzwOGLESpSWRtLjybAj761GobFkmBBdA5A
nFt4P/VmaOJHRmC9OJZZxFmT5g7GzKctoVEadIKAyO+vh7owMKv0p5nOKM2wypM+
HInpaaekXz2FWGdbMyOP23ASrGmZ3QX+uHwXqumMaGY/iYDovlWL7jeHEE5x8Br0
rs+9lzfQUVpVSopiBnNY+2/U8E11fCI9
=Uow+
-----END PGP SIGNATURE-----

--HlL+5n6rz5pIUxbD--



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