[DragonFlyBSD - Bug #1446] USB flash drives not working on one of my machines

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Jan 15 11:34:39 PST 2015


Issue #1446 has been updated by rumcic.


tuxillo wrote:
> Hi,
> 
> Would it be possible to try reproducing this issue with latest master?
> 
> Cheers,
> Antonio Huete

Not really, the only machine running dfly is 32bit, not supported on master.

----------------------------------------
Bug #1446: USB flash drives not working on one of my machines
http://bugs.dragonflybsd.org/issues/1446#change-12484

* Author: rumcic
* Status: Feedback
* Priority: Normal
* Assignee: 
* Category: Driver
* Target version: 4.2.x
----------------------------------------
On master whenever I plug in an USB flash drive I get:
Aug  9 14:29:50 rumko kernel: usbd_transfer_cb: short transfer 0<8
Aug  9 14:29:50 rumko kernel: usbd_new_device: addr=2, getting first desc
failed
Aug  9 14:29:50 rumko kernel: uhub_explore: usb_new_device failed,
error=SHORT_XFER
Aug  9 14:29:50 rumko kernel: uhub1: device problem (SHORT_XFER), disabling
port 1

Found a freebsd PR (http://www.freebsd.org/cgi/query-pr.cgi?pr=103167&cat=)
that showed the same problem and a solution
(http://lists.freebsd.org/pipermail/cvs-all/2006-October/190784.html).
So I added the following patches:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/Attic/ehci.c.diff?hideattic=0&r2=1.50&r1=1.49&f=u
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/Attic/ohci.c.diff?hideattic=0&r2=1.165&r1=1.164&f=u
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/Attic/usb_subr.c.diff?hideattic=0&r2=1.87&r1=1.86&f=u

But now I get (3 tries on 2 different ports):
Aug  9 15:47:13 rumko kernel: usbd_get_string: getting lang failed, using 0
Aug  9 15:47:39 rumko kernel: uhub_explore: usb_new_device failed,
error=TIMEOUT
Aug  9 15:47:39 rumko kernel: uhub1: device problem (TIMEOUT), disabling port 1
Aug  9 15:48:03 rumko kernel: usbd_get_string: getting lang failed, using 0
Aug  9 15:48:19 rumko kernel: uhub_explore: usb_new_device failed,
error=TIMEOUT
Aug  9 15:48:19 rumko kernel: uhub1: device problem (TIMEOUT), disabling port 8
Aug  9 15:52:17 rumko kernel: usbd_get_string: getting lang failed, using 0
Aug  9 15:52:33 rumko kernel: uhub_explore: usb_new_device failed,
error=STALLED
Aug  9 15:52:33 rumko kernel: uhub1: device problem (STALLED), disabling port 1

So it still doesn't work and am at a loss as to what to do next. I have 2 other
machines (another dfly and one freebsd), but the flash drives work there
without problems so it's fortunately not a big problem for me.
This machine is nforce4 based (recent dmesg can be seen at
http://www.rumko.net/dragonfly/dmesg.boot).
-- 
Regards,
Rumko



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list