Return-Path: Received: from mail-pg0-f68.google.com ([74.125.83.68]:35904 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755172AbeDZOuJ (ORCPT ); Thu, 26 Apr 2018 10:50:09 -0400 Received: by mail-pg0-f68.google.com with SMTP id i6so16109112pgv.3 for ; Thu, 26 Apr 2018 07:50:09 -0700 (PDT) Date: Thu, 26 Apr 2018 08:50:06 -0600 From: James Blanford To: "Theodore Y. Ts'o" Cc: =?ISO-8859-1?Q?Fran=E7ois?= Valenduc , Greg KH , stable@vger.kernel.org Subject: Re: Linux 4.14.36 Message-ID: <20180426085006.701104e8@anima.localnet.prv> In-Reply-To: <20180426062250.GG18803@thunk.org> References: <20180424092056.GA24237@kroah.com> <71965e45-04de-8772-87ee-3497bff8b89a@gmail.com> <20180424123148.GA20848@kroah.com> <20180424150921.GA30619@thunk.org> <20180424202534.GA7925@thunk.org> <50bfaae2-60db-ddac-46bf-aedbec1f1951@gmail.com> <20180426062250.GG18803@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: stable-owner@vger.kernel.org List-ID: BTW, I get the opposite results from Fran=E7ois on my Debian system when I build all three crc32c drivers as modules: jim@anima:/lib/modules/4.14.36-test2$ find . -name "*crc32c*" ./kernel/lib/libcrc32c.ko ./kernel/arch/x86/crypto/crc32c-intel.ko ./kernel/crypto/crc32c_generic.ko crc32c_generic and crc32c_intel are added to the initrd, but libcrc32c is not. lsinitramfs /boot/initrd.img-4.14.36-test2|grep crc32 lib/modules/4.14.36-test2/kernel/arch/x86/crypto/crc32c-intel.ko lib/modules/4.14.36-test2/kernel/crypto/crc32c_generic.ko On Thu, 26 Apr 2018 02:22:51 -0400 "Theodore Y. Ts'o" wrote: > Fran=E7ois, James, >=20 > Does this fix things for you? >=20 > Thanks, >=20 > - Ted >=20 > From 7ef79ad52136712172eb0525bf0b462516bf2f93 Mon Sep 17 00:00:00 2001 > From: Theodore Ts'o > Date: Thu, 26 Apr 2018 00:44:46 -0400 > Subject: [PATCH] ext4: add MODULE_SOFTDEP to ensure crc32c is > included in the initramfs MIME-Version: 1.0 > Content-Type: text/plain; charset=3DUTF-8 > Content-Transfer-Encoding: 8bit >=20 > Fixes: a45403b51582 ("ext4: always initialize the crc32c checksum > driver") Reported-by: Fran=E7ois Valenduc > Signed-off-by: Theodore Ts'o > Cc: stable@vger.kernel.org > --- > fs/ext4/super.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/fs/ext4/super.c b/fs/ext4/super.c > index 185f7e61f4cf..eb104e8476f0 100644 > --- a/fs/ext4/super.c > +++ b/fs/ext4/super.c > @@ -5886,5 +5886,6 @@ static void __exit ext4_exit_fs(void) > MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas > Dilger, Theodore Ts'o and others"); MODULE_DESCRIPTION("Fourth > Extended Filesystem"); MODULE_LICENSE("GPL"); > +MODULE_SOFTDEP("pre: crc32c"); > module_init(ext4_init_fs) > module_exit(ext4_exit_fs) --=20 #DeleteFacebook