Re: USB storage: corrupted data transfers

From: Mark Lord
Date: Sat Nov 10 2007 - 19:06:57 EST


Mark Lord wrote:
Mark Lord wrote:
Something may be broken in USB / usb-storage land.

I've got a 2GB USB stick here.
I want to copy it to an image file on my hard drive:

cat /dev/sdb > usbkey.image1

Make a second copy, with or without unplugging/replugging the stick:

cat /dev/sdb > usbkey.image2

After doing this, the two copies *differ*.

Here's the information on the specific devices I'm trying this with.

I'm beginning to suspect a faulty stick, or maybe one that just doesn't
work reliably with the way Linux accesses it (?). The type that fails
...

Yup, bad hardware. I've got 13 of those sticks here, and 11 are fine.

Move along folks, nothing to see here.. :)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/