On Sun, Jun 06, 2004 at 04:55:16PM -0400, Alan Stern wrote:
> > A standalone USB 2.0 card writer worked in both Linux and Windows. Since
> > these things are pretty cheap I'm probably gonna buy one myself and use
> > it to write files to my MP3 player.
>
> I take it that you're not interested in pursuing this any further then?
> If the problem is still present is 2.6.7 then it's worth tracking down,
> because it might affect other people without their realizing it.
I'll do whatever I can to help you track down the bug. Gonna give 2.6.7
a try as soon as it's out.
> One test you could try: If exactly the same sequence of data blocks is
> written to the device, do the errors show up at exactly the same
> locations?
Oh, I did that already: The corrupted blocks seem to be scattered
randomly. Even when I'm copying from /dev/zero the result is always
different. The number of bytes to be written before any I/O errors
appear isn't constant either.
To make things even more strange: Yesterday, after excessive plugging
and unplugging, rebooting, loading and unloading modules and card
swapping the bloody thing did eventually begin to work as expected.
Well, almost: from time to time the data transfer would stop for about
30 seconds, but I could still fill the entire card with uncorrupted
files. After a further reboot the errors were back.
> The fact that the errors affect regions of length 64 indicates strongly
> that they do arise somewhere in the USB system, since full-speed bulk
> transfers generally occur in 64-byte blocks.
There's another striking coincidence: The additional byte's value is
always 0x40 == 64.
Cheers,
Ingo
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel