From: Wolfgang Breyha > Sent: 08 September 2016 16:32 > David Laight wrote on 08/09/16 15:30: > > Try with raw writes to the disk, rather than going through the filesystem. > > That will remove effects caused by the alignment of the filesystem and the > > size of the filesystem blocks. > > Ok, I did > dd if=768MB.test of=/dev/sdb oflag=direct bs=1M > dd if=/dev/sdb bs=1M count=768 iflag=direct|sha1sum > with the differently sized files from before (and a 2GB file) now... > > I wrote them all once and the larger files (768MB, 2GB) multiple times, but > only the 768MB and the 2GB file failed once yet: Try writing with: dd if=768MB.test of=/dev/sdb oflag=direct bs=1M seek_bytes seek=$((n*512)) for several small values of 'n' so that the writes are misaligned. It may also be worth finding out what the USB transfers look like. David -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html