On Tue, 4 Dec 2007, B Seeger wrote:

> Howdy, 
> 
> I've looked through the archives and couldn't find an answer to my
> questions, so.... 
> 
> I have an embedded system where I use a hotplug script to automount a
> USB stick.  Sometimes it fails and the error I see is (via dmesg): 
>  
> hub.c: new USB device 00:0e.0-1, assigned address 2
> scsi0 : SCSI emulation for USB Mass Storage devices
>   Vendor: SanDisk   Model: U3 Cruzer Micro   Rev: 3.21
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> usb_control/bulk_msg: timeout
> host/usb-ohci.c: unlink URB timeout
> 
> The script will not run at this point as the stick doesn't appear to be
> mounted.

Is it possible that you have some other program running and trying to 
access the stick?  You could try booting into single-user mode to see 
if that's the problem.  Or kill all your daemon processes.

Another possibility is to unmount /proc/bus/usb.  That should prevent 
other programs from interfering.

> It's a linux 2.4.29 kernel (Debian distro) with basic USB support (snip
> of config file below).  The hardware we have for the USB is a USB 1.1
> port.  The vendor for the USB stick (as shown above) is SanDisk - U3
> Cruzer Micro model.  Some of their sticks work in this system, others
> don't (same exact model sticks).  

Does each stick behave consistently?

> I've had more and more of these issues over the past year with this
> system and I'm wondering if it's the fact that USB 1.1 (which this
> system is using) is not really supported by USB 2.0 sticks (though the
> manufacturer says it is).  

The manufacturer is right.

> My question's are - can anyone tell me more about this URB timeout and
> what it's caused by?  Could the USB stick be misbehaving or the kernel
> simply not up to date enough for these 2.0 sticks? 

It's not possible to tell what's causing the timeout from the 
information you have provided.

Have you tried plugging the non-working sticks into a machine running a 
more-recent 2.6 kernel?

Alan Stern


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to