From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com ([74.125.82.42]:51009 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751179AbeDYUF1 (ORCPT ); Wed, 25 Apr 2018 16:05:27 -0400 Received: by mail-wm0-f42.google.com with SMTP id t11so2304312wmt.0 for ; Wed, 25 Apr 2018 13:05:26 -0700 (PDT) Subject: Re: Linux 4.14.36 To: "Theodore Y. Ts'o" Cc: Greg KH , stable@vger.kernel.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> From: =?UTF-8?Q?Fran=c3=a7ois_Valenduc?= Message-ID: <50bfaae2-60db-ddac-46bf-aedbec1f1951@gmail.com> Date: Wed, 25 Apr 2018 22:05:23 +0200 MIME-Version: 1.0 In-Reply-To: <20180424202534.GA7925@thunk.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: stable-owner@vger.kernel.org List-ID: 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 ? François Valenduc