From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755875AbcECJKT (ORCPT ); Tue, 3 May 2016 05:10:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53826 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752047AbcECJKQ convert rfc822-to-8bit (ORCPT ); Tue, 3 May 2016 05:10:16 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20160430083248.GA20775@cucamonga.audible.transient.net> References: <20160430083248.GA20775@cucamonga.audible.transient.net> To: Jamie Heilman Cc: dhowells@redhat.com, Herbert Xu , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: v4.6-rc1 regression bisected, Problem loading in-kernel X.509 certificate (-2) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26794.1462266613.1@warthog.procyon.org.uk> Content-Transfer-Encoding: 8BIT Date: Tue, 03 May 2016 10:10:13 +0100 Message-ID: <26795.1462266613@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 03 May 2016 09:10:15 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Problem loading in-kernel X.509 certificate (-2) ENOENT? Hmmm... The only place that is generated is in the crypto layer. That suggests missing crypto of some sort. The attached patch enables some debugging in some relevant files if you can try applying it to your kernel. David --- diff --git a/crypto/asymmetric_keys/pkcs7_verify.c b/crypto/asymmetric_keys/pkcs7_verify.c index 50be2a15e531..573b3960867b 100644 --- a/crypto/asymmetric_keys/pkcs7_verify.c +++ b/crypto/asymmetric_keys/pkcs7_verify.c @@ -8,7 +8,7 @@ * as published by the Free Software Foundation; either version * 2 of the Licence, or (at your option) any later version. */ - +#define DEBUG #define pr_fmt(fmt) "PKCS7: "fmt #include #include diff --git a/crypto/asymmetric_keys/public_key.c b/crypto/asymmetric_keys/public_key.c index 0f8b264b3961..99f297129381 100644 --- a/crypto/asymmetric_keys/public_key.c +++ b/crypto/asymmetric_keys/public_key.c @@ -10,7 +10,7 @@ * as published by the Free Software Foundation; either version * 2 of the Licence, or (at your option) any later version. */ - +#define DEBUG #define pr_fmt(fmt) "PKEY: "fmt #include #include diff --git a/crypto/asymmetric_keys/x509_public_key.c b/crypto/asymmetric_keys/x509_public_key.c index 733c046aacc6..373d472022ef 100644 --- a/crypto/asymmetric_keys/x509_public_key.c +++ b/crypto/asymmetric_keys/x509_public_key.c @@ -8,7 +8,7 @@ * as published by the Free Software Foundation; either version * 2 of the Licence, or (at your option) any later version. */ - +#define DEBUG #define pr_fmt(fmt) "X.509: "fmt #include #include