SquashFS Errors

Problem Statement

Some users have reported being unable to boot from the Ubuntu LiveCD, due to SquashFS errors like this:

SQUASHFS error: sb_bread failed reading block 0x9d7f3
SQUASHFS error: Unable to read fragment cache block [275faa28]
SQUASHFS error: Unable to read page, block 275faa28, size 23a7

Example 2:

[ 1228.553598] EXT3 FS on sda5, internal journal
[ 1228.553605] EXT3-fs: mounted filesystem with ordered data mode.
[ 1349.994012] SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 131072, avail_in 352, avail_out 92175
[ 1349.994024] SQUASHFS error: sb_bread failed reading block 0x77162
[ 1349.994029] SQUASHFS error: Unable to read fragment cache block [1dc4df1a]
[ 1349.994035] SQUASHFS error: Unable to read page, block 1dc4df1a, size a972

Example error when loading Xubuntu with Wubi on first boot:

[ 81.364872] Btrfs loaded
[ 90.596351] Adding 261112k swap on /host/ubuntu/disks/swap.disk. Priority:-1 extents:1 across:261112k
[ 104.800436] EXT4-fs (loop2): mounted filesystem with ordered data mode
[ 288.909464] SQUASHFS error: zlib_inflate error, data probably corrupt
[ 288.909481] SQUASHFS error: squashfs_read_data failed to read block 0x11b3773e
[ 288.909490] SQUASHFS error: Unable to read data cache entry [11b3773e]
[ 288.909494] SQUASHFS error: Unable to read page, block 11b3773e, size 17512
[ 288.909531] SQUASHFS error: Unable to read data cache entry [11b3773e]
[ 288.909534] SQUASHFS error: Unable to read page, block 11b3773e, size 17512
[ 288.909557] SQUASHFS error: Unable to read data cache entry [11b3773e]
[ 288.909561] SQUASHFS error: Unable to read page, block 11b3773e, size 17512
[ 288.909574] SQUASHFS error: Unable to read data cache entry [11b3773e]
[ 288.909578] SQUASHFS error: Unable to read page, block 11b3773e, size 17512
[ 288.909591] SQUASHFS error: Unable to read data cache entry [11b3773e]
[ 288.909594] SQUASHFS error: Unable to read page, block 11b3773e, size 17512
[ 288.909609] SQUASHFS error: Unable to read data cache entry [11b3773e]
[ 288.909612] SQUASHFS error: Unable to read page, block 11b3773e, size 17512
[ 288.909626] SQUASHFS error: Unable to read data cache entry [11b3773e]
[ 288.909630] SQUASHFS error: Unable to read page, block 11b3773e, size 17512
[ 288.909644] SQUASHFS error: Unable to read data cache entry [11b3773e]
[ 288.909647] SQUASHFS error: Unable to read page, block 11b3773e, size 17512
[ 288.909664] SQUASHFS error: Unable to read data cache entry [11b3773e]
[ 288.909667] SQUASHFS error: Unable to read page, block 11b3773e, size 17512

Causes and Solutions

These errors can be due to a variety of reasons:

  • bad memory modules (solution: use memtest86+ to check your memory)
  • a bad dvd drive (solution: if possible, try using a different cd/dvd drive)
  • bad data cable (solution: change it for a new one)
  • bad media (solution: try burning the iso image to a new disc)
  • a corrupted iso image (solution: run an md5 checksum, and if they don't match, download the iso image again)

Temporary Workarounds

Some users have reported that adding the ide=nodma or acpi=off allowed them to work around this issue (which proved to be bad memory modules). You might want to give that a try

Successful boot was achieved by adding "all_generic_ide" to the grub boot line for the live CD.

You can add those lines to the grub entry, either in the grub.conf file or either entering letter 'e' on the grub menu and after editing Control+x to boot:

Add to the grub line:

all_generic_ide pci=nommconf

Add to the kernel line:

ide=nodma acpi=off

More information about the problem in grub can be found here: https://bugs.launchpad.net/wubi/+bug/608941

If is not a HW problem and you can probe it

If you definitely found that is not a HW issue, add you comment with all the logs and evidence you can get to Launchpad bug #172937

SquashfsErrors (last edited 2010-07-23 10:40:22 by 118)