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:57:08 +0200 Message-ID: <20190123175707.GB11329@macbook41> References: <87a7jtyeow.fsf@ponder> <874l9zhcew.fsf@gnu.org> <20190123175424.GA11329@macbook41> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="s2ZSL+KKDSLx8OML" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmMmq-00041S-CR for bug-guix@gnu.org; Wed, 23 Jan 2019 12:58:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmMmp-0004KY-4e for bug-guix@gnu.org; Wed, 23 Jan 2019 12:58:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43780) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmMmp-0004KN-19 for bug-guix@gnu.org; Wed, 23 Jan 2019 12:58:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gmMmo-0000NI-Ju for bug-guix@gnu.org; Wed, 23 Jan 2019 12:58:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20190123175424.GA11329@macbook41> 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 --s2ZSL+KKDSLx8OML Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 23, 2019 at 07:54:24PM +0200, Efraim Flashner wrote: > 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) initia= lised: dm-devel@redhat.com > > > ext2fs_check_if_mount: Can't check if filesystem is mounted due to mi= ssing 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 continu= e. > > > 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 th= e 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_DS2= 433_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_= INTEL=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_P= CLMUL=3Dm > gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRYPTO_CRCT10D= IF=3Dy > gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:CONFIG_CRYPTO_CRCT10D= IF_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_SELFTE= ST 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_SLICEB= Y4 is not set > gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:# CONFIG_CRC32_SARWAT= E is not set > gnu/packages/aux-files/linux-libre/4.20-x86_64.conf:# CONFIG_CRC32_BIT is= not 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_CRCT10= DIF_ARM64_CE is not set > gnu/packages/aux-files/linux-libre/4.20-arm64.conf:# CONFIG_W1_SLAVE_DS24= 33_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_CRCT10DI= F=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_SELFTES= T 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_SLICEBY= 4 is not set > gnu/packages/aux-files/linux-libre/4.20-arm64.conf:# CONFIG_CRC32_SARWATE= is not set > gnu/packages/aux-files/linux-libre/4.20-arm64.conf:# CONFIG_CRC32_BIT is = not 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 s= et > 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 >=20 > It looks like the only one that they share that is different is > CONFIG_CRYPTO_CRC32C >=20 Checked the others right after I sent the previous email: $ grep _CRC32C gnu/packages/aux-files/linux-libre/4.20-*.conf gnu/packages/aux-files/linux-libre/4.20-arm.conf:CONFIG_CRYPTO_CRC32C=3Dy gnu/packages/aux-files/linux-libre/4.20-arm64.conf:CONFIG_CRYPTO_CRC32C=3Dm gnu/packages/aux-files/linux-libre/4.20-i686.conf:CONFIG_CRYPTO_CRC32C=3Dy gnu/packages/aux-files/linux-libre/4.20-i686.conf:CONFIG_CRYPTO_CRC32C_INTE= L=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 --=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 --s2ZSL+KKDSLx8OML Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlxIqvMACgkQQarn3Mo9 g1Hz+g//SwdFRqAvTO5JgjcCvh9WQNbuh42e2J7wbLVQjU306gyVtVtNXf4uuEr3 5UnIjXTBcUCZ2dSj8F+bHvP6EZdmKRnhNE78rmxXZx5OWOmCg2wjSsCP05OxcVTp QFqHea3r6PeE+Nf2kLvTznEb3V9aIJh/Yj9Gsse2tqQvX1vGXsFX/lpYNcaH6+jc OERlMXRZXiwn/Mn6KuB9KPfLWb6jblSD7wtstD8Uoi8JK4Ai6ZGsmnAcgGnrSEWn aARvR6bcglIRJ6+Ot1O2rdSfcJGDWTH4P/fTgK8nKfJepKsmFGYd1zIP86THh3wx 4hPR4k38RwN1OSFp1i6hN5UFisKVZLlqJMDFQvp/+jdWfbhhwH+b6c+0i7C8D2qE +daou2hcB3C0Wlhtjqv1X4U6/pDWSW7UCXHXP8yXi6J87MqEkzAwjdteFb/twcK6 e/4c9R3qAyJOgC6q0PKC/DIypvdvgew+urHWzYdrL+d9VHN1ShxXPeg24bEjWbob Gp3plv8aR/KG5/Lah0ngs+gAdveUg23zJ4FF6Gzt8BDKXz1Lta2cEKYKCGp+5oYI yYhkrcD+CK7ybgOFdSh28Ebr1y5nxZoz3w9GjAkvib5x/7LgiTu8VPCgz55m2Fee XfDJVdI1CgNTpvzPyn0PZprko+hgqG0IRwwTWVwHCZs52EVLkz4= =CkCc -----END PGP SIGNATURE----- --s2ZSL+KKDSLx8OML--