Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Christophe Leroy <christophe.leroy@csgroup.eu>
To: "Michal Suchánek" <msuchanek@suse.de>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	"wireguard@lists.zx2c4.com" <wireguard@lists.zx2c4.com>,
	"Jason A. Donenfeld" <Jason@zx2c4.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: Cannot load wireguard module
Date: Fri, 15 Mar 2024 12:37:22 +0000	[thread overview]
Message-ID: <90a65592-1447-4fa2-97c4-ed3e925f6be2@csgroup.eu> (raw)
In-Reply-To: <20240315122005.GG20665@kitsune.suse.cz>

Hi,

Le 15/03/2024 à 13:20, Michal Suchánek a écrit :
> Hello,
> 
> I cannot load the wireguard module.
> 
> Loading the module provides no diagnostic other than 'No such device'.
> 
> Please provide maningful diagnostics for loading software-only driver,
> clearly there is no particular device needed.

Can you tell us more ? Were you able to load it before ?
Can you provide your .config ?

I just gave it a try on my powerpc 8xx (ppc32) as built-in (I don't use 
modules) and it seems to probe properly:

[    7.547390] wireguard: allowedips self-tests: pass
[    7.607224] wireguard: nonce counter self-tests: pass
[    7.776594] wireguard: ratelimiter self-tests: pass
[    7.781723] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com 
for info
rmation.
[    7.789570] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld 
<Jason@zx2c
4.com>. All Rights Reserved.


Christophe

> 
> Thanks
> 
> Michal
> 
> jostaberry-1:~ # uname -a
> Linux jostaberry-1 6.8.0-lp155.8.g7e0e887-default #1 SMP Wed Mar 13 09:02:21 UTC 2024 (7e0e887) ppc64le ppc64le ppc64le GNU/Linux
> jostaberry-1:~ # modprobe wireguard
> modprobe: ERROR: could not insert 'wireguard': No such device
> jostaberry-1:~ # modprobe -v wireguard
> insmod /lib/modules/6.8.0-lp155.8.g7e0e887-default/kernel/arch/powerpc/crypto/chacha-p10-crypto.ko.zst
> modprobe: ERROR: could not insert 'wireguard': No such device
> jostaberry-1:~ # modprobe chacha-generic
> jostaberry-1:~ # modprobe -v wireguard
> insmod /lib/modules/6.8.0-lp155.8.g7e0e887-default/kernel/arch/powerpc/crypto/chacha-p10-crypto.ko.zst
> modprobe: ERROR: could not insert 'wireguard': No such device
> jostaberry-1:~ #
> 

  reply	other threads:[~2024-03-15 12:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15 12:20 Michal Suchánek
2024-03-15 12:37 ` Christophe Leroy [this message]
2024-03-15 13:05   ` Michal Suchánek
2024-03-15 23:44 ` Michael Ellerman
2024-03-18 11:50   ` Michael Ellerman
2024-03-18 17:08     ` Michal Suchánek
     [not found]       ` <20240319124742.GM20665@kitsune.suse.cz>
2024-03-20 12:41         ` Michael Ellerman
2024-03-20 16:04           ` Michal Suchánek
2024-03-21 12:47             ` Michael Ellerman
2024-03-22 11:33           ` Herbert Xu
2024-03-23  0:18             ` Michael Ellerman

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=90a65592-1447-4fa2-97c4-ed3e925f6be2@csgroup.eu \
    --to=christophe.leroy@csgroup.eu \
    --cc=Jason@zx2c4.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=msuchanek@suse.de \
    --cc=netdev@vger.kernel.org \
    --cc=wireguard@lists.zx2c4.com \
    /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;
as well as URLs for NNTP newsgroup(s).