On 2018-12-07 12:46, Christian Hewitt wrote:
I’m working to add WireGuard support to an embedded distro that runs
on a mix of x86 and ARM hardware. I’m using 4.19.7 as the kernel base,
cross compiling using a well proven toolchain and build-system. The
kernel defconfig can be seen here:

https://github.com/chewitt/LibreELEC.tv/blob/amlogic/projects/Amlogic/linux/linux.aarch64.conf

I see no compile errors when building the kernel module or wireguard
tools. The kernel module loads without errors and ‘wg’ can generate
private and preshared keys, but when creating a public key from the
private key ‘wg pubkey < /path/to/privatekey' fails with “Bus error”
and no key is generated.

"Bus error" from the wg tool doesn't have any thing to do with the kernel-module. If I should guess I'd go for some incompatibility between the installed wireguard-tools package and the rest of your system.

Also, my /usr/bin/wg is linked with libmnl0 as well.

- OM
_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

Reply via email to