USBAT 0.5.4 for Linux 2.6

Daniel Drake dsd at gentoo.org
Sat Feb 5 14:39:18 CET 2005


Hi Jim,

Hm, this is odd. There are no errors in your log anywhere- it seems to have 
transferred everything perfectly - but the uservisible results don't tie in 
with this.

Which device is it? Which kernel are you running?
Have you got any other CF readers you can test on the same configuration?

We can also test it without getting filesystems involved. Be warned that this 
will destroy any data (including the partition table) on your card.

Use this command to create a 1mb file:
# dd if=/dev/urandom of=fileA bs=1M count=1

Record its md5sum:
# md5sum fileA

Now copy it *directly* onto the device. Make sure it isn't mounted, just do 
the exact command below, where sda is the root device node: (notice that i use 
sda, not sda1...)
# cat fileA > /dev/sda

Now copy that back over into another file:
# dd if=/dev/sda of=fileB bs=1M count=1

And check its md5sum:
# md5sum fileB

Both md5sums should match. Do they? You might wish to experiment with 
different file sizes.

Thanks,
Daniel


More information about the Usbat2 mailing list