[wireguard-dkms] wireguard kernel module fails

Problems with packages? Post here, using [tags] of the package name.

Re: [wireguard-dkms] wireguard kernel module fails

Postby graysky » Tue Dec 25, 2018 7:39 pm

Ah, sorry got busy with some other stuff. When I build on an x86_64:
$this->bbcode_second_pass_code('', '
==> Validating source files with sha256sums...
WireGuard-0.0.20181218.tar.xz ... Passed
WireGuard-0.0.20181218.tar.asc ... Skipped
==> Verifying source file signatures with gpg...
WireGuard-0.0.20181218.tar ... Passed
==> Extracting sources...
-> Extracting WireGuard-0.0.20181218.tar.xz with bsdtar
==> Starting build()...
make: Entering directory '/scratch/tit/src/WireGuard-0.0.20181218/src'
CC /scratch/tit/src/WireGuard-0.0.20181218/src/tools/wg.o
CC /scratch/tit/src/WireGuard-0.0.20181218/src/tools/terminal.o
CC /scratch/tit/src/WireGuard-0.0.20181218/src/tools/show.o
CC /scratch/tit/src/WireGuard-0.0.20181218/src/tools/config.o
CC /scratch/tit/src/WireGuard-0.0.20181218/src/tools/ipc.o
CC /scratch/tit/src/WireGuard-0.0.20181218/src/tools/encoding.o
CC /scratch/tit/src/WireGuard-0.0.20181218/src/tools/mnlg.o
CC /scratch/tit/src/WireGuard-0.0.20181218/src/tools/curve25519.o
CC /scratch/tit/src/WireGuard-0.0.20181218/src/tools/setconf.o
CC /scratch/tit/src/WireGuard-0.0.20181218/src/tools/genkey.o
CC /scratch/tit/src/WireGuard-0.0.20181218/src/tools/showconf.o
CC /scratch/tit/src/WireGuard-0.0.20181218/src/tools/pubkey.o
CC /scratch/tit/src/WireGuard-0.0.20181218/src/tools/set.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/main.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/noise.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/device.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/peer.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/timers.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/queueing.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/send.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/receive.o
LD /scratch/tit/src/WireGuard-0.0.20181218/src/tools/wg
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/socket.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/hashtables.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/allowedips.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/ratelimiter.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/cookie.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/netlink.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/crypto/zinc/chacha20/chacha20.o
PERLASM /scratch/tit/src/WireGuard-0.0.20181218/src/crypto/zinc/chacha20/chacha20-x86_64.S
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/crypto/zinc/poly1305/poly1305.o
PERLASM /scratch/tit/src/WireGuard-0.0.20181218/src/crypto/zinc/poly1305/poly1305-x86_64.S
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/crypto/zinc/chacha20poly1305.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/crypto/zinc/blake2s/blake2s.o
AS [M] /scratch/tit/src/WireGuard-0.0.20181218/src/crypto/zinc/blake2s/blake2s-x86_64.o
CC [M] /scratch/tit/src/WireGuard-0.0.20181218/src/crypto/zinc/curve25519/curve25519.o
AS [M] /scratch/tit/src/WireGuard-0.0.20181218/src/crypto/zinc/chacha20/chacha20-x86_64.o
AS [M] /scratch/tit/src/WireGuard-0.0.20181218/src/crypto/zinc/poly1305/poly1305-x86_64.o
LD [M] /scratch/tit/src/WireGuard-0.0.20181218/src/wireguard.o
Building modules, stage 2.
MODPOST 1 modules
CC /scratch/tit/src/WireGuard-0.0.20181218/src/wireguard.mod.o
LD [M] /scratch/tit/src/WireGuard-0.0.20181218/src/wireguard.ko
make: Leaving directory '/scratch/tit/src/WireGuard-0.0.20181218/src'
')

Your output is way different:
$this->bbcode_second_pass_code('', 'make: Entering directory '/home/musikolo/wireguard/src/WireGuard-0.0.20181218/src'
CC [M] /home/musikolo/wireguard/src/WireGuard-0.0.20181218/src/main.o
In file included from include/linux/kernel.h:11,
from include/asm-generic/bug.h:13,
from /usr/src/linux-3.14.79-3-ARCH/arch/arm/include/asm/bug.h:61,
from include/linux/bug.h:4,
from include/linux/thread_info.h:11,
from include/asm-generic/preempt.h:4,
from arch/arm/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:20,
from include/linux/spinlock.h:50,
from include/linux/rcupdate.h:38,
from /home/musikolo/wireguard/src/WireGuard-0.0.20181218/src/compat/compat.h:72,
from <command-line>:
include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes]
int ____ilog2_NaN(void);
^~~
CC [M] /home/musikolo/wireguard/src/WireGuard-0.0.20181218/src/noise.o
In file included from include/linux/kernel.h:11,
from include/asm-generic/bug.h:13,
from /usr/src/linux-3.14.79-3-ARCH/arch/arm/include/asm/bug.h:61,
from include/linux/bug.h:4,
from include/linux/thread_info.h:11,
from include/asm-generic/preempt.h:4,
from arch/arm/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:20,
from include/linux/spinlock.h:50,
from include/linux/rcupdate.h:38,
from /home/musikolo/wireguard/src/WireGuard-0.0.20181218/src/compat/compat.h:72,
from <command-line>:
include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes]
int ____ilog2_NaN(void);
^~~
CC [M] /home/musikolo/wireguard/src/WireGuard-0.0.20181218/src/device.o
')

Not sure what might cause those errors, but the fact that your hardware doesn't have a supported kernel is a red flag. In any case, you might try googling for those warnings? I don't have an idea and without the physical hardware to play with, would only be guessing
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [wireguard-dkms] wireguard kernel module fails

Postby Musikolo » Wed Dec 26, 2018 4:06 am

Just googling around I found this:

- https://github.com/radxa/u-boot/commit/ ... 9362dba4da

Not sure if this makes any sense...
Musikolo
 
Posts: 26
Joined: Fri Jul 25, 2014 3:56 am

Previous

Return to Packages

Who is online

Users browsing this forum: No registered users and 11 guests