From owner-freebsd-usb@FreeBSD.ORG Wed Jun 29 13:58:09 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 60D8316A41C for ; Wed, 29 Jun 2005 13:58:09 +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 E368F43D48 for ; Wed, 29 Jun 2005 13:58:07 +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 j5TDw3MO001595 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 29 Jun 2005 15:58:04 +0200 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id 65EC33A1D; Wed, 29 Jun 2005 15:58:02 +0200 (CEST) Date: Wed, 29 Jun 2005 15:58:02 +0200 From: Stefan Walter To: Hans Petter Selasky Message-ID: <20050629135802.GA976@kyuzo.dunkelkammer.void> References: <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> <200506261415.46921.hselasky@c2i.net> <20050628172321.GA3464@kyuzo.dunkelkammer.void> <200506291225.36375.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <200506291225.36375.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: Wed, 29 Jun 2005 13:58:09 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Cc'd usb@, maybe someone else wants to comment on this, too.] Hans Petter Selasky, 29.06.05, 12:25h CEST: > On Tuesday 28 June 2005 19:23, you wrote: > > Hi, > > > > Hans Petter Selasky, 26.06.05, 14:15h CEST: > > > I know there is bug related to the alignments of hardware structures = in > > > the existing EHCI driver. The EHCI driver works with generic intel ch= ips, > > > but not others. > > > > > > Could you have tried my USB driver and see if the problem is the same? > > > > I tried your driver today, but unfortunately the same thing happened: I= /O > > got stuck after reading a few KBytes. >=20 > OK, then your problem is most likely inside /sys/dev/usb/umass.c. > =20 > Try "sysctl hw.usb.umass.debug=3D15" while you have the my driver in the = kernel,=20 > hence it has got debugging flags enabled by default. Else you need to add= =20 > something like "option USB_DEBUG" to your kernel config file. I'm not sur= e if=20 > you can compile the modules with debugging support unless you use my USB= =20 > driver. >=20 > See if any errors show up. >=20 > Then try "sysctl hw.usb.debug=3D15". See if any errors appear. I tried that with the official FreeBSD driver for now (USB_DEBUG and ehci in the kernel). hw.usb.umass.debug=3D15 didn't show me any messages during the transfer, only when (dis)connecting the device. hw.usb.debug=3D15 dumped a lot of output. It's available here: http://www.gegenunendlich.de/stuff/messages_-_until_pullout.bz2 (Output before I pulled the stick out again) http://www.gegenunendlich.de/stuff/messages_-_after_pullout.diff (Output after pulling it out) I haven't tried the same with your driver, yet - would that bring more info? Regards, Stefan --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iQGVAwUBQsKo6laRERsSueCzAQKj3wwAhheO29LA3RgRYPa4z3bhEh2F5ibU3vlu 2PlxXPuX7/goOxPNwZLGrPBj8CrXtvNvugHH3nEBmfj91iFEh7DSbss8qujLGSe3 BbwkoQBHtmR/ztF/Q3f7VqOCogPy69Cin5N+pa+/LWRNfnyCC4/JvB96irPh+8m0 VLTIO75OvD7YkKkaPcXdz6l21m174NsnJFg+Uvr2crcSpeQ8tbcXEHTJfclcGgCx Kt63kJbt4mWeKjLCjcOzrB1VDmpbMJusM0y7mqG2SuAcKGWSDCxF4hDIw3aGq4bY 2ef776Kf7M1m33HpZIfAgrHQ63XD6Bk1CQYgcWUr2pFuBgYmwA3ooFQYbOILRs/k pxzytBpTPy9+a0fybmsVOrMeQUxC8YydLDmnduqJjFp5rsoWsLS/kXmjvOaS6zH4 7B+fECxoK1oQsDlnYL11INgTM2PlNVat/oUlUKSb5lt006rAqrThcHHhBakbZ1AT CgA6HlgYXUUkMRh2srH6BgA4frnaNt6E =0b6F -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--