On Fri, 9 Jan 2004, Alan Stern wrote:

> Okay, I looked at your log.  It shows everything working pretty much okay
> until your computer tries to read sector 7552 (1d80 in hex), at which
> point the device refused to send the data.  It would transmit part -- a
> different amount each time the operation was retried -- and then cause a
> protocol error.  That corresponds to 3776 KB; does your device really only
> hold 3.7 MB?  Or maybe it has a bad sector or other problem at that 
> location?

I'm confused, too.  The device is a USB2.0 flash drive (aka pen drive).  
I could "fdisk -l", mount, ls, etc on the drive with no problems.  I could
reproduce the error with "dd if=/dev/sda of=/dev/null bs=1M count=40" at
any time (mounted, not mounted, etc).  The error would show up after
several minutes.

On a different machine (Toshiba laptop with USB2.0), I cannot reproduce
the situation.  I can "dd" all day long and never get an error.  It
usually takes less than 10 seconds to read 40MB from the device.  I use
the same USB flash drive for both machines...

This indicates to me that there is some problem with the desktop machine.  
Someone else reported a similar problem with a VT8235-based motherboard.  
(http://marc.theaimsgroup.com/?l=linux-kernel&m=107336413331179&w=2)  He 
reports that it works okay with a USB1.1 device, with 2.4.X, or with 
Windows.  This seems to point to the Linux 2.6 implementation for this 
hardware.


Is there anything else I can investigate?  The next chance I get, I am 
going to get the USB debug log from the laptop to compare against the 
desktop's log.


Thanks for looking into this.



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to