Received: by 10.192.165.148 with SMTP id m20csp346821imm; Wed, 2 May 2018 01:02:30 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpgP1o57Hr5+0iSHV69dnlETSMHMbmP3JwSg+4+/xOgyDsmw53bDvf7Recwv22wIipGG14X X-Received: by 2002:a63:3811:: with SMTP id f17-v6mr15374815pga.70.1525248150666; Wed, 02 May 2018 01:02:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525248150; cv=none; d=google.com; s=arc-20160816; b=zDsW66y72p1ABPA5RVwLrk9Auy35BulvlvomLRNWnw6bTiY2Z05ClWSdAyt+5eqqL+ lyAinLvE9P4iw+HLht/tw8VCAyXcXmRCmiezWCJk+3l+BDjQz12BpMpcOWwbAJd86+N7 bv+KG4vuhNk3iRTmXxiePZq9TgsbMrxuNrVeTArjwtcxlZYkeSpEDKqeXq7Lk+opQI5Y DHWuGzeD6WcvcyLyWwWpMKtz9LS3fts/YvmkhHStpdU90VdafJyBvFDQU/IOZYTJVoAi LK0J42FIHq4TvJHARR1L5NFIT2xHKvtLwncMCPbld6D5jquru1qPnm+EdSxr6LgWwBfT VSPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=+MBJkJl1Uz2RKp2lX5p6EXRXGHZmSyOXnoNpY+a8qRY=; b=eGpRBfc3uizFtbcVyS+FshO4qJurr9Uea4rfYdgnhR8xXLg4zG0ZIbG6mo/XtAKWx8 3UvnLBQKff/L/Yrym/wD8KfjKfexpbvlwQzAbjoAJeQAWfGgaLTsJE2mClR1vAJUPNoR /DGMJ7tEvWHNJHydrwHedW8UNLLbs1MZaCwjkERML4IHiQIlFj/3f4GV/7iQvgq5IgQI QicLNTNwRCqHQCOPQ01LMxxzrS2g+IBZLt6CIi/uDlDg2zY1CubaN3ODFfkxaW1EtimK vk7widjMuBZpKo4FI6fhFn6zRo4fhmbM9F1HrycS6eXPB5f3fP8S7mfZAg6VFcD6XHeY zpcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=PfXTTQaq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id be11-v6si8616126plb.322.2018.05.02.01.02.14; Wed, 02 May 2018 01:02:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=PfXTTQaq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751294AbeEBIBz (ORCPT + 99 others); Wed, 2 May 2018 04:01:55 -0400 Received: from mail-ot0-f195.google.com ([74.125.82.195]:43766 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750869AbeEBIBx (ORCPT ); Wed, 2 May 2018 04:01:53 -0400 Received: by mail-ot0-f195.google.com with SMTP id y10-v6so15544246otg.10; Wed, 02 May 2018 01:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=+MBJkJl1Uz2RKp2lX5p6EXRXGHZmSyOXnoNpY+a8qRY=; b=PfXTTQaq4f3VnvhYkvktZC7cKIL6BTWPwnP//RgLjzgdMw45mmPVlkxXQri2j8nTxQ stWCbCDSdmK5rh37Cc3IyaUojDbybxVvi5X8odCctmhDNkDvwjcyMUbdMEalVzIbM9Lu GXQ8U42CAKfpb7di7I2P4diDZwM4tR2IcIGvTo81yWWtNiGap/UZ2tOQhCSoa2CfbOue FhbFCDj+rWZJCwU5vLa02g9hHXbfr2ly1eBcO5Mp2BBQd8JvRtVTJ+hoX+QtbZploZxr 7wy48mxumgTcyRKfCCo4khxhL15VOuYswlWxFNioY+F5sZd4DY19HV3CY/YPgMp5WM/s LliQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=+MBJkJl1Uz2RKp2lX5p6EXRXGHZmSyOXnoNpY+a8qRY=; b=a7tqkh1c9SMLfkwCx1aye7+Cn+DZ3f2B8gdmrHQza23/WjYv77gsPUgCQCSRMyeX2L cesuK1XV5E9PIC/XAKHMUXqnwNVaTu54DW8UbDA1nkIj/2ikbTnVYbHraBUTwLRA3nHT eOnWiVINbw4p0w/7KxDXv8UyRIFM8GKcd7TZwsuUecxQuwNksV+Jf7aMrCn8axuuwYuN e/dFX4wCa6uywLz/gnHflXbHStYmkCUpWge0itfDOu5ZiSKCwKOAN+7f+p59j3LQP2Cv Gm7TXhepJ00uKnpUJ3envfGP8qVue6ndmqkul0th12U792lgRBfEaVz0ZXxsL+aWxaOW ndZA== X-Gm-Message-State: ALQs6tCZdKcCdzbFzwwK757ETghjcThf0dhjDeSPRnZ3ga88/E1tTNP/ B9mvX/m67x6aulkwltJQdCLTxEqPhVQqbJKTLV8= X-Received: by 2002:a9d:3c0a:: with SMTP id q10-v6mr12357679otc.39.1525248112475; Wed, 02 May 2018 01:01:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.138.3.5 with HTTP; Wed, 2 May 2018 01:01:32 -0700 (PDT) In-Reply-To: <20180406195231.14868-1-malat@debian.org> References: <20180406195231.14868-1-malat@debian.org> From: Mathieu Malaterre Date: Wed, 2 May 2018 10:01:32 +0200 X-Google-Sender-Auth: zPiWQuklSk0KDRYMFdyPz03Te40 Message-ID: Subject: Re: [PATCH] fs: Add MODULE_SOFTDEP declarations for hard-coded crypto drivers To: "Theodore Ts'o" Cc: Milan Kupcevic , Ben Hutchings , Mathieu Malaterre , Andreas Dilger , linux-ext4@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 6, 2018 at 9:52 PM, Mathieu Malaterre wrote: > This helps initramfs builders and other tools to find the full > dependencies of a module. Replaced by: https://github.com/torvalds/linux/commit/7ef79ad521367 > Debian on powerpc (ppc32) still uses yaboot as default boot loader. Using a > default installation (debian-installer) 64bit and metadata_csum feature are > not setup in ext4. This is discussed in more details at: > > https://bugs.debian.org/825110#81 > > and implemented here: > > https://anonscm.debian.org/cgit/d-i/partman-ext3.git/patch/?id=f87dc92157262de1ad8dd3f2343436f08271b4dc > > This means that building the kernel as default debian package: > > make ARCH=powerpc XYZ_defconfig > make -j8 ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- bindeb-pkg > > Will lead to the following boot failure (initramfs prompt): > > /dev/sda3: clean, 127679/305216 files, 11128559/1220703 blocks done. > [ 5.592819] EXT4-fs (sda3): Cannot load crc32c driver. > mount: mounting /dev/sda3 on /root failed: No such file or directory > > Link: https://bugs.debian.org/819725 > Link: https://salsa.debian.org/kernel-team/linux/blob/master/debian/patches/bugfix/all/fs-add-module_softdep-declarations-for-hard-coded-cr.patch > Suggested-by: Ben Hutchings > Cc: Milan Kupcevic > Signed-off-by: Mathieu Malaterre > --- > fs/ext4/super.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/ext4/super.c b/fs/ext4/super.c > index 185f7e61f4cf..10bda040e78f 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: crypto-crc32c"); > module_init(ext4_init_fs) > module_exit(ext4_exit_fs) > -- > 2.11.0 >