Development discussion of WireGuard
 help / color / Atom feed
* Re: Ubuntu 18.04 kernel 4.15.0-106-generic breaks wireguard-1.0.20200520
@ 2020-06-11 12:16 Martin Jurasik
  0 siblings, 0 replies; 7+ messages in thread
From: Martin Jurasik @ 2020-06-11 12:16 UTC (permalink / raw)
  To: wireguard

Hi Jason,

still no luck with the updated version. Make still fails ...

#######

wireguard/bionic,bionic,now 1.0.20200513-1~18.04 all [installed,automatic]
wireguard-dkms/bionic,bionic,now 1.0.20200611-0ppa1~18.04 all [installed]
wireguard-tools/bionic,now 1.0.20200513-1~18.04 amd64 [installed]

deploy@xxx:~$ sudo dpkg-reconfigure wireguard-dkms

------------------------------
Deleting module version: 1.0.20200611
completely from the DKMS tree.
------------------------------
Done.
Loading new wireguard-1.0.20200611 DKMS files...
Building for 4.15.0-101-generic 4.15.0-106-generic
Building initial module for 4.15.0-101-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/wireguard-dkms.0.crash'
Error! Bad return status for module build on kernel: 4.15.0-101-generic (x86_64)
Consult /var/lib/dkms/wireguard/1.0.20200611/build/make.log for more information.

deploy@xxx:~$ cat /var/lib/dkms/wireguard/1.0.20200611/build/make.log 
DKMS make.log for wireguard-1.0.20200611 for kernel 4.15.0-101-generic (x86_64)
Thu 11 Jun 14:07:36 CEST 2020
make: Entering directory '/usr/src/linux-headers-4.15.0-101-generic'
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/main.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/noise.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/device.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/peer.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/timers.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/queueing.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/send.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/receive.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/socket.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/peerlookup.o
/var/lib/dkms/wireguard/1.0.20200611/build/socket.c: In function ‘send6’:
/var/lib/dkms/wireguard/1.0.20200611/build/socket.c:139:20: error: ‘const struct ipv6_stub’ has no member named ‘ipv6_dst_lookup_flow’; did you mean ‘ipv6_dst_lookup’?
   dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
                    ^~~~~~~~~~~~~~~~~~~~
                    ipv6_dst_lookup
scripts/Makefile.build:330: recipe for target '/var/lib/dkms/wireguard/1.0.20200611/build/socket.o' failed
make[1]: *** [/var/lib/dkms/wireguard/1.0.20200611/build/socket.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:1577: recipe for target '_module_/var/lib/dkms/wireguard/1.0.20200611/build' failed
make: *** [_module_/var/lib/dkms/wireguard/1.0.20200611/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.15.0-101-generic'

####

Regards, Martin

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Ubuntu 18.04 kernel  4.15.0-106-generic breaks  wireguard-1.0.20200520
  2020-06-11 17:49 Ada Sauce
@ 2020-06-11 18:41 ` Ada Sauce
  0 siblings, 0 replies; 7+ messages in thread
From: Ada Sauce @ 2020-06-11 18:41 UTC (permalink / raw)
  To: wireguard

On Thursday, June 11, 2020 14:49 ADT, "Ada Sauce" <adasauce@with.parts> wrote:

> I'm now also observing the same failure mode as Martin.
>
> However, the kernel is 4.15.0-101-generic.
>
> ```
> /var/lib/dkms/wireguard/1.0.20200611/build/socket.c: In function ‘send6’:
> /var/lib/dkms/wireguard/1.0.20200611/build/socket.c:139:20: error: ‘const struct ipv6_stub’ has no member named ‘ipv6_dst_lookup_flow’; did you mean ‘ipv6_dst_lookup’?
>    dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
>                     ^~~~~~~~~~~~~~~~~~~~
>                     ipv6_dst_lookup
> scripts/Makefile.build:330: recipe for target '/var/lib/dkms/wireguard/1.0.20200611/build/socket.o' failed
> make[1]: *** [/var/lib/dkms/wireguard/1.0.20200611/build/socket.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> Makefile:1577: recipe for target '_module_/var/lib/dkms/wireguard/1.0.20200611/build' failed
> make: *** [_module_/var/lib/dkms/wireguard/1.0.20200611/build] Error 2
> make: Leaving directory '/usr/src/linux-headers-4.15.0-101-generic'
> ```
>
> Cheers, Ada

Apologies for the spam, I finally got 4.15.0-106 via another apt-get update. It's working correctly with this kernel.

It looks like you were running the same kernel, Martin. Perhaps an update will fix it for you as well.

Cheers!


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Ubuntu 18.04 kernel  4.15.0-106-generic breaks  wireguard-1.0.20200520
@ 2020-06-11 17:49 Ada Sauce
  2020-06-11 18:41 ` Ada Sauce
  0 siblings, 1 reply; 7+ messages in thread
From: Ada Sauce @ 2020-06-11 17:49 UTC (permalink / raw)
  To: wireguard

I'm now also observing the same failure mode as Martin.

However, the kernel is 4.15.0-101-generic.

```
/var/lib/dkms/wireguard/1.0.20200611/build/socket.c: In function ‘send6’:
/var/lib/dkms/wireguard/1.0.20200611/build/socket.c:139:20: error: ‘const struct ipv6_stub’ has no member named ‘ipv6_dst_lookup_flow’; did you mean ‘ipv6_dst_lookup’?
   dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
                    ^~~~~~~~~~~~~~~~~~~~
                    ipv6_dst_lookup
scripts/Makefile.build:330: recipe for target '/var/lib/dkms/wireguard/1.0.20200611/build/socket.o' failed
make[1]: *** [/var/lib/dkms/wireguard/1.0.20200611/build/socket.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:1577: recipe for target '_module_/var/lib/dkms/wireguard/1.0.20200611/build' failed
make: *** [_module_/var/lib/dkms/wireguard/1.0.20200611/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.15.0-101-generic'
```

Cheers, Ada


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Ubuntu 18.04 kernel 4.15.0-106-generic breaks wireguard-1.0.20200520
  2020-06-11  8:29 ` Jason A. Donenfeld
@ 2020-06-11 12:05   ` Thilo-Alexander Ginkel
  0 siblings, 0 replies; 7+ messages in thread
From: Thilo-Alexander Ginkel @ 2020-06-11 12:05 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list, unit193

On Thu, Jun 11, 2020 at 10:29 AM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
> Fixed: https://lists.zx2c4.com/pipermail/wireguard/2020-June/005480.html

Excellent, thanks a lot!

Regards,
Thilo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Ubuntu 18.04 kernel 4.15.0-106-generic breaks wireguard-1.0.20200520
  2020-06-10 10:41 Thilo-Alexander Ginkel
  2020-06-10 15:34 ` YU News
@ 2020-06-11  8:29 ` Jason A. Donenfeld
  2020-06-11 12:05   ` Thilo-Alexander Ginkel
  1 sibling, 1 reply; 7+ messages in thread
From: Jason A. Donenfeld @ 2020-06-11  8:29 UTC (permalink / raw)
  To: Thilo-Alexander Ginkel; +Cc: WireGuard mailing list, unit193

Fixed: https://lists.zx2c4.com/pipermail/wireguard/2020-June/005480.html
Unit193 needs to update the ppa. I've CC'd him.

Jason

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Ubuntu 18.04 kernel 4.15.0-106-generic breaks wireguard-1.0.20200520
  2020-06-10 10:41 Thilo-Alexander Ginkel
@ 2020-06-10 15:34 ` YU News
  2020-06-11  8:29 ` Jason A. Donenfeld
  1 sibling, 0 replies; 7+ messages in thread
From: YU News @ 2020-06-10 15:34 UTC (permalink / raw)
  To: Thilo-Alexander Ginkel; +Cc: wireguard

Also breaks Ubuntu 16.04 kernel 4.4.0-184

DKMS make.log for wireguard-1.0.20200520 for kernel 4.4.0-184-generic (x86_64)
Wed Jun 10 22:30:23 CST 2020
make: Entering directory '/usr/src/linux-headers-4.4.0-184-generic'
  LD      /var/lib/dkms/wireguard/1.0.20200520/build/built-in.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/main.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/noise.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/device.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/peer.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/timers.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/queueing.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/send.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/receive.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/socket.o
/var/lib/dkms/wireguard/1.0.20200520/build/socket.c: In function ‘send6’:
/var/lib/dkms/wireguard/1.0.20200520/build/socket.c:139:18: error: ‘const struct ipv6_stub’ has no member named ‘ipv6_dst_lookup’
   dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
                  ^
scripts/Makefile.build:285: recipe for target '/var/lib/dkms/wireguard/1.0.20200520/build/socket.o' failed
make[1]: *** [/var/lib/dkms/wireguard/1.0.20200520/build/socket.o] Error 1
Makefile:1457: recipe for target '_module_/var/lib/dkms/wireguard/1.0.20200520/build' failed
make: *** [_module_/var/lib/dkms/wireguard/1.0.20200520/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.4.0-184-generic'

> 在 2020年6月10日,18:53,Thilo-Alexander Ginkel <thilo@ginkel.com> 写道:
> 
> Hi there,
> 
> after updating to the current Ubuntu 18.04 kernel 4.15.0-106-generic
> kernel wireguard-dkms no longer compiles with the following build
> failure:
> 
> DKMS make.log for wireguard-1.0.20200520 for kernel 4.15.0-106-generic (x86_64)
> Wed Jun 10 12:32:13 CEST 2020
> make: Entering directory '/usr/src/linux-headers-4.15.0-106-generic'
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/main.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/noise.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/device.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/peer.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/timers.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/queueing.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/send.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/receive.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/socket.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/peerlookup.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/allowedips.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/ratelimiter.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/cookie.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/netlink.o
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/crypto/zinc/chacha20/chacha20.o
>  PERLASM /var/lib/dkms/wireguard/1.0.20200520/build/crypto/zinc/chacha20/chacha20-x86_64.S
>  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/crypto/zinc/poly1305/poly1305.o
> In file included from <command-line>:0:0:
> /var/lib/dkms/wireguard/1.0.20200520/build/socket.c: In function ‘send6’:
> /var/lib/dkms/wireguard/1.0.20200520/build/compat/compat.h:102:42:
> error: ‘const struct ipv6_stub’ has no member named ‘ipv6_dst_lookup’;
> did you mean ‘ipv6_dst_lookup_flow’?
> #define ipv6_dst_lookup_flow(a, b, c, d) ipv6_dst_lookup(a, b, &dst,
> c) + (void *)0 ?: dst
>                                          ^
> /var/lib/dkms/wireguard/1.0.20200520/build/socket.c:139:20: note: in
> expansion of macro ‘ipv6_dst_lookup_flow’
>   dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
>                    ^~~~~~~~~~~~~~~~~~~~
> scripts/Makefile.build:330: recipe for target
> '/var/lib/dkms/wireguard/1.0.20200520/build/socket.o' failed
> make[1]: *** [/var/lib/dkms/wireguard/1.0.20200520/build/socket.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> Makefile:1577: recipe for target
> '_module_/var/lib/dkms/wireguard/1.0.20200520/build' failed
> make: *** [_module_/var/lib/dkms/wireguard/1.0.20200520/build] Error 2
> make: Leaving directory '/usr/src/linux-headers-4.15.0-106-generic'
> 
> Regards,
> Thilo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Ubuntu 18.04 kernel 4.15.0-106-generic breaks wireguard-1.0.20200520
@ 2020-06-10 10:41 Thilo-Alexander Ginkel
  2020-06-10 15:34 ` YU News
  2020-06-11  8:29 ` Jason A. Donenfeld
  0 siblings, 2 replies; 7+ messages in thread
From: Thilo-Alexander Ginkel @ 2020-06-10 10:41 UTC (permalink / raw)
  To: wireguard

Hi there,

after updating to the current Ubuntu 18.04 kernel 4.15.0-106-generic
kernel wireguard-dkms no longer compiles with the following build
failure:

DKMS make.log for wireguard-1.0.20200520 for kernel 4.15.0-106-generic (x86_64)
Wed Jun 10 12:32:13 CEST 2020
make: Entering directory '/usr/src/linux-headers-4.15.0-106-generic'
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/main.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/noise.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/device.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/peer.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/timers.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/queueing.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/send.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/receive.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/socket.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/peerlookup.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/allowedips.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/ratelimiter.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/cookie.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/netlink.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/crypto/zinc/chacha20/chacha20.o
  PERLASM /var/lib/dkms/wireguard/1.0.20200520/build/crypto/zinc/chacha20/chacha20-x86_64.S
  CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/crypto/zinc/poly1305/poly1305.o
In file included from <command-line>:0:0:
/var/lib/dkms/wireguard/1.0.20200520/build/socket.c: In function ‘send6’:
/var/lib/dkms/wireguard/1.0.20200520/build/compat/compat.h:102:42:
error: ‘const struct ipv6_stub’ has no member named ‘ipv6_dst_lookup’;
did you mean ‘ipv6_dst_lookup_flow’?
 #define ipv6_dst_lookup_flow(a, b, c, d) ipv6_dst_lookup(a, b, &dst,
c) + (void *)0 ?: dst
                                          ^
/var/lib/dkms/wireguard/1.0.20200520/build/socket.c:139:20: note: in
expansion of macro ‘ipv6_dst_lookup_flow’
   dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
                    ^~~~~~~~~~~~~~~~~~~~
scripts/Makefile.build:330: recipe for target
'/var/lib/dkms/wireguard/1.0.20200520/build/socket.o' failed
make[1]: *** [/var/lib/dkms/wireguard/1.0.20200520/build/socket.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:1577: recipe for target
'_module_/var/lib/dkms/wireguard/1.0.20200520/build' failed
make: *** [_module_/var/lib/dkms/wireguard/1.0.20200520/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.15.0-106-generic'

Regards,
Thilo

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, back to index

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 12:16 Ubuntu 18.04 kernel 4.15.0-106-generic breaks wireguard-1.0.20200520 Martin Jurasik
  -- strict thread matches above, loose matches on Subject: below --
2020-06-11 17:49 Ada Sauce
2020-06-11 18:41 ` Ada Sauce
2020-06-10 10:41 Thilo-Alexander Ginkel
2020-06-10 15:34 ` YU News
2020-06-11  8:29 ` Jason A. Donenfeld
2020-06-11 12:05   ` Thilo-Alexander Ginkel

Development discussion of WireGuard

Archives are clonable: git clone --mirror http://inbox.vuxu.org/wireguard

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git