0
michcubox

Can't load wireguard kernel module

Recommended Posts

Armbianmonitor:

Hello,

 

I wanted to test wireguard with my cubox i4, but I'm not able to load the module.

 

I tried to search the net for this error, but fond nothing useful.

 

Maybe someone has an idea.

 

Thank you

Michael

 

uname -a
Linux loki 4.19.41-cubox #5.85 SMP Wed May 8 15:52:55 CEST 2019 armv7l GNU/Linux

dpkg -l | grep linux
ii  console-setup-linux              1.164                              all          Linux specific part of console-setup
ii  libselinux1:armhf                2.6-3+b3                           armhf        SELinux runtime shared libraries
ii  linux-base                       4.5                                all          Linux image base package
ii  linux-dtb-next-cubox             5.85                               armhf        Linux DTB, version 4.19.41-cubox
ii  linux-headers-next-cubox         5.85                               armhf        Linux kernel headers for 4.19.41-cubox on armhf
ii  linux-image-next-cubox           5.85                               armhf        Linux kernel, version 4.19.41-cubox
ii  linux-libc-dev                   5.70                               armhf        Linux support headers for userspace development
ii  linux-stretch-root-next-cubox-i  5.85                               armhf        Armbian tweaks for stretch on cubox-i (next branch)
ii  linux-u-boot-cubox-i-next        5.85                               armhf        Uboot loader 2013.10-rc4
ii  util-linux                       2.29.2-1+deb9u1                    armhf        miscellaneous system utilities

modprobe wireguard
modprobe: ERROR: could not insert 'wireguard': Exec format error

dmesg | grep wireguard
[320752.917616] wireguard: unknown relocation: 102

modinfo wireguard
filename:       /lib/modules/4.19.41-cubox/kernel/net/wireguard/wireguard.ko
alias:          net-pf-16-proto-16-family-wireguard
alias:          rtnl-link-wireguard
version:        0.0.20190406
author:         Jason A. Donenfeld <Jason@zx2c4.com>
description:    WireGuard secure network tunnel
license:        GPL v2
srcversion:     9996946C3FF07EF91C1E1DA
depends:
intree:         Y
name:           wireguard
vermagic:       4.19.41-cubox SMP mod_unload modversions ARMv7 thumb2 p2v8

 

Share this post


Link to post
Share on other sites
1 hour ago, michcubox said:

Maybe someone has an idea.


Are you able to build a kernel on your own? Build a fresh kernel with parameter WIREGUARD="yes" ... it is known to work on our most used Allwinner kernel.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0