Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5DBFC433F5 for ; Wed, 2 Feb 2022 07:29:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236798AbiBBH3k (ORCPT ); Wed, 2 Feb 2022 02:29:40 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:60834 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237745AbiBBH3k (ORCPT ); Wed, 2 Feb 2022 02:29:40 -0500 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1nF90a-0005je-4L; Wed, 02 Feb 2022 17:20:49 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Wed, 02 Feb 2022 17:20:48 +1100 Date: Wed, 2 Feb 2022 17:20:48 +1100 From: Herbert Xu To: Jan Beulich Cc: linux-crypto@vger.kernel.org Subject: Re: your patch "crypto: api - Fix built-in testing dependency failures" Message-ID: References: <83208d0b-cbe0-8ca9-195c-ee1673f08573@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83208d0b-cbe0-8ca9-195c-ee1673f08573@suse.com> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Jan 31, 2022 at 04:30:06PM +0100, Jan Beulich wrote: > Herbert, > > unexpectedly after updating to 5.16 on one of my systems (the 1st one > I tried) btrfs.ko would not load anymore. Since this did happen before, > I inspected module dependencies, but they were all fine. Nevertheless > it was libcrc32c.ko which actually failed to load, but the error > ("Accessing a corrupted shared library") wasn't very helpful. Until I > spotted crypto_alg_lookup(), and "only" a few steps I found this commit > of yours. The problem, ultimately, is that all of the sudden > cryptomgr.ko needs to be available in initrd. Without any module having > a dependency on it, it wouldn't get pulled in automatically. And there > was no need for it before (until later in the boot process, when / was > already mounted). > > Can this be addressed in some way, i.e. is there a way to re-work your > change to remove the dependency again? Can you send me your .config file please? Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt