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
[-- Attachment #1 --]
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
[-- Attachment #2 --]
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050709135329.GA855>
