Project

General

Profile

Bug #1446

Updated by tuxillo almost 10 years ago

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

Back