wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* DMKS failed after Kernel Upgrade to 4.4.0-161-generic on Ubuntu 16.04 LTS
@ 2019-09-06  7:32 Markus Grundmann
  2019-09-06 14:06 ` Jason A. Donenfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Grundmann @ 2019-09-06  7:32 UTC (permalink / raw)
  To: wireguard

Question: If the patch needed?

Don't touch a running system :-|
-Markus


[..]
Selecting previously unselected package wireguard-dkms.
(Reading database ... 346239 files and directories currently installed.)
Preparing to unpack .../wireguard-dkms_0.0.20190702-wg1~xenial_all.deb ...
Unpacking wireguard-dkms (0.0.20190702-wg1~xenial) ...
Selecting previously unselected package wireguard-tools.
Preparing to unpack
.../wireguard-tools_0.0.20190702-wg1~xenial_amd64.deb ...
Unpacking wireguard-tools (0.0.20190702-wg1~xenial) ...
Selecting previously unselected package wireguard.
Preparing to unpack .../wireguard_0.0.20190702-wg1~xenial_all.deb ...
Unpacking wireguard (0.0.20190702-wg1~xenial) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up wireguard-dkms (0.0.20190702-wg1~xenial) ...
Loading new wireguard-0.0.20190702 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-161-generic
Building initial module for 4.4.0-161-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.4.0-161-generic
(x86_64)
Consult /var/lib/dkms/wireguard/0.0.20190702/build/make.log for more
information.
Setting up wireguard-tools (0.0.20190702-wg1~xenial) ...
Setting up wireguard (0.0.20190702-wg1~xenial) ...

=== Crash Report ===
ProblemType: Package
DKMSBuildLog:
 DKMS make.log for wireguard-0.0.20190702 for kernel 4.4.0-161-generic
(x86_64)
 Fr 6. Sep 09:02:18 CEST 2019
 make: Entering directory '/usr/src/linux-headers-4.4.0-161-generic'
   LD      /var/lib/dkms/wireguard/0.0.20190702/build/built-in.o
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/main.o
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/noise.o
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/device.o
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/peer.o
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/timers.o
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/queueing.o
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/send.o
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/receive.o
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/socket.o
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/peerlookup.o
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.o
 /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function
‘root_remove_peer_lists’:
 /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:72:1: warning:
the frame size of 1048 bytes is larger than 1024 bytes
[-Wframe-larger-than=]
  }
  ^
 /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function
‘root_free_rcu’:
 /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:59:1: warning:
the frame size of 1048 bytes is larger than 1024 bytes
[-Wframe-larger-than=]
  }
  ^
 /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function
‘walk_remove_by_peer.isra.3’:
 /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:126:1: warning:
the frame size of 1032 bytes is larger than 1024 bytes
[-Wframe-larger-than=]
  }
  ^
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o
 /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:25:8: error:
unknown type name ‘hsiphash_key_t’
  static hsiphash_key_t key;
         ^
 /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c: In function
‘wg_ratelimiter_allow’:
 /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:109:22: error:
implicit declaration of function ‘hsiphash_2u32’
[-Werror=implicit-function-declaration]
    bucket = &table_v4[hsiphash_2u32(net_word, ip, &key) &
                       ^
 /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:116:22: error:
implicit declaration of function ‘hsiphash_3u32’
[-Werror=implicit-function-declaration]
    bucket = &table_v6[hsiphash_3u32(net_word, ip >> 32, ip, &key) &
                       ^
 cc1: some warnings being treated as errors
 scripts/Makefile.build:285: recipe for target
'/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o' failed
 make[1]: *** [/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o]
Error 1
 Makefile:1454: recipe for target
'_module_/var/lib/dkms/wireguard/0.0.20190702/build' failed
 make: *** [_module_/var/lib/dkms/wireguard/0.0.20190702/build] Error 2
 make: Leaving directory '/usr/src/linux-headers-4.4.0-161-generic'
DKMSKernelVersion: 4.4.0-161-generic
Date: Fri Sep  6 09:02:28 2019
DuplicateSignature:
dkms:wireguard-dkms:0.0.20190702-wg1~xenial:/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:25:8:
error: unknown type name ‘hsiphash_key_t’
Package: wireguard-dkms 0.0.20190702-wg1~xenial
PackageVersion: 0.0.20190702-wg1~xenial
SourcePackage: wireguard
Title: wireguard-dkms 0.0.20190702-wg1~xenial: wireguard kernel module
failed to build
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: DMKS failed after Kernel Upgrade to 4.4.0-161-generic on Ubuntu 16.04 LTS
  2019-09-06  7:32 DMKS failed after Kernel Upgrade to 4.4.0-161-generic on Ubuntu 16.04 LTS Markus Grundmann
@ 2019-09-06 14:06 ` Jason A. Donenfeld
  2019-09-06 15:00   ` Markus Grundmann
  0 siblings, 1 reply; 5+ messages in thread
From: Jason A. Donenfeld @ 2019-09-06 14:06 UTC (permalink / raw)
  To: Markus Grundmann; +Cc: WireGuard mailing list


[-- Attachment #1.1: Type: text/plain, Size: 5997 bytes --]

The Ubuntu kernel team backported something wrong. They know that they
screwed it up, but they're unable to fix it for another 7 weeks. That sort
of delay is unacceptable for users who rely on WireGuard, so I released a
new version, 20190905, yesterday that contains a workaround. At this point
we're waiting on Egbert to bump the Ubuntu package to the newer version I
released.

Sorry for the hassle. I'm not happy about the situation either, but it is
what it is. Ubuntu isn't the best distro to deal with unfortunately.

I'll poke Egbert again to see if he can hurry up.

On Fri, Sep 6, 2019, 01:39 Markus Grundmann <markus@activezone.de> wrote:

> Question: If the patch needed?
>
> Don't touch a running system :-|
> -Markus
>
>
> [..]
> Selecting previously unselected package wireguard-dkms.
> (Reading database ... 346239 files and directories currently installed.)
> Preparing to unpack .../wireguard-dkms_0.0.20190702-wg1~xenial_all.deb ...
> Unpacking wireguard-dkms (0.0.20190702-wg1~xenial) ...
> Selecting previously unselected package wireguard-tools.
> Preparing to unpack
> .../wireguard-tools_0.0.20190702-wg1~xenial_amd64.deb ...
> Unpacking wireguard-tools (0.0.20190702-wg1~xenial) ...
> Selecting previously unselected package wireguard.
> Preparing to unpack .../wireguard_0.0.20190702-wg1~xenial_all.deb ...
> Unpacking wireguard (0.0.20190702-wg1~xenial) ...
> Processing triggers for man-db (2.7.5-1) ...
> Setting up wireguard-dkms (0.0.20190702-wg1~xenial) ...
> Loading new wireguard-0.0.20190702 DKMS files...
> First Installation: checking all kernels...
> Building only for 4.4.0-161-generic
> Building initial module for 4.4.0-161-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.4.0-161-generic
> (x86_64)
> Consult /var/lib/dkms/wireguard/0.0.20190702/build/make.log for more
> information.
> Setting up wireguard-tools (0.0.20190702-wg1~xenial) ...
> Setting up wireguard (0.0.20190702-wg1~xenial) ...
>
> === Crash Report ===
> ProblemType: Package
> DKMSBuildLog:
>  DKMS make.log for wireguard-0.0.20190702 for kernel 4.4.0-161-generic
> (x86_64)
>  Fr 6. Sep 09:02:18 CEST 2019
>  make: Entering directory '/usr/src/linux-headers-4.4.0-161-generic'
>    LD      /var/lib/dkms/wireguard/0.0.20190702/build/built-in.o
>    CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/main.o
>    CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/noise.o
>    CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/device.o
>    CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/peer.o
>    CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/timers.o
>    CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/queueing.o
>    CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/send.o
>    CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/receive.o
>    CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/socket.o
>    CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/peerlookup.o
>    CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.o
>  /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function
> ‘root_remove_peer_lists’:
>  /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:72:1: warning:
> the frame size of 1048 bytes is larger than 1024 bytes
> [-Wframe-larger-than=]
>   }
>   ^
>  /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function
> ‘root_free_rcu’:
>  /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:59:1: warning:
> the frame size of 1048 bytes is larger than 1024 bytes
> [-Wframe-larger-than=]
>   }
>   ^
>  /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function
> ‘walk_remove_by_peer.isra.3’:
>  /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:126:1: warning:
> the frame size of 1032 bytes is larger than 1024 bytes
> [-Wframe-larger-than=]
>   }
>   ^
>    CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o
>  /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:25:8: error:
> unknown type name ‘hsiphash_key_t’
>   static hsiphash_key_t key;
>          ^
>  /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c: In function
> ‘wg_ratelimiter_allow’:
>  /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:109:22: error:
> implicit declaration of function ‘hsiphash_2u32’
> [-Werror=implicit-function-declaration]
>     bucket = &table_v4[hsiphash_2u32(net_word, ip, &key) &
>                        ^
>  /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:116:22: error:
> implicit declaration of function ‘hsiphash_3u32’
> [-Werror=implicit-function-declaration]
>     bucket = &table_v6[hsiphash_3u32(net_word, ip >> 32, ip, &key) &
>                        ^
>  cc1: some warnings being treated as errors
>  scripts/Makefile.build:285: recipe for target
> '/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o' failed
>  make[1]: *** [/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o]
> Error 1
>  Makefile:1454: recipe for target
> '_module_/var/lib/dkms/wireguard/0.0.20190702/build' failed
>  make: *** [_module_/var/lib/dkms/wireguard/0.0.20190702/build] Error 2
>  make: Leaving directory '/usr/src/linux-headers-4.4.0-161-generic'
> DKMSKernelVersion: 4.4.0-161-generic
> Date: Fri Sep  6 09:02:28 2019
> DuplicateSignature:
>
> dkms:wireguard-dkms:0.0.20190702-wg1~xenial:/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:25:8:
> error: unknown type name ‘hsiphash_key_t’
> Package: wireguard-dkms 0.0.20190702-wg1~xenial
> PackageVersion: 0.0.20190702-wg1~xenial
> SourcePackage: wireguard
> Title: wireguard-dkms 0.0.20190702-wg1~xenial: wireguard kernel module
> failed to build
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>

[-- Attachment #1.2: Type: text/html, Size: 6945 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: DMKS failed after Kernel Upgrade to 4.4.0-161-generic on Ubuntu 16.04 LTS
  2019-09-06 14:06 ` Jason A. Donenfeld
@ 2019-09-06 15:00   ` Markus Grundmann
  2019-09-06 18:18     ` Jason A. Donenfeld
  2019-09-06 19:51     ` Egbert Verhage
  0 siblings, 2 replies; 5+ messages in thread
From: Markus Grundmann @ 2019-09-06 15:00 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list

No! No! Jason! You do not have to apologize. I think we have to thank 
you for WireGuard!

-Markus

Am 2019-09-06 16:06, schrieb Jason A. Donenfeld:

> Sorry for the hassle. I'm not happy about the situation either, but it
> is what it is. Ubuntu isn't the best distro to deal with
> unfortunately.
> 
> I'll poke Egbert again to see if he can hurry up.

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: DMKS failed after Kernel Upgrade to 4.4.0-161-generic on Ubuntu 16.04 LTS
  2019-09-06 15:00   ` Markus Grundmann
@ 2019-09-06 18:18     ` Jason A. Donenfeld
  2019-09-06 19:51     ` Egbert Verhage
  1 sibling, 0 replies; 5+ messages in thread
From: Jason A. Donenfeld @ 2019-09-06 18:18 UTC (permalink / raw)
  To: Markus Grundmann; +Cc: WireGuard mailing list


[-- Attachment #1.1: Type: text/plain, Size: 537 bytes --]

Egbert just uploaded new packages. `apt update && apt upgrade` and you
should be set.

On Fri, Sep 6, 2019, 09:00 Markus Grundmann <markus@activezone.de> wrote:

> No! No! Jason! You do not have to apologize. I think we have to thank
> you for WireGuard!
>
> -Markus
>
> Am 2019-09-06 16:06, schrieb Jason A. Donenfeld:
>
> > Sorry for the hassle. I'm not happy about the situation either, but it
> > is what it is. Ubuntu isn't the best distro to deal with
> > unfortunately.
> >
> > I'll poke Egbert again to see if he can hurry up.
>

[-- Attachment #1.2: Type: text/html, Size: 873 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: DMKS failed after Kernel Upgrade to 4.4.0-161-generic on Ubuntu 16.04 LTS
  2019-09-06 15:00   ` Markus Grundmann
  2019-09-06 18:18     ` Jason A. Donenfeld
@ 2019-09-06 19:51     ` Egbert Verhage
  1 sibling, 0 replies; 5+ messages in thread
From: Egbert Verhage @ 2019-09-06 19:51 UTC (permalink / raw)
  To: Markus Grundmann; +Cc: WireGuard mailing list


[-- Attachment #1.1: Type: text/plain, Size: 566 bytes --]

Hey Markus, 

It shoud be fixed now! Just updated the ppa package en it shoud work.

Greetz,
Egbert

On Fri, 2019-09-06 at 17:00 +0200, Markus Grundmann wrote:
> No! No! Jason! You do not have to apologize. I think we have to
> thank 
> you for WireGuard!
> 
> -Markus
> 
> Am 2019-09-06 16:06, schrieb Jason A. Donenfeld:
> 
> > Sorry for the hassle. I'm not happy about the situation either, but
> > it
> > is what it is. Ubuntu isn't the best distro to deal with
> > unfortunately.
> > 
> > I'll poke Egbert again to see if he can hurry up.

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

end of thread, other threads:[~2019-09-06 19:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-06  7:32 DMKS failed after Kernel Upgrade to 4.4.0-161-generic on Ubuntu 16.04 LTS Markus Grundmann
2019-09-06 14:06 ` Jason A. Donenfeld
2019-09-06 15:00   ` Markus Grundmann
2019-09-06 18:18     ` Jason A. Donenfeld
2019-09-06 19:51     ` Egbert Verhage

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).