I'm seeing this on OpenWrt SNAPSHOT r20582-548db4980f running on a gl.inet MT1300 Beryl. Anyone know if spi-mt7621 runs DMA or know if vjorlikowski patch works on this device?
Sun Sep 11 19:24:49 2022 kern.err kernel: [ 72.308679] SQUASHFS error: xz decompression failed, data probably corrupt
Sun Sep 11 19:24:49 2022 kern.err kernel: [ 72.315801] SQUASHFS error: Failed to read block 0x4b9d26: -5
Sun Sep 11 19:24:49 2022 kern.err kernel: [ 72.321708] SQUASHFS error: Unable to read data cache entry [4b9d26]
Sun Sep 11 19:24:49 2022 kern.err kernel: [ 72.328141] SQUASHFS error: Unable to read page, block 4b9d26, size 1790c
Sun Sep 11 19:24:49 2022 kern.err kernel: [ 72.335135] SQUASHFS error: Unable to read data cache entry [4b9d26]
Sun Sep 11 19:24:49 2022 kern.err kernel: [ 72.341656] SQUASHFS error: Unable to read page, block 4b9d26, size 1790c
Sun Sep 11 19:24:49 2022 kern.err kernel: [ 72.348651] SQUASHFS error: Unable to read data cache entry [4b9d26]
Sun Sep 11 19:24:49 2022 kern.err kernel: [ 72.355192] SQUASHFS error: Unable to read page, block 4b9d26, size 1790c
So weird, when I removed luci-app-aria2 (which I had installed previously) the squashfs errors went away on boot.
Anecdotally, when I installed luci-app-transmission the squashfs error came back on boot. Both those apps were setup to access a f2fs formatted microsd. Not sure if the microsd access is causing this error. I am NOT running extroot from this microsd.
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.653116] SQUASHFS error: xz decompression failed, data probably corrupt
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.660110] SQUASHFS error: Failed to read block 0xb6c4de: -5
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.665936] SQUASHFS error: Unable to read fragment cache entry [b6c4de]
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.672794] SQUASHFS error: Unable to read page, block b6c4de, size f008
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.679590] SQUASHFS error: Unable to read fragment cache entry [b6c4de]
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.686361] SQUASHFS error: Unable to read page, block b6c4de, size f008
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.693171] SQUASHFS error: Unable to read fragment cache entry [b6c4de]
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.700169] SQUASHFS error: Unable to read page, block b6c4de, size f008
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.706982] SQUASHFS error: Unable to read fragment cache entry [b6c4de]
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.713809] SQUASHFS error: Unable to read page, block b6c4de, size f008
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.720666] SQUASHFS error: Unable to read fragment cache entry [b6c4de]
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.727436] SQUASHFS error: Unable to read page, block b6c4de, size f008
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.774345] SQUASHFS error: Unable to read fragment cache entry [b6c4de]
Sun Sep 11 21:34:11 2022 kern.err kernel: [ 48.781135] SQUASHFS error: Unable to read page, block b6c4de, size f008
I tried to apply your forward-ported SquashFS patch on 21.02.3 via but encountered multiple errors during the build process (HUNK errors) on my Ath79 WD MyNet N750. However, the NoTengo patch built successfully. Any idea what was causing the HUNK errors with your particular patch? I built against the same kernel version.
I flashed my WD N750 and the squashfs errors disappeared completely from all logs and the device ran well for 24 hours, but it fell into a boot-loop after the first reboot. I had to reflash to 19.07.10.
Later, I flashed the latest September 17 2022 SNAPSHOT but it still produces a variety of SquashFS errors upon reboot.
I can confirm that I've observed no further SquashFS errors on my WD MyNet 750 with 21.02.3 since creating an overlay via USB drive. The router has been running reliably for more than a week with the USB overlay. The moment I boot the router without the USB overlay the errors return.
Additionally, I'd highly recommend creating the overlay immediately after flashing/upgrading OpenWRT and before you reboot! Do not reboot the router until you've created the overlay configuration and copied the overlay files. If you reboot before creating the overlay, the SquashFS errors may occur and you may end up creating a compromised overlay by copying partially corrupt files.
I executed “echo 3 > /proc/sys/vm/drop_caches” to clear the cache, then SQUASHFS error disappeared, but the 5 files are still not fixed.
My board disk is nand flash, squashfs in ubi volume. It running for 1 month before appeared SQUASHFS error.
The squashfs image data in nand flash is corrected, I had check it.
It's been 20 days and I can't reappear again.
Does anyone know the reason? Any suggestions.
I have been happy using usb extroot. It's nice to have a real ext4 filesystem with the usual tools and be able to update and install whatever packages I want without having to worry about space or wear on flash memory. Performance seems fine.
Even if the corruption bug was fixed, I'd probably continue to install usb extroot going forward.