Thread (12 messages) 12 messages, 4 authors, 2024-03-23

Re: Cannot load wireguard module

From: Michal Suchánek <hidden>
Date: 2024-03-15 13:06:26
Also in: linuxppc-dev

Hello,

On Fri, Mar 15, 2024 at 12:37:22PM +0000, Christophe Leroy wrote:
Hi,

Le 15/03/2024 à 13:20, Michal Suchánek a écrit :
quoted
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.
Reportedly it worked on 6.5.9 kernel but with a 6.4 distribution kernel
I have available it does not work either.

Attaching the config.

Christophe
quoted
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:~ #

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help