Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] support/tests: fix squashfs test
Date: Sun, 27 Jun 2021 10:06:42 +0200	[thread overview]
Message-ID: <20210627100642.02796d00@windsurf> (raw)
In-Reply-To: <20210627065350.23826-1-yann.morin.1998@free.fr>

On Sun, 27 Jun 2021 08:53:50 +0200
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote:

> Commit 3cf2782906d5 (support/testing/infra/emulator.py: update pre-built
> kernels) bumped the default kernels used by the testing infra.
> 
> However, the newer armv7 kernel (at least) no longer has support for
> lz4-compressed squashfs filesystems.
> 
> This nreaks the squashfs test:
> 
>     Filesystem uses "lz4" compression. This is not supported
>     List of all partitions:
>     1f00          131072 mtdblock0
>      (driver?)
>     1f01           32768 mtdblock1
>      (driver?)
>     b300            2048 mmcblk0
>      driver: mmcblk
>     No filesystem could mount root, tried:
>      squashfs
> 
>     Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,0)
> 
> Updating the kernel again is a little cumbersome, while fixing the
> actual test is relatively trivial, so this is what we do: we switch
> over to lzo, which is supported by the new kernel:
> 
>     # zcat /proc/config.gz |grep SQUA
>     CONFIG_SQUASHFS=y
>     CONFIG_SQUASHFS_ZLIB=y
>     # CONFIG_SQUASHFS_LZ4 is not set
>     CONFIG_SQUASHFS_LZO=y
>     # CONFIG_SQUASHFS_XZ is not set
> 
> Fixes: 3cf2782906d5cc05a3966c25518d2ce01f11afc8
> 
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Thanks a lot for fixing this!

Reviewed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      reply	other threads:[~2021-06-27  8:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-27  6:53 [Buildroot] [PATCH] support/tests: fix squashfs test Yann E. MORIN
2021-06-27  8:06 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210627100642.02796d00@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox