From owner-freebsd-usb@FreeBSD.ORG Sat Jul 9 13:53:39 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 736A316A41C for ; Sat, 9 Jul 2005 13:53:39 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from mail.onlinefix.de (mail2-out.titan-networks.de [217.140.72.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B041743D53 for ; Sat, 9 Jul 2005 13:53:37 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from kyuzo.dunkelkammer.void ([217.140.77.242]) (authenticated bits=0) by mail.onlinefix.de (8.12.3/8.12.3/Debian-7.1) with ESMTP id j69DrUZ5000414 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 9 Jul 2005 15:53:30 +0200 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id 6A1AF3E0D; Sat, 9 Jul 2005 15:53:29 +0200 (CEST) Date: Sat, 9 Jul 2005 15:53:29 +0200 From: Stefan Walter To: Hans Petter Selasky Message-ID: <20050709135329.GA855@kyuzo.dunkelkammer.void> References: <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> <200507041918.47258.hselasky@c2i.net> <20050706173604.GA812@kyuzo.dunkelkammer.void> <200507091436.44489.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline In-Reply-To: <200507091436.44489.hselasky@c2i.net> Organization: Infinity Approximation Task Force X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fingerprint: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 User-Agent: Mutt/1.5.9i Cc: freebsd-usb@freebsd.org Subject: Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 13:53:39 -0000 --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 altnext=3D0x00000001 status=3D0x000d8d80: toggle=3D0 bytes=3D0xd ioc=3D1 c_page=3D0x0 cerr=3D3 pid=3D1 stat=3D80 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 altnext=3D0x00000001 status=3D0x000d8d80: toggle=3D0 bytes=3D0xd ioc=3D1 c_page=3D0x0 cerr=3D3 pid=3D1 stat=3D80 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 altnext=3D0x00000001 status=3D0x000d8d80: toggle=3D0 bytes=3D0xd ioc=3D1 c_page=3D0x0 cerr=3D3 pid=3D1 stat=3D80 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 altnext=3D0x00000001 status=3D0x000d8d80: toggle=3D0 bytes=3D0xd ioc=3D1 c_page=3D0x0 cerr=3D3 pid=3D1 stat=3D80 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 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 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 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 altnext=3D0x00000001 status=3D0x10008d80: toggle=3D0 bytes=3D0x1000 ioc=3D1 c_page=3D0x0 cerr=3D3 pid=3D1 stat=3D80 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--