From: Paolo Abeni <pabeni@redhat.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: FUJITA Tomonori <fujita.tomonori@gmail.com>,
davem@davemloft.net, edumazet@google.com,
rust-for-linux@vger.kernel.org, andrew@lunn.ch,
hkallweit1@gmail.com, tmgross@umich.edu, aliceryhl@google.com,
boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com,
benno.lossin@proton.me, a.hindborg@kernel.org, ojeda@kernel.org,
alex.gaynor@gmail.com, netdev@vger.kernel.org
Subject: Re: [PATCH net v2] rust: net::phy fix module autoloading
Date: Wed, 18 Dec 2024 11:04:25 +0100 [thread overview]
Message-ID: <da411dfa-3dac-4205-85f5-b99bc35f3333@redhat.com> (raw)
In-Reply-To: <20241217085124.761566e6@kernel.org>
On 12/17/24 17:51, Jakub Kicinski wrote:
> On Tue, 17 Dec 2024 07:44:00 -0800 Jakub Kicinski wrote:
>> On Tue, 17 Dec 2024 16:11:29 +0100 Paolo Abeni wrote:
>>>> I'll look into it. Just in case you already investigated the same thing
>>>> I would - have you tried the rust build script from NIPA or just to
>>>> build manually?
>>>
>>> I tried both (I changed the build dir in the script to fit my setup). I
>>> could not see the failure in any case - on top of RHEL 9.
>>
>> I think I figured it out, you must have old clang. On Fedora 41
>> CFI_CLANG defaults to y and prevents RUST from getting enabled.
>
> Still hitting a problem in module signing.
> Rust folks does this ring a bell?
>
> make[4]: *** Deleting file 'certs/signing_key.pem'
> GENKEY certs/signing_key.pem
> ....+.........+++++
> -----
> 80728E46C07F0000:error:03000098:digital envelope routines:do_sigver_init:invalid digest:crypto/evp/m_sigver.c:342:
> make[4]: *** [../certs/Makefile:53: certs/signing_key.pem] Error 1
> make[4]: *** Waiting for unfinished jobs....
>
> allmodconfig without Rust builds fine with both GCC and clang.
FTR, I got a similar error (even without RUST) when I had
CONFIG_MODULE_SIG_HASH="sha1"
I moved to
CONFIG_MODULE_SIG_HASH="sha256"
since a while, and that fixed the issue for me (also
CONFIG_MODULE_SIG_SHA256=y is needed).
/P
next prev parent reply other threads:[~2024-12-18 10:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-12 13:00 [PATCH net v2] rust: net::phy fix module autoloading FUJITA Tomonori
2024-12-17 8:54 ` Paolo Abeni
2024-12-17 14:54 ` Jakub Kicinski
2024-12-17 15:11 ` Paolo Abeni
2024-12-17 15:44 ` Jakub Kicinski
2024-12-17 16:51 ` Jakub Kicinski
2024-12-18 2:24 ` FUJITA Tomonori
2024-12-18 10:04 ` Paolo Abeni [this message]
2024-12-18 19:58 ` Jakub Kicinski
2024-12-17 9:00 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=da411dfa-3dac-4205-85f5-b99bc35f3333@redhat.com \
--to=pabeni@redhat.com \
--cc=a.hindborg@kernel.org \
--cc=alex.gaynor@gmail.com \
--cc=aliceryhl@google.com \
--cc=andrew@lunn.ch \
--cc=benno.lossin@proton.me \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun.feng@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=fujita.tomonori@gmail.com \
--cc=gary@garyguo.net \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=tmgross@umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox