From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:42132 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751984AbeDZGfo (ORCPT ); Thu, 26 Apr 2018 02:35:44 -0400 Date: Thu, 26 Apr 2018 08:35:35 +0200 From: Greg KH To: =?iso-8859-1?Q?Fran=E7ois?= Valenduc Cc: "Theodore Y. Ts'o" , stable@vger.kernel.org Subject: Re: Linux 4.14.36 Message-ID: <20180426063535.GA5862@kroah.com> 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> <20180426054440.GA1138@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180426054440.GA1138@kroah.com> Sender: stable-owner@vger.kernel.org List-ID: On Thu, Apr 26, 2018 at 07:44:40AM +0200, Greg KH wrote: > On Wed, Apr 25, 2018 at 10:05:23PM +0200, Fran�ois Valenduc wrote: > > > > > > Le 24/04/18 � 22:25, Theodore Y. Ts'o a �crit�: > > > On Tue, Apr 24, 2018 at 08:17:23PM +0200, Fran�ois Valenduc wrote: > > >> I am using gentoo and indeed, the crc32_generic� module was not included > > >> in the initramfs by default. I have added it and now I can use the > > >> 4.14.36 kernel without having to revert this commit. > > > So Gentoo doesn't automatically figure out which modules are required > > > based on module depndencies (e.g., from the modules.dep file)? > > > > > > That seems like a... bug. If this is a problem which is widespread > > > across distributions, then we might have many more users running into > > > this when 4.17 and the latest stable kernels get rolled out. > > > > > > - Ted > > I think that gentoo take into account modules dependencies. For example, > > jbd2 is included automatically in the initramfs without having to > > specifially include via the modules_load file of the genkernel package: > > > > grep jbd2 /usr/share/genkernel/arch/x86_64/modules_load > > zsh: exit 1���� grep --colour=auto jbd2 > > /usr/share/genkernel/arch/x86_64/modules_load > > > > and jbd2 is also specified as a dependency for ext4 in the modules.dep file: > > > > grep jbd2 modules.dep��������������������������������� > > kernel/fs/ext4/ext4.ko: kernel/fs/mbcache.ko kernel/fs/jbd2/jbd2.ko > > kernel/fs/jbd2/jbd2.ko: > > > > but the crc32_generic module is not listed as a dependency for ext4: > > > > �grep crc32 modules.dep�������������������������������� > > kernel/crypto/crc32c_generic.ko: > > kernel/drivers/md/persistent-data/dm-persistent-data.ko: > > kernel/lib/libcrc32c.ko kernel/drivers/md/dm-bufio.ko > > kernel/drivers/md/dm-mod.ko kernel/drivers/dax/dax.ko > > kernel/drivers/md/dm-thin-pool.ko: > > kernel/drivers/md/persistent-data/dm-persistent-data.ko > > kernel/lib/libcrc32c.ko kernel/drivers/md/dm-bio-prison.ko > > kernel/drivers/md/dm-bufio.ko kernel/drivers/md/dm-mod.ko > > kernel/drivers/dax/dax.ko > > kernel/lib/libcrc32c.ko: > > > > So, would this be the cause of the problem ? > > It's a dependancy of the core kernel, the random code, not ext4. What > tool are you using for your initramfs, dracut or something else? Oh nevermind, that's what I get for mixing up problems and writing emails before coffee...