I've been seeing just about random corruption in a squashfs inside my ramdisk, so I split -n200
the one received and the one sent, sha256sum'd the two sets of split pieces, suspiciously only a single section was corrupt:
# diff orig.sha broke.sha
163c163
< 2d280c2acbc1fb4d9ad788a2018ade18151fc462246fa415555f921b72829b23 ./xgg
---
> feee29ea112be2d05b82c952bd6ba5715708b782adf5eabf3cf518258784463d ./xgg
so I diffoscoped those two, and:
# diffoscope orig/xgg ./broke/xgg
--- orig/xgg
+++ ./broke/xgg
...snip...
-000d9720: b21d 155a f955 e13e 1722 fe47 a216 3fbc ...Z.U.>.".G..?.
+000d9720: b21d 155a f955 e03e 1722 fe47 a216 3fbc ...Z.U.>.".G..?.
a 1 became a 0