lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240319124742.GM20665@kitsune.suse.cz>
Date: Tue, 19 Mar 2024 13:47:42 +0100
From: Michal Suchánek <msuchanek@...e.de>
To: Michael Ellerman <mpe@...erman.id.au>
Cc: netdev@...r.kernel.org, "Jason A. Donenfeld" <Jason@...c4.com>,
	linuxppc-dev@...ts.ozlabs.org, wireguard@...ts.zx2c4.com,
	dtsen@...ux.ibm.com
Subject: Re: Cannot load wireguard module

On Mon, Mar 18, 2024 at 06:08:55PM +0100, Michal Suchánek wrote:
> On Mon, Mar 18, 2024 at 10:50:49PM +1100, Michael Ellerman wrote:
> > Michael Ellerman <mpe@...erman.id.au> writes:
> > > Michal Suchánek <msuchanek@...e.de> writes:
> > >> 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

Attached.

> > >
> > > That should probably show where it's bailing out.
> > >
> > >> 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

Download attachment "trace.dat.xz" of type "application/x-xz" (1464752 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ