From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#34162: linux-libre 4.20+ fails to mount ext4 on aarch64 Date: Wed, 23 Jan 2019 15:58:42 -0500 Message-ID: <874l9zm6oy.fsf@netris.org> References: <87a7jtyeow.fsf@ponder> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmPd0-0000EP-EQ for bug-guix@gnu.org; Wed, 23 Jan 2019 16:00:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmPcw-0006s4-EN for bug-guix@gnu.org; Wed, 23 Jan 2019 16:00:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43818) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmPcw-0006rh-A4 for bug-guix@gnu.org; Wed, 23 Jan 2019 16:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gmPcw-0004YX-2W for bug-guix@gnu.org; Wed, 23 Jan 2019 16:00:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87a7jtyeow.fsf@ponder> (Vagrant Cascadian's message of "Mon, 21 Jan 2019 11:48:47 -0800") 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: Vagrant Cascadian Cc: 34162@debbugs.gnu.org --=-=-= 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 --=-=-=--