Date: Tue, 27 Dec 2011 17:35:12 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: =?utf-8?b?0JzQvtC80YfQuNC7INCY0LLQsNC90L7Qsg==?= <momchil@xaxo.eu> Cc: freebsd-usb@freebsd.org Subject: Re: USB problems with 8.2 Message-ID: <201112271735.12468.hselasky@c2i.net> In-Reply-To: <86d3baq8vd.wl%momchil@xaxo.eu> References: <86ipl3dl5q.wl%momchil@xaxo.eu> <201112271651.46421.hselasky@c2i.net> <86d3baq8vd.wl%momchil@xaxo.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 27 December 2011 17:25:58 =D0=9C=D0=BE=D0=BC=D1=87=D0=B8=D0=BB = =D0=98=D0=B2=D0=B0=D0=BD=D0=BE=D0=B2 wrote: > At Tue, 27 Dec 2011 16:51:46 +0100, >=20 > Hans Petter Selasky wrote: > > On Tuesday 27 December 2011 16:48:48 =D0=9C=D0=BE=D0=BC=D1=87=D0=B8=D0= =BB =D0=98=D0=B2=D0=B0=D0=BD=D0=BE=D0=B2 wrote: > > > At Tue, 27 Dec 2011 16:28:49 +0100, > > >=20 > > > Hans Petter Selasky wrote: > > > > On Tuesday 27 December 2011 16:21:35 =D0=9C=D0=BE=D0=BC=D1=87=D0=B8= =D0=BB =D0=98=D0=B2=D0=B0=D0=BD=D0=BE=D0=B2 wrote: > > > > > 16:13:27.509643 usbus6.2 > > > > > DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D0,SLEN=3D0,IVAL=3D0,ERR= =3D > > > >=20 > > > > Hi, > > > >=20 > > > > The timeout error means the USB host is not getting the expected > > > > data. > > > >=20 > > > > To figure out who is guilty not transferring or receiving the data > > > > you need to have an USB analyzer, like the Beagle 480 (Runs under > > > > Linux). > > > >=20 > > > > Else also see the quirks in: > > > >=20 > > > > sysctl -a hw.usb.ehci > > >=20 > > > sysctl: unknown oid 'hw.usb.ehci' > > >=20 > > > btw I don't seem to have any hw.usb.ehci sysctl... This is all that > > > there is under hw.usb: > > >=20 > > > hw.usb.no_boot_wait: 0 > > > hw.usb.debug: 0 > > > hw.usb.usb_lang_mask: 255 > > > hw.usb.usb_lang_id: 9 > > > hw.usb.template: 0 > > > hw.usb.power_timeout: 30 > > > hw.usb.no_pf: 0 > > > hw.usb.no_cs_fail: 0 > > >=20 > > > Since I don't have this kind of equiptment, I will not be able to do > > > anything more. Is there some way I can set that timeout to something > > > like 1-2 seconds? > >=20 > > sysctl hw.usb.ehci > > hw.usb.ehci.lostintrbug: 0 > > hw.usb.ehci.iaadbug: 0 > > hw.usb.ehci.no_hs: 0 > > hw.usb.ehci.debug: 0 > >=20 > > I think you need to build a kernel with "options USB_DEBUG" before the > > lostintrbug will be available! I suspect setting this parameter will > > solve your problem! >=20 > I've just rebuilt the kernel with "options USB_DEBUG" and rebooted without > setting the cache quirk but with "hw.usb.ehci.lostintrbug=3D1" and rtorre= nt > just hashed more than 4 GB without any stalls. So that seems to fix the > issue. Man EHCI(4) needs to fixed since it does not mention anything about > that kernel option, should I file a pr? >=20 > Thank you for your time. Yes, please do! =2D-HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112271735.12468.hselasky>