Wireguard module
by lambo69 from LinuxQuestions.org on (#56GJC)
Hi all,
i try get Wireguard running on an installed rpi3 under Slackware. On Slackbuilds, i didn't find a Sackbuild for -current, so i used the one for -14.2.
Everything compiles fine, but when trying to insert the module, i get the following error:
Code:root@ebbes:~/wireguard-linux-compat> modprobe wireguard
modprobe: ERROR: could not insert 'wireguard': Exec format error
root@ebbes:~/wireguard-linux-compat> modinfo wireguard
filename: /lib/modules/5.4.47-v7-arm/extra/wireguard.ko
intree: Y
alias: net-pf-16-proto-16-family-wireguard
alias: rtnl-link-wireguard
version: 1.0.20200623
author: Jason A. Donenfeld <Jason@zx2c4.com>
description: WireGuard secure network tunnel
license: GPL v2
srcversion: 7407718E6357B33A3813792
depends: ipv6,udp_tunnel,ip6_udp_tunnel
name: wireguard
vermagic: 5.4.51-armv7 SMP mod_unload modversions ARMv6 p2v8
root@ebbes:~/wireguard-linux-compat> uname -r
5.4.47-v7-armI tried to compile the module by hand, but that also didn't work (unfortunately, I don't know too much about compiling by hand).
Has anyone an idea, how to get the module running under slackwarearm -current?


i try get Wireguard running on an installed rpi3 under Slackware. On Slackbuilds, i didn't find a Sackbuild for -current, so i used the one for -14.2.
Everything compiles fine, but when trying to insert the module, i get the following error:
Code:root@ebbes:~/wireguard-linux-compat> modprobe wireguard
modprobe: ERROR: could not insert 'wireguard': Exec format error
root@ebbes:~/wireguard-linux-compat> modinfo wireguard
filename: /lib/modules/5.4.47-v7-arm/extra/wireguard.ko
intree: Y
alias: net-pf-16-proto-16-family-wireguard
alias: rtnl-link-wireguard
version: 1.0.20200623
author: Jason A. Donenfeld <Jason@zx2c4.com>
description: WireGuard secure network tunnel
license: GPL v2
srcversion: 7407718E6357B33A3813792
depends: ipv6,udp_tunnel,ip6_udp_tunnel
name: wireguard
vermagic: 5.4.51-armv7 SMP mod_unload modversions ARMv6 p2v8
root@ebbes:~/wireguard-linux-compat> uname -r
5.4.47-v7-armI tried to compile the module by hand, but that also didn't work (unfortunately, I don't know too much about compiling by hand).
Has anyone an idea, how to get the module running under slackwarearm -current?