From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: bug#34162: linux-libre 4.20+ fails to mount ext4 on aarch64 Date: Wed, 23 Jan 2019 19:54:24 +0200 Message-ID: <20190123175424.GA11329@macbook41> References: <87a7jtyeow.fsf@ponder> <874l9zhcew.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:50330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmMjz-0002TE-1D for bug-guix@gnu.org; Wed, 23 Jan 2019 12:55:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmMjw-0002nr-PP for bug-guix@gnu.org; Wed, 23 Jan 2019 12:55:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43776) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmMju-0002mp-Cy for bug-guix@gnu.org; Wed, 23 Jan 2019 12:55:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gmMjt-0000JC-UJ for bug-guix@gnu.org; Wed, 23 Jan 2019 12:55:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <874l9zhcew.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Vagrant Cascadian , 34162@debbugs.gnu.org --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 23, 2019 at 11:54:31AM +0100, Ludovic Court=C3=A8s wrote: > Hi Vagrant, >=20 > Vagrant Cascadian skribis: >=20 > > After upgrading to linux-libre 4.20, and again tested with 4.20.3, an > > aarch64 system failed to boot (using 4.19.10 worked fine): > > > > [ 3.692351] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initiali= sed: dm-devel@redhat.com > > ext2fs_check_if_mount: Can't check if filesystem is mounted due to miss= ing mtab file while determining whether /dev/sda6 is mounted. > > /dev/sda6: clean, 596262/6553600 files, 7663147/26214400 blocks > > [ 3.948786] EXT4-fs (sda6): Cannot load crc32c driver. > > ERROR: In procedure mount: > > In procedure mount: No such file or directory > > > > Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. > > GNU Guile 2.2.4 > > Copyright (C) 1995-2017 Free Software Foundation, Inc. > > > > Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. > > This program is free software, and you are welcome to redistribute it > > under certain conditions; type `,show c' for details. > > > > Enter `,help' for help. > > scheme@(guile-user)> > > > > Workaround or fix was to add to config.scm: > > > > (initrd (append (list "crc32c_generic" ... ) %base-initrd-modules)) >=20 > There are potentially two issues here: >=20 > 1. Why wasn=E2=80=99t crc32c_generic.ko automatically pulled in by the = initrd > build code? Isn=E2=80=99t it a dependency of ext4.ko? >=20 > 2. Is crc32c_generic built-in in our x86_64 kernel config? >=20 $ grep _CRC gnu/packages/aux-files/linux-libre/4.20-{x86_,arm}64.conf gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:# CONFIG_W1_SLAVE_DS243= 3_CRC is not set gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_PWM_CRC=3Dy gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRYPTO_CRC32C=3Dy gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRYPTO_CRC32C_IN= TEL=3Dy gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRYPTO_CRC32=3Dm gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRYPTO_CRC32_PCL= MUL=3Dm gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRYPTO_CRCT10DIF= =3Dy gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRYPTO_CRCT10DIF= _PCLMUL=3Dm gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRC_CCITT=3Dy gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRC16=3Dy gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRC_T10DIF=3Dy gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRC_ITU_T=3Dm gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRC32=3Dy gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:# CONFIG_CRC32_SELFTEST= is not set gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRC32_SLICEBY8= =3Dy gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:# CONFIG_CRC32_SLICEBY4= is not set gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:# CONFIG_CRC32_SARWATE = is not set gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:# CONFIG_CRC32_BIT is n= ot set gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRC64=3Dm gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:# CONFIG_CRC4 is not set gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRC7=3Dm gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRC8=3Dm gnu/packages/aux-files/linux-libre/4.20-arm64.conf:# CONFIG_CRYPTO_CRCT10DI= F_ARM64_CE is not set gnu/packages/aux-files/linux-libre/4.20-arm64.conf:# CONFIG_W1_SLAVE_DS2433= _CRC is not set gnu/packages/aux-files/linux-libre/4.20-arm64.conf:CONFIG_CRYPTO_CRC32C=3Dm gnu/packages/aux-files/linux-libre/4.20-arm64.conf:CONFIG_CRYPTO_CRC32=3Dm gnu/packages/aux-files/linux-libre/4.20-arm64.conf:CONFIG_CRYPTO_CRCT10DIF= =3Dy gnu/packages/aux-files/linux-libre/4.20-arm64.conf:CONFIG_CRC_CCITT=3Dm gnu/packages/aux-files/linux-libre/4.20-arm64.conf:CONFIG_CRC16=3Dm gnu/packages/aux-files/linux-libre/4.20-arm64.conf:CONFIG_CRC_T10DIF=3Dy gnu/packages/aux-files/linux-libre/4.20-arm64.conf:CONFIG_CRC_ITU_T=3Dm gnu/packages/aux-files/linux-libre/4.20-arm64.conf:CONFIG_CRC32=3Dy gnu/packages/aux-files/linux-libre/4.20-arm64.conf:# CONFIG_CRC32_SELFTEST = is not set gnu/packages/aux-files/linux-libre/4.20-arm64.conf:CONFIG_CRC32_SLICEBY8=3Dy gnu/packages/aux-files/linux-libre/4.20-arm64.conf:# CONFIG_CRC32_SLICEBY4 = is not set gnu/packages/aux-files/linux-libre/4.20-arm64.conf:# CONFIG_CRC32_SARWATE i= s not set gnu/packages/aux-files/linux-libre/4.20-arm64.conf:# CONFIG_CRC32_BIT is no= t set gnu/packages/aux-files/linux-libre/4.20-arm64.conf:CONFIG_CRC64=3Dm gnu/packages/aux-files/linux-libre/4.20-arm64.conf:# CONFIG_CRC4 is not set gnu/packages/aux-files/linux-libre/4.20-arm64.conf:CONFIG_CRC7=3Dm gnu/packages/aux-files/linux-libre/4.20-arm64.conf:CONFIG_CRC8=3Dm It looks like the only one that they share that is different is CONFIG_CRYPTO_CRC32C --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlxIqkUACgkQQarn3Mo9 g1HgxhAAvVsdUGvryR3iCKOZ0UqjVtSs30/ri84h/lypauTw+zh5kSZe/JsWZP3/ jM8rXolQ+vrrNwC2IdJ7GoWOm5SS4kbaiwCkxGquVEjZ977wizG5xhFMdIdecuvj wzmPFI6QYotBMCwjj8s2iY5/tYeB/hqnygD5K386vTaRiml5Kbc7OnrcnVGtFZPP f9qOwFV6C3bfp1AnTAxn4JQDRuBRsX2rgfL0MgSGVJ1HmzfV0xEwVHYD+xg8mUou xiKjrR3/6ooe4TX13w9u0kc2oO+4+AkbrEgCBeqKI5z3Vp54Md+jcqUdyVaWQy4H 5HKAuXaiSvwboBTQp7Fpyiy9TK65cA8Q4MJXMHZJdcPMFgMiK2toPZQlfAJqbYF8 VtCQImNEEMkzM8d89QR6DDw7FLAs/EMyAMbqmOY0eGZEESEAlb8D0U9fKG9A8HPo +l8yxACQsxKUFxKgYB+USDe27uocjEkzJYpNdLCqktyzbA+ejjZtJstqG8zeCtHs AnJz3DL2p83qjsXDivVaLx3e/f+1t75k4JplTJw46exS6pxc9+KSDa+5fDavH2ug MuYr0HeqCkPWMs1NpLsGKGH5wIbGxjahuMebD43f18IYVaWzgoG48Q8BlidF2E9Y TsWnWFUJeX3GLkPUkY8HeuL5A8LcX+yGx98bUsLRrQ5ltNQn/JY= =Skk5 -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT--