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

Re: Cannot load wireguard module

From: Michal Suchánek <hidden>
Date: 2024-03-18 17:09:48
Also in: linuxppc-dev

On Mon, Mar 18, 2024 at 10:50:49PM +1100, Michael Ellerman wrote:
Michael Ellerman [off-list ref] writes:
quoted
Michal Suchánek [off-list ref] writes:
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.
Presumably it's just bubbling up an -ENODEV from somewhere.

Can you get a trace of it?

Something like:

  # trace-cmd record -p function_graph -F modprobe wireguard

That should probably show where it's bailing out.
quoted
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
 
What machine is this? A Power10?
I am able to load the module successfully on a P10 running v6.8.0.
Of course, it's not a Power10. Otherwise the Power10-specific chacha
implementation would load.

Thanks

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