Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1595643pxb; Thu, 4 Nov 2021 05:17:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAFeSrTCgsa/9wO60gLC65Q/P9nPI37VBzqXrBRXIYGYfzgerMPsq91WjdNim674Tie9O2 X-Received: by 2002:aa7:d48a:: with SMTP id b10mr33681276edr.244.1636028267125; Thu, 04 Nov 2021 05:17:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636028267; cv=none; d=google.com; s=arc-20160816; b=Xr17UwW5+5Kjei/LyWky9lImIvY3F0vtbBI86eTOFTqcwxmPMVAYhSKA1332/HOpxa oLkfWHzFqC+N/teKy6n1U2c2HNTkS8QPvKdgGuk2d9w3kz1vgztXNK781XyPCgV99yLh BxU0hkL2Vo94Ha4t8zlORMMcEgt1Gx/VSkVXBsjyUm6IuC3a87S0Lj99xndLuHI89kVc S0Y0E1cbrgKeXt1aPVcTZcBqzBy/yYdDRSlQZarRAq48W/TwRh4aqJeghhtSf8twugGV kqVhvNvIcrn4sICdTiLqjIxAgGa108gzLxEAgF0ezejhatTZEuaX+ZHxwrVbx7uMQ3Mv BrtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=RU6rQbUvh/G47iCuiJqMKez8GgSiGE/aeYGKhhurJEo=; b=1GuTOVfGtcbyb9NuaA8oMfyK7uGT+FM0vZ6i/5lCwla0Dn/BKDXPFf7FWxapebL+h7 Jgs71BXZmqyormxXAjyln+lEDzfIWb6zlSsEZ1KnVa63vwC7CjlrR6FZ2WRUlxdxPVq8 cVXoK9YQW0W2JZfrmvXf3AkbwP6dQcvFsPGdog7naFcWwma4/Kl+EQPF0pXRnfISPb1w 2bIrBT4swCl6RSL+u0LAuD3w9G3JFh3LVlBvYuWg1w/K37y99HqwdWyq5HKpoTkhTib4 J7A6zM2cs8kMUMDabgZrjv6yOifKJF6ae4UHom1yTUX5UUoTmR+2EXug48mj1qE0cWeT 40GQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si7357332edr.394.2021.11.04.05.17.01; Thu, 04 Nov 2021 05:17:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231594AbhKDMTY (ORCPT + 99 others); Thu, 4 Nov 2021 08:19:24 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:56542 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231563AbhKDMTW (ORCPT ); Thu, 4 Nov 2021 08:19:22 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1mibfR-0002ie-Nn; Thu, 04 Nov 2021 20:16:29 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1mibfA-00026K-MG; Thu, 04 Nov 2021 20:16:12 +0800 Date: Thu, 4 Nov 2021 20:16:12 +0800 From: Herbert Xu To: Geert Uytterhoeven Cc: Damien Le Moal , Nathan Chancellor , Linux Crypto Mailing List , Vladis Dronov , Simo Sorce , Eric Biggers , "llvm@lists.linux.dev" , kernel test robot , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] crypto: api - Do not create test larvals if manager is disabled Message-ID: <20211104121612.GA8044@gondor.apana.org.au> References: <20210917002619.GA6407@gondor.apana.org.au> <20211001055058.GA6081@gondor.apana.org.au> <20211003002801.GA5435@gondor.apana.org.au> <20211019132802.GA14233@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Nov 04, 2021 at 08:58:16AM +0100, Geert Uytterhoeven wrote: > Hi Damien, > > On Thu, Nov 4, 2021 at 8:29 AM Damien Le Moal wrote: > > On 2021/11/03 0:41, Geert Uytterhoeven wrote: > > > > Thanks for your patch, which is now commit cad439fc040efe5f > > > ("crypto: api - Do not create test larvals if manager is disabled"). > > > > > > I have bisected a failure to mount the root file system on k210 to this > > > commit. > > > > > > Dmesg before/after: > > > > > > mmcblk0: mmc0:0000 SA04G 3.68 GiB > > > random: fast init done > > > mmcblk0: p1 > > > -EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled. > > > -VFS: Mounted root (ext4 filesystem) readonly on device 179:1. > > > +EXT4-fs (mmcblk0p1): Cannot load crc32c driver. > > > +VFS: Cannot open root device "mmcblk0p1" or unknown-block(179,1): error -80 > > > > p1 exist as the message 2 lines above shows. And since the mount error is -80 > > (ELIBBAD), it is really all about crypto. Since the default k210 config compile > > everything in-kernel (no modules), it should work. Was crc32c compiled as a > > module ? If yes, then the k210 will need to be booted with U-Boot and use a real > > initrd, which likely will all end-up in a no memory situation. ext4 in itself > > will consume way too much memory... > > Everything is built-in, including crc32c. It worked fine, until the commit > referenced. Can someone please send me the Kconfig used in this case? Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt