From: Wolfgang Breyha [mailto:wbreyha@xxxxxxx] > Sent: 08 September 2016 14:27 > David Laight wrote on 07/09/16 18:25: > > I'd expect files much smaller than 500MB to fail if the problem was > > actually to do with a 64 sector limit. > > > > So I'm guessing that this isn't the fix. > > > > Much more likely is that limiting the sector count to 64 stops transfers > > crossing some sector boundary (maybe at 500MB ?). > > I did some more tests. The test system for these tests runs Fedora 24 with > kernel 4.6.4-301.fc24.x86_64, 8GB RAM, i5-4670. The problems also occurs on > the most recent 4.7.2-201.fc24.x86_64 on two other machines (HP EB 820 G1, > ASUS Z170/i5-6500). > > I removed the quirks option and generated random files with different sizes > with eg: > dd if=/dev/urandom iflag=fullblock of=256MB.test bs=1M count=256 ... 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. 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