On Tue, 13 Dec 2005, Andrea Arcangeli wrote:

> I've an USB storage key that gives these errors on my x86_64 system:

> ohci_hcd 0000:01:00.1: urb ffff810022377d40 path 2 ep2out 5fce0000 cc 5 --> 
> status -110
> hub 2-0:1.0: state 5 ports 3 chg 0000 evt 0004
> ohci_hcd 0000:01:00.1: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS 
> PES CCS
> usb 2-2: reset full speed USB device using ohci_hcd and address 8

> Buffer I/O error on device sda1, logical block 550
> lost page write due to I/O error on sda1
> [..]
> 
> The same usb key works fine on my laptop (2.6.15-rc4 too) and on a ppc64 
> system
> (but the ppc64 system has a much older kernel). The laptop doesn't use the 
> ohci
> driver.
> 
> It could be an hardware problem too?
> 
> One more detail, reads work fine (cp /dev/sda /dev/null does too), only
> writes fail like this.

To get more information, you can try turning on CONFIG_USB_STORAGE_DEBUG.  
In this case it's not clear whether the additional information will help, 
although it might.  The device is timing out on writes, and seeing what 
commands preceded the timeouts could indicate what is going wrong.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to