Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Nils Andreas Svee <me@lochnair.net>
To: jugs <jugs@protonmail.ch>,
	WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: Kernel 4.11.9 Support
Date: Thu, 06 Jul 2017 12:40:31 +0200	[thread overview]
Message-ID: <1499337631.2605924.1032148312.417D8BEF@webmail.messagingengine.com> (raw)
In-Reply-To: <D-MLue-9vlB3Qm_i2xdc-LgpmmeCkvnAXCRXV1rGDvpU_z9CY_-VqoJ_4PvJOk3dXto6TNRvfcV-mX42nqcYqA==@protonmail.ch>

Apparentaly this commit
(https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/co=
mmit/?h=3Dlinux-4.11.y&id=3D95876855a55072572895a236b156ffb357fd5538)
from 4.12 was backported to the 4.11.y branch and included in 4.11.9.

This was fixed for WireGuard in
https://git.zx2c4.com/WireGuard/commit/?id=3De5c75663c35d30816807bcb1f97c83=
ba960b247a
for 4.12, we need to apply this for 4.11.9 and later too.


On Thu, Jul 6, 2017, at 12:27, jugs wrote:
> Would it be possible to add support for the current 4.11.x kernel? After =
upgrading to 4.11.9 from 4.11.7 the current wireguard snapshot no longer wo=
rks.
>=20
> After installation, I get the following errors:
>=20
> :: Running post-transaction hooks...=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=20
> (1/3) Install DKMS modules=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =3D=3D> dkms install wireguard/0.0.20170629 -k 4.11.9-1-ARCH=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> Error! Bad return status for module build on kernel: 4.11.9-1-ARCH (x86_6=
4)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0
> Consult /var/lib/dkms/wireguard/0.0.20170629/build/make.log for more info=
rmation.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
>=20
> [jugs@host ~]$ cat /var/lib/dkms/wireguard/0.0.20170629/build/make.log=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=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C [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/noise.o=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/device.o=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/main.o=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/peer.o=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/timers.o=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/data.o=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/send.o=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/receive.o=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/socket.o=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/config.o=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/hashtables=
.o=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/routingtab=
le.o=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/ratelimite=
r.o=C2=A0=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/cookie.o=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/crypto/cha=
cha20poly1305.o=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0
> =C2=A0 CC [M]=C2=A0 /var/lib/dkms/wireguard/0.0.20170629/build/crypto/cur=
ve25519.o=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> /var/lib/dkms/wireguard/0.0.20170629/build/device.c: In function =E2=80=
=98setup=E2=80=99:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> /var/lib/dkms/wireguard/0.0.20170629/build/device.c:255:7: error: =E2=80=
=98struct net_device=E2=80=99 has no member named =E2=80=98destructor=E2=80=
=99; did you mean =E2=80=98priv_destructor=E2=80=99?
> =C2=A0 dev->destructor =3D destruct;=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~~~~~~=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 priv_destructor=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> make[1]: *** [scripts/Makefile.build:294: /var/lib/dkms/wireguard/0.0.201=
70629/build/device.o] Error 1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> make[1]: *** Waiting for unfinished jobs....=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> make: *** [Makefile:1492: _module_/var/lib/dkms/wireguard/0.0.20170629/bu=
ild] Error 2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> make: Leaving directory '/usr/lib/modules/4.11.9-1-ARCH/build'
>=20
>=20
>=20
> -jugs
>=20
>=20
> _________________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard

Best Regards
Nils

  reply	other threads:[~2017-07-06 10:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-06 10:27 jugs
2017-07-06 10:40 ` Nils Andreas Svee [this message]
2017-07-06 18:13   ` Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1499337631.2605924.1032148312.417D8BEF@webmail.messagingengine.com \
    --to=me@lochnair.net \
    --cc=jugs@protonmail.ch \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).