Date: Mon, 26 Oct 2009 15:03:33 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-hackers@freebsd.org Cc: des@des.no, freebsd-usb@freebsd.org Subject: Re: Help troubleshooting... Message-ID: <200910261503.33747.hselasky@c2i.net> In-Reply-To: <20091026.073759.2130803790.imp@bsdimp.com> References: <200910261258.08135.hselasky@c2i.net> <86skd6cmm8.fsf@ds4.des.no> <20091026.073759.2130803790.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 26 October 2009 14:37:59 M. Warner Losh wrote: > In message: <86skd6cmm8.fsf@ds4.des.no> > > Dag-Erling_Sm=F8rgrav <des@des.no> writes: > : "M. Warner Losh" <imp@bsdimp.com> writes: > : > FreeBSD lighthouse 9.0-CURRENT FreeBSD 9.0-CURRENT #41 r185338:198411= M: > : > Fri Oct 23 10:08:48 MDT 2009 =20 > : > imp@lighthouse:/cache/svn/head/sys/amd64/compile/LIGHTHOUSE amd64 > : > > : > so it would have r197682 baked in (the first number in my rev string > : > is a mystery to me). > : > : It means you have an inconsistent tree. The first number is the oldest > : revision in your tree, the second is the newest, and the M means you > : have local modifications. > > Yes. Of course I have local modifications, but none in the usb stack. > But I've also done a svn update from the top of the tree multiple > times and this version number persists. > > : > Re another post: This is a 8GB flash, so I'm sure that there's enough > : > power. > : > : Non sequitur. Bigger chips draw more power. Is it plugged directly > : into the computer? If not, is it plugged into a powered hub? How many > : other devices are connected to the computer or hub? > Hi, > Not entirely. This flash has worked in this computer in the past > without issues (like a year ago when we were first integrating hpsusb > into the tree). Since then there has been at least one patch to improve performance in the= =20 EHCI driver. When the cat command stops, could you try to run: usbconfig -u XXX -a YYY dump_device_desc dump_curr_config_desc On that device. Is usbconfig able to extract the string descriptors in the= =20 device and config descriptor? Or do you get timeouts? Also check vmstat -i . > This flash is plugged directly into the computer. > This behavior is consistent across multiple ports on the computer (so > it isn't a bad port). While this doesn't prove it isn't a power > issue, the odds are stacked against it being one. If there were a way > to get the internal hub to tell me how much power it can deliver, and > for me to query the flash to see maximum current draws, we could see > if we're close to the edge or not... Usually the maximum current is given by the device descriptor, but it might= =20 now be the actual value. See usbconfig dump_device_desc. =2D-HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910261503.33747.hselasky>