From unknown Fri Jun 20 07:14:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#34162 <34162@debbugs.gnu.org> To: bug#34162 <34162@debbugs.gnu.org> Subject: Status: linux-libre 4.20+ fails to mount ext4 on aarch64 Reply-To: bug#34162 <34162@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:14:48 +0000 retitle 34162 linux-libre 4.20+ fails to mount ext4 on aarch64 reassign 34162 guix submitter 34162 Vagrant Cascadian severity 34162 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 21 14:49:06 2019 Received: (at submit) by debbugs.gnu.org; 21 Jan 2019 19:49:06 +0000 Received: from localhost ([127.0.0.1]:40511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1glfZC-000084-Fg for submit@debbugs.gnu.org; Mon, 21 Jan 2019 14:49:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39767) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1glfZB-00007b-6D for submit@debbugs.gnu.org; Mon, 21 Jan 2019 14:49:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:57295) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1glfZ5-0000iv-Pv for submit@debbugs.gnu.org; Mon, 21 Jan 2019 14:48:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glfZ4-00055n-MB for bug-guix@gnu.org; Mon, 21 Jan 2019 14:48:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glfZ3-0000iD-SU for bug-guix@gnu.org; Mon, 21 Jan 2019 14:48:58 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:59738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glfZ3-0000hl-Md for bug-guix@gnu.org; Mon, 21 Jan 2019 14:48:57 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 8365B1AAC0 for ; Mon, 21 Jan 2019 11:48:54 -0800 (PST) From: Vagrant Cascadian To: bug-guix@gnu.org Subject: linux-libre 4.20+ fails to mount ext4 on aarch64 Date: Mon, 21 Jan 2019 11:48:47 -0800 Message-ID: <87a7jtyeow.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 173.255.214.101 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain 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) initialised: dm-devel@redhat.com ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing 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)) 4.19.10 and earlier worked fine without this addition; as far as I can see the relevent kernel configurations are all present; but some behavior changed with the ext4 driver; Is the initrd no longer including soft module dependencies? (e.g. for optional ext4 features) This seems similar to Debian bug: https://bugs.debian.org/819725 live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXEYiIAAKCRDcUY/If5cW qqQtAP0c/lgwd8j/zhgaMkQ7R5Noc+fi2bcDb1pEduD5J1rcuAEAgpNcIHsGgGG2 cemM2Qs7Ab/DO/saqz3VHw42QUlbxgY= =LG55 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 23 05:54:37 2019 Received: (at 34162) by debbugs.gnu.org; 23 Jan 2019 10:54:37 +0000 Received: from localhost ([127.0.0.1]:42078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmGB3-0002Wm-Ak for submit@debbugs.gnu.org; Wed, 23 Jan 2019 05:54:37 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:59612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmGB0-0002Wd-JX for 34162@debbugs.gnu.org; Wed, 23 Jan 2019 05:54:35 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 5700A548E; Wed, 23 Jan 2019 11:54:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CJ9AM-xTllIi; Wed, 23 Jan 2019 11:54:32 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 776CE2349; Wed, 23 Jan 2019 11:54:32 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vagrant Cascadian Subject: Re: bug#34162: linux-libre 4.20+ fails to mount ext4 on aarch64 References: <87a7jtyeow.fsf@ponder> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?utf-8?Q?Pluvi=C3=B4se?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 23 Jan 2019 11:54:31 +0100 In-Reply-To: <87a7jtyeow.fsf@ponder> (Vagrant Cascadian's message of "Mon, 21 Jan 2019 11:48:47 -0800") Message-ID: <874l9zhcew.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 34162 Cc: 34162@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Vagrant, Vagrant Cascadian skribis: > 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) initialise= d: dm-devel@redhat.com > ext2fs_check_if_mount: Can't check if filesystem is mounted due to missin= g 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)) There are potentially two issues here: 1. Why wasn=E2=80=99t crc32c_generic.ko automatically pulled in by the in= itrd build code? Isn=E2=80=99t it a dependency of ext4.ko? 2. Is crc32c_generic built-in in our x86_64 kernel config? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 23 12:48:29 2019 Received: (at 34162) by debbugs.gnu.org; 23 Jan 2019 17:48:29 +0000 Received: from localhost ([127.0.0.1]:43052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmMdZ-0000AK-F9 for submit@debbugs.gnu.org; Wed, 23 Jan 2019 12:48:29 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:44158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmMdX-0000A7-N7 for 34162@debbugs.gnu.org; Wed, 23 Jan 2019 12:48:28 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id A8B631AAFB; Wed, 23 Jan 2019 09:48:21 -0800 (PST) From: Vagrant Cascadian To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#34162: linux-libre 4.20+ fails to mount ext4 on aarch64 In-Reply-To: <874l9zhcew.fsf@gnu.org> References: <87a7jtyeow.fsf@ponder> <874l9zhcew.fsf@gnu.org> Date: Wed, 23 Jan 2019 09:48:14 -0800 Message-ID: <87h8dzw9i9.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34162 Cc: 34162@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2019-01-23, Ludovic Court=C3=A8s wrote: > Vagrant Cascadian skribis: >> 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) initialis= ed: dm-devel@redhat.com >> ext2fs_check_if_mount: Can't check if filesystem is mounted due to missi= ng 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 ... >> Workaround or fix was to add to config.scm: >> >> (initrd (append (list "crc32c_generic" ... ) %base-initrd-modules)) > > There are potentially two issues here: > > 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? It is not a hard dependency, no. It's an optional feature only needed if certain ext4 features are enabled on the filesystem (maybe metadata_csum in this case?). So it's listed as a MODULE_SOFTDEP of ext4: fs/ext4/super.c:MODULE_SOFTDEP("pre: crc32c"); > 2. Is crc32c_generic built-in in our x86_64 kernel config? On x86_64: $ grep CRC32 /gnu/store/*linux-libre*4.20.4*/.config CONFIG_CRYPTO_CRC32C=3Dy CONFIG_CRYPTO_CRC32C_INTEL=3Dy CONFIG_CRYPTO_CRC32=3Dm CONFIG_CRYPTO_CRC32_PCLMUL=3Dm CONFIG_CRC32=3Dy # CONFIG_CRC32_SELFTEST is not set CONFIG_CRC32_SLICEBY8=3Dy # CONFIG_CRC32_SLICEBY4 is not set # CONFIG_CRC32_SARWATE is not set # CONFIG_CRC32_BIT is not set CONFIG_LIBCRC32C=3Dm On aarch64: $ grep CRC32 /gnu/store/*linux-libre*4.20.3*/.config CONFIG_CRYPTO_CRC32C=3Dm CONFIG_CRYPTO_CRC32=3Dm CONFIG_CRC32=3Dy # CONFIG_CRC32_SELFTEST is not set CONFIG_CRC32_SLICEBY8=3Dy # CONFIG_CRC32_SLICEBY4 is not set # CONFIG_CRC32_SARWATE is not set # CONFIG_CRC32_BIT is not set CONFIG_LIBCRC32C=3Dm on aarch64 4.19.10 also contained: CONFIG_CRYPTO_CRC32_ARM64_CE=3Dy Which is no longer available in 4.20.x upstream in commit 598b7d41e544322c8c4f3737ee8ddf905a44175e. So my hunch is that crc32c-ce was used in 4.19.x, but 4.20.x needed the generic crc32c implementation. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXEio3wAKCRDcUY/If5cW qr00AQD8a+iBvyWsPayY4AIivxNUbXADpb9JF0E7pV9ZcaYpYgD+Ii/6UOGKfu2T X6HDAWg/7UOTG/2Xkp4T1NCPduB5/Qk= =lAnf -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 23 12:54:34 2019 Received: (at 34162) by debbugs.gnu.org; 23 Jan 2019 17:54:34 +0000 Received: from localhost ([127.0.0.1]:43057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmMjS-0000IU-8k for submit@debbugs.gnu.org; Wed, 23 Jan 2019 12:54:34 -0500 Received: from flashner.co.il ([178.62.234.194]:38840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmMjQ-0000IH-Ez for 34162@debbugs.gnu.org; Wed, 23 Jan 2019 12:54:32 -0500 Received: from localhost (unknown [188.120.128.87]) by flashner.co.il (Postfix) with ESMTPSA id 77F8440191; Wed, 23 Jan 2019 17:54:26 +0000 (UTC) Date: Wed, 23 Jan 2019 19:54:24 +0200 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#34162: linux-libre 4.20+ fails to mount ext4 on aarch64 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" Content-Disposition: inline In-Reply-To: <874l9zhcew.fsf@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 User-Agent: Mutt/1.11.0 (2018-11-25) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34162 Cc: Vagrant Cascadian , 34162@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 23 12:57:17 2019 Received: (at 34162) by debbugs.gnu.org; 23 Jan 2019 17:57:17 +0000 Received: from localhost ([127.0.0.1]:43061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmMm4-0000MK-Vg for submit@debbugs.gnu.org; Wed, 23 Jan 2019 12:57:17 -0500 Received: from flashner.co.il ([178.62.234.194]:38864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmMm3-0000M6-Bd for 34162@debbugs.gnu.org; Wed, 23 Jan 2019 12:57:15 -0500 Received: from localhost (unknown [188.120.128.87]) by flashner.co.il (Postfix) with ESMTPSA id 88FE640216; Wed, 23 Jan 2019 17:57:09 +0000 (UTC) Date: Wed, 23 Jan 2019 19:57:08 +0200 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#34162: linux-libre 4.20+ fails to mount ext4 on aarch64 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" Content-Disposition: inline In-Reply-To: <20190123175424.GA11329@macbook41> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 User-Agent: Mutt/1.11.0 (2018-11-25) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34162 Cc: Vagrant Cascadian , 34162@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 23 15:59:56 2019 Received: (at 34162) by debbugs.gnu.org; 23 Jan 2019 20:59:56 +0000 Received: from localhost ([127.0.0.1]:43099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmPcp-0004Xl-RW for submit@debbugs.gnu.org; Wed, 23 Jan 2019 15:59:56 -0500 Received: from world.peace.net ([64.112.178.59]:56614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmPco-0004XZ-45 for 34162@debbugs.gnu.org; Wed, 23 Jan 2019 15:59:54 -0500 Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gmPch-0000Zx-Pb; Wed, 23 Jan 2019 15:59:47 -0500 From: Mark H Weaver To: Vagrant Cascadian Subject: Re: bug#34162: linux-libre 4.20+ fails to mount ext4 on aarch64 References: <87a7jtyeow.fsf@ponder> Date: Wed, 23 Jan 2019 15:58:42 -0500 In-Reply-To: <87a7jtyeow.fsf@ponder> (Vagrant Cascadian's message of "Mon, 21 Jan 2019 11:48:47 -0800") Message-ID: <874l9zm6oy.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34162 Cc: 34162@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hi, Vagrant Cascadian writes: > 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): [...] > Workaround or fix was to add to config.scm: > > (initrd (append (list "crc32c_generic" ... ) %base-initrd-modules)) Here's a proposed (untested) patch. Would you like to test it and see if it eliminates the need for this workaround? Mark --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-linux-libre-Make-CRYPTO_CRC32C-a-built-in-on-arm.patch Content-Description: [PATCH] gnu: linux-libre: Make CRYPTO_CRC32C a built-in on arm64 >From 20a57e861cff4dce40c4eb6c7344f12d1f283cf8 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 23 Jan 2019 01:20:30 -0500 Subject: [PATCH] gnu: linux-libre: Make CRYPTO_CRC32C a built-in on arm64. Fixes Reported by Vagrant Cascadian Note that CRYPTO_CRC32C was already a built-in in our default configurations for other systems. * gnu/packages/aux-files/linux-libre/4.20-arm64.conf, gnu/packages/aux-files/linux-libre/4.19-arm64.conf (CONFIG_CRYPTO_CRC32C): Change from 'm' to 'y'. --- gnu/packages/aux-files/linux-libre/4.19-arm64.conf | 2 +- gnu/packages/aux-files/linux-libre/4.20-arm64.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/aux-files/linux-libre/4.19-arm64.conf b/gnu/packages/aux-files/linux-libre/4.19-arm64.conf index ba6fa177b..73cd300c1 100644 --- a/gnu/packages/aux-files/linux-libre/4.19-arm64.conf +++ b/gnu/packages/aux-files/linux-libre/4.19-arm64.conf @@ -7860,7 +7860,7 @@ CONFIG_CRYPTO_VMAC=m # # Digest # -CONFIG_CRYPTO_CRC32C=m +CONFIG_CRYPTO_CRC32C=y CONFIG_CRYPTO_CRC32=m CONFIG_CRYPTO_CRCT10DIF=y CONFIG_CRYPTO_GHASH=m diff --git a/gnu/packages/aux-files/linux-libre/4.20-arm64.conf b/gnu/packages/aux-files/linux-libre/4.20-arm64.conf index 9e71cadf0..3833e3e36 100644 --- a/gnu/packages/aux-files/linux-libre/4.20-arm64.conf +++ b/gnu/packages/aux-files/linux-libre/4.20-arm64.conf @@ -7932,7 +7932,7 @@ CONFIG_CRYPTO_VMAC=m # # Digest # -CONFIG_CRYPTO_CRC32C=m +CONFIG_CRYPTO_CRC32C=y CONFIG_CRYPTO_CRC32=m CONFIG_CRYPTO_CRCT10DIF=y CONFIG_CRYPTO_GHASH=m -- 2.20.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 23 19:44:24 2019 Received: (at 34162) by debbugs.gnu.org; 24 Jan 2019 00:44:24 +0000 Received: from localhost ([127.0.0.1]:43174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmT84-0001Ps-FJ for submit@debbugs.gnu.org; Wed, 23 Jan 2019 19:44:24 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:44552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmT81-0001Pd-Qo for 34162@debbugs.gnu.org; Wed, 23 Jan 2019 19:44:22 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 069841AAFB; Wed, 23 Jan 2019 16:44:14 -0800 (PST) From: Vagrant Cascadian To: Mark H Weaver Subject: Re: bug#34162: linux-libre 4.20+ fails to mount ext4 on aarch64 In-Reply-To: <874l9zm6oy.fsf@netris.org> References: <87a7jtyeow.fsf@ponder> <874l9zm6oy.fsf@netris.org> Date: Wed, 23 Jan 2019 16:44:03 -0800 Message-ID: <87ef92x4to.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34162 Cc: 34162@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2019-01-23, Mark H Weaver wrote: > Vagrant Cascadian writes: > >> 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): > > [...] > >> Workaround or fix was to add to config.scm: >> >> (initrd (append (list "crc32c_generic" ... ) %base-initrd-modules)) > > Here's a proposed (untested) patch. Would you like to test it and see > if it eliminates the need for this workaround? It did, thanks! live well, vagrant > From 20a57e861cff4dce40c4eb6c7344f12d1f283cf8 Mon Sep 17 00:00:00 2001 > From: Mark H Weaver > Date: Wed, 23 Jan 2019 01:20:30 -0500 > Subject: [PATCH] gnu: linux-libre: Make CRYPTO_CRC32C a built-in on arm64. > > Fixes > Reported by Vagrant Cascadian > > Note that CRYPTO_CRC32C was already a built-in in our default > configurations for other systems. > > * gnu/packages/aux-files/linux-libre/4.20-arm64.conf, > gnu/packages/aux-files/linux-libre/4.19-arm64.conf > (CONFIG_CRYPTO_CRC32C): Change from 'm' to 'y'. > --- > gnu/packages/aux-files/linux-libre/4.19-arm64.conf | 2 +- > gnu/packages/aux-files/linux-libre/4.20-arm64.conf | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gnu/packages/aux-files/linux-libre/4.19-arm64.conf b/gnu/pac= kages/aux-files/linux-libre/4.19-arm64.conf > index ba6fa177b..73cd300c1 100644 > --- a/gnu/packages/aux-files/linux-libre/4.19-arm64.conf > +++ b/gnu/packages/aux-files/linux-libre/4.19-arm64.conf > @@ -7860,7 +7860,7 @@ CONFIG_CRYPTO_VMAC=3Dm > # > # Digest > # > -CONFIG_CRYPTO_CRC32C=3Dm > +CONFIG_CRYPTO_CRC32C=3Dy > CONFIG_CRYPTO_CRC32=3Dm > CONFIG_CRYPTO_CRCT10DIF=3Dy > CONFIG_CRYPTO_GHASH=3Dm > diff --git a/gnu/packages/aux-files/linux-libre/4.20-arm64.conf b/gnu/pac= kages/aux-files/linux-libre/4.20-arm64.conf > index 9e71cadf0..3833e3e36 100644 > --- a/gnu/packages/aux-files/linux-libre/4.20-arm64.conf > +++ b/gnu/packages/aux-files/linux-libre/4.20-arm64.conf > @@ -7932,7 +7932,7 @@ CONFIG_CRYPTO_VMAC=3Dm > # > # Digest > # > -CONFIG_CRYPTO_CRC32C=3Dm > +CONFIG_CRYPTO_CRC32C=3Dy > CONFIG_CRYPTO_CRC32=3Dm > CONFIG_CRYPTO_CRCT10DIF=3Dy > CONFIG_CRYPTO_GHASH=3Dm > --=20 > 2.20.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXEkKVAAKCRDcUY/If5cW qnoJAQDrWO0qQHaSzTP3vqH4Km7PYafJuuqCO1R28M1B56ZzawEA7UK6YoSIatXV u9gNzYvYNC+P2OSjPm3OXGQcslIYxgI= =iN2P -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 23 23:03:46 2019 Received: (at 34162-done) by debbugs.gnu.org; 24 Jan 2019 04:03:46 +0000 Received: from localhost ([127.0.0.1]:43211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmWEz-0006A3-R4 for submit@debbugs.gnu.org; Wed, 23 Jan 2019 23:03:46 -0500 Received: from world.peace.net ([64.112.178.59]:57332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmWEy-00069p-4G for 34162-done@debbugs.gnu.org; Wed, 23 Jan 2019 23:03:44 -0500 Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gmWEr-0002d9-Np; Wed, 23 Jan 2019 23:03:37 -0500 From: Mark H Weaver To: Vagrant Cascadian Subject: Re: bug#34162: linux-libre 4.20+ fails to mount ext4 on aarch64 References: <87a7jtyeow.fsf@ponder> <874l9zm6oy.fsf@netris.org> <87ef92x4to.fsf@ponder> Date: Wed, 23 Jan 2019 23:02:31 -0500 In-Reply-To: <87ef92x4to.fsf@ponder> (Vagrant Cascadian's message of "Wed, 23 Jan 2019 16:44:03 -0800") Message-ID: <87imyeln2l.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34162-done Cc: 34162-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Vagrant Cascadian writes: > On 2019-01-23, Mark H Weaver wrote: >> Here's a proposed (untested) patch. Would you like to test it and see >> if it eliminates the need for this workaround? > > It did, thanks! Okay, I pushed it to master, commit ff0b73028c0bbbcbf352989ed3863947357c3bce. I'm closing this bug report. Thanks! Mark From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 25 03:49:45 2019 Received: (at 34162) by debbugs.gnu.org; 25 Jan 2019 08:49:45 +0000 Received: from localhost ([127.0.0.1]:44509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmxBI-0007gA-Tn for submit@debbugs.gnu.org; Fri, 25 Jan 2019 03:49:45 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:34114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmxBG-0007g2-Ty for 34162@debbugs.gnu.org; Fri, 25 Jan 2019 03:49:43 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D1257683C; Fri, 25 Jan 2019 09:49:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SqTiIGyq78gq; Fri, 25 Jan 2019 09:49:41 +0100 (CET) Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D3637682F; Fri, 25 Jan 2019 09:49:40 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Efraim Flashner Subject: Re: bug#34162: linux-libre 4.20+ fails to mount ext4 on aarch64 References: <87a7jtyeow.fsf@ponder> <874l9zhcew.fsf@gnu.org> <20190123175424.GA11329@macbook41> <20190123175707.GB11329@macbook41> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 =?utf-8?Q?Pluvi=C3=B4se?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 25 Jan 2019 09:49:40 +0100 In-Reply-To: <20190123175707.GB11329@macbook41> (Efraim Flashner's message of "Wed, 23 Jan 2019 19:57:08 +0200") Message-ID: <87munprujf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 34162 Cc: Vagrant Cascadian , 34162@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello! Efraim Flashner skribis: > 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_IN= TEL=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 Oh, could this one be the culprit, Vagrant? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 25 03:59:14 2019 Received: (at 34162) by debbugs.gnu.org; 25 Jan 2019 08:59:15 +0000 Received: from localhost ([127.0.0.1]:44527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmxKU-0007vt-JD for submit@debbugs.gnu.org; Fri, 25 Jan 2019 03:59:14 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:34184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmxKS-0007vg-Dt for 34162@debbugs.gnu.org; Fri, 25 Jan 2019 03:59:12 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id C1119683D; Fri, 25 Jan 2019 09:59:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xYbx2GIw-OWL; Fri, 25 Jan 2019 09:59:10 +0100 (CET) Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe]) by hera.aquilenet.fr (Postfix) with ESMTPSA id EF870683C; Fri, 25 Jan 2019 09:59:09 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vagrant Cascadian Subject: Re: bug#34162: linux-libre 4.20+ fails to mount ext4 on aarch64 References: <87a7jtyeow.fsf@ponder> <874l9zhcew.fsf@gnu.org> <87h8dzw9i9.fsf@ponder> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 =?utf-8?Q?Pluvi=C3=B4se?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 25 Jan 2019 09:59:09 +0100 In-Reply-To: <87h8dzw9i9.fsf@ponder> (Vagrant Cascadian's message of "Wed, 23 Jan 2019 09:48:14 -0800") Message-ID: <87h8dxru3m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 34162 Cc: 34162@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, Vagrant Cascadian skribis: > On 2019-01-23, Ludovic Court=C3=A8s wrote: >> Vagrant Cascadian skribis: >>> 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 > ... >>> Workaround or fix was to add to config.scm: >>> >>> (initrd (append (list "crc32c_generic" ... ) %base-initrd-modules)) >> >> There are potentially two issues here: >> >> 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? > > It is not a hard dependency, no. It's an optional feature only needed if > certain ext4 features are enabled on the filesystem (maybe metadata_csum > in this case?). So it's listed as a MODULE_SOFTDEP of ext4: > > fs/ext4/super.c:MODULE_SOFTDEP("pre: crc32c"); Interesting. Should we add support for soft dependencies in (gnu build linux-modules), and pull in soft dependencies in the initrd? Currently we only do that for hard dependencies. That wouldn=E2=80=99t help in this case since ext4 is built-in. So my gues= s is that for this particular case we should probably just change the AArch64 kernel config so it matches the x86 ones. Thoughts? Thanks, Ludo=E2=80=99. From unknown Fri Jun 20 07:14:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 22 Feb 2019 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator