Development discussion of WireGuard
 help / color / mirror / Atom feed
* wg binary in armhf deb from ppa missing
@ 2017-02-19  1:14 Alexander Morlang
  2017-02-19 14:51 ` Egbert Verhage
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Morlang @ 2017-02-19  1:14 UTC (permalink / raw)
  To: wireguard

Hi,
used the launchpad ppa in xenial on armhf (Banana Pro).=20
The wireguard-tools packet installed only /usr/share/doc

Is this a known problem?

I downloaded the
=
https://launchpad.net/~wireguard/+archive/ubuntu/wireguard/+files/wireguar=
d-tools_0.0.20170214-wg1~xenial_armhf.deb
and hat a look with dpkg -c <file>, getting the same result of no binary =
in the packet.

regards, Alex=

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

* Re: wg binary in armhf deb from ppa missing
  2017-02-19  1:14 wg binary in armhf deb from ppa missing Alexander Morlang
@ 2017-02-19 14:51 ` Egbert Verhage
  2017-02-19 16:27   ` Egbert Verhage
  2017-02-19 16:29   ` Alexander Morlang
  0 siblings, 2 replies; 6+ messages in thread
From: Egbert Verhage @ 2017-02-19 14:51 UTC (permalink / raw)
  To: wireguard

Hey Alex,

Ow, I never tested the package on armhf. I will give test it tomorrow on
my own Banana Pi 2 and Raspberry pi 2.

If you are running the image of lemaker on your banana pi, maybe try
first to build the package from the git repo.

Greetz,
Egbert


On 2017-02-19 02:14, Alexander Morlang wrote:
> Hi,
> used the launchpad ppa in xenial on armhf (Banana Pro). 
> The wireguard-tools packet installed only /usr/share/doc
>
> Is this a known problem?
>
> I downloaded the
> https://launchpad.net/~wireguard/+archive/ubuntu/wireguard/+files/wireguard-tools_0.0.20170214-wg1~xenial_armhf.deb
> and hat a look with dpkg -c <file>, getting the same result of no binary in the packet.
>
> regards, Alex
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: wg binary in armhf deb from ppa missing
  2017-02-19 14:51 ` Egbert Verhage
@ 2017-02-19 16:27   ` Egbert Verhage
  2017-02-19 16:29   ` Alexander Morlang
  1 sibling, 0 replies; 6+ messages in thread
From: Egbert Verhage @ 2017-02-19 16:27 UTC (permalink / raw)
  To: Alexander Morlang; +Cc: wireguard


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

Hey Alex,

This is strange. Just builded the package on my PI and it is working as
intended.
(https://eggiecode.org/wireguard-tools_0.0.20170214-wg1~xenial_armhf.deb
<https://eggiecode.org/wireguard-tools_0.0.20170214-wg1%7Exenial_armhf.deb>)
The PPA build systems screwed the tools package up, looks like it is not
running `make install` to the package.

See the build log differance in the ppa of armhf and amd64.

Greetz,
Egbert

armhf:
https://launchpadlibrarian.net/306379568/buildlog_ubuntu-yakkety-armhf.wireguard_0.0.20170214-wg1~yakkety_BUILDING.txt.gz
amd64:
https://launchpadlibrarian.net/306379566/buildlog_ubuntu-yakkety-amd64.wireguard_0.0.20170214-wg1~yakkety_BUILDING.txt.gz


On 2017-02-19 15:51, Egbert Verhage wrote:
> Hey Alex,
>
> Ow, I never tested the package on armhf. I will give test it tomorrow on
> my own Banana Pi 2 and Raspberry pi 2.
>
> If you are running the image of lemaker on your banana pi, maybe try
> first to build the package from the git repo.
>
> Greetz,
> Egbert
>
>
> On 2017-02-19 02:14, Alexander Morlang wrote:
>> Hi,
>> used the launchpad ppa in xenial on armhf (Banana Pro). 
>> The wireguard-tools packet installed only /usr/share/doc
>>
>> Is this a known problem?
>>
>> I downloaded the
>> https://launchpad.net/~wireguard/+archive/ubuntu/wireguard/+files/wireguard-tools_0.0.20170214-wg1~xenial_armhf.deb
>> and hat a look with dpkg -c <file>, getting the same result of no binary in the packet.
>>
>> regards, Alex
>> _______________________________________________
>> WireGuard mailing list
>> WireGuard@lists.zx2c4.com
>> https://lists.zx2c4.com/mailman/listinfo/wireguard
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

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

* Re: wg binary in armhf deb from ppa missing
  2017-02-19 14:51 ` Egbert Verhage
  2017-02-19 16:27   ` Egbert Verhage
@ 2017-02-19 16:29   ` Alexander Morlang
  2017-02-19 18:21     ` wg binary in armhf deb from ppa missing; armbian with Allwinner A20 chip modprobe wg not working Egbert Verhage
  1 sibling, 1 reply; 6+ messages in thread
From: Alexander Morlang @ 2017-02-19 16:29 UTC (permalink / raw)
  To: Egbert Verhage; +Cc: wireguard

Hi,
building on armhf reveals some effects i don=E2=80=99t understand:
On my raspi3 with raspian and kernel
uname -a
Linux raspberrypi 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 =
armv7l GNU/Linux
kernelmodule&wg are building just fine an the module loads. i had no =
time for testing it, but it builds.

On Banana Pro with armbian an kernel
uname -a
Linux bananapipro 4.9.7-sunxi #1 SMP Thu Feb 2 01:52:06 CET 2017 armv7l =
armv7l armv7l GNU/Linux
it=E2=80=99s building, but the module will not load:

sudo modprobe wireguard=20
modprobe: ERROR: could not insert 'wireguard': Exec format error

modinfo wireguard=20
filename:       /lib/modules/4.9.7-sunxi/extra/wireguard.ko
alias:          rtnl-link-wireguard
author:         Jason A. Donenfeld <Jason@zx2c4.com>
description:    Fast, secure, and modern VPN tunnel
license:        GPL v2
depends:        udp_tunnel,ip6_udp_tunnel,x_tables
vermagic:       4.9.7-sunxi SMP mod_unload ARMv7 thumb2 p2v8=20

In dmesg, it shows:
[ 1404.917772] wireguard: loading out-of-tree module taints kernel.
[ 1404.919392] wireguard: unknown relocation: 102

Next i will try with bananian and 4.4 kernel.

Gru=C3=9F, Alex

> Am 19.02.2017 um 15:51 schrieb Egbert Verhage <egbert@eggiecode.org>:
>=20
> Hey Alex,
>=20
> Ow, I never tested the package on armhf. I will give test it tomorrow =
on
> my own Banana Pi 2 and Raspberry pi 2.
>=20
> If you are running the image of lemaker on your banana pi, maybe try
> first to build the package from the git repo.
>=20
> Greetz,
> Egbert
>=20
>=20
> On 2017-02-19 02:14, Alexander Morlang wrote:
>> Hi,
>> used the launchpad ppa in xenial on armhf (Banana Pro).=20
>> The wireguard-tools packet installed only /usr/share/doc
>>=20
>> Is this a known problem?
>>=20
>> I downloaded the
>> =
https://launchpad.net/~wireguard/+archive/ubuntu/wireguard/+files/wireguar=
d-tools_0.0.20170214-wg1~xenial_armhf.deb
>> and hat a look with dpkg -c <file>, getting the same result of no =
binary in the packet.
>>=20
>> regards, Alex
>> _______________________________________________
>> WireGuard mailing list
>> WireGuard@lists.zx2c4.com
>> https://lists.zx2c4.com/mailman/listinfo/wireguard
>=20
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: wg binary in armhf deb from ppa missing; armbian with Allwinner A20 chip modprobe wg not working
  2017-02-19 16:29   ` Alexander Morlang
@ 2017-02-19 18:21     ` Egbert Verhage
       [not found]       ` <CAHmME9ossQJ3U54yOmY98dcdG239xm6KeHQt+n8zb6R0x4yUZA@mail.gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: Egbert Verhage @ 2017-02-19 18:21 UTC (permalink / raw)
  To: Alexander Morlang; +Cc: wireguard


[-- Attachment #1.1.1: Type: text/plain, Size: 3178 bytes --]

Hey Alex,

The Banana PI boards here an Allwinner chip, which not great with the
Linux Kernel. All the kernels are custom builds (most of the time) to
include support for the chips/boards.
From my experience the builds of armbian have the best images (Mind the
I have Banana PI M2, with an Allwinner A31S).

I can't help furder with wg on BananaPi board, sorry. Maybe somone else
in the mailing can help.

For the PPA package I need to figure out how the let him include make
install of wg/tools for armhf/arm64.

Greetz,
Egbert


On 2017-02-19 17:29, Alexander Morlang wrote:
> Hi,
> building on armhf reveals some effects i don’t understand:
> On my raspi3 with raspian and kernel
> uname -a
> Linux raspberrypi 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux
> kernelmodule&wg are building just fine an the module loads. i had no time for testing it, but it builds.
>
> On Banana Pro with armbian an kernel
> uname -a
> Linux bananapipro 4.9.7-sunxi #1 SMP Thu Feb 2 01:52:06 CET 2017 armv7l armv7l armv7l GNU/Linux
> it’s building, but the module will not load:
>
> sudo modprobe wireguard 
> modprobe: ERROR: could not insert 'wireguard': Exec format error
>
> modinfo wireguard 
> filename:       /lib/modules/4.9.7-sunxi/extra/wireguard.ko
> alias:          rtnl-link-wireguard
> author:         Jason A. Donenfeld <Jason@zx2c4.com>
> description:    Fast, secure, and modern VPN tunnel
> license:        GPL v2
> depends:        udp_tunnel,ip6_udp_tunnel,x_tables
> vermagic:       4.9.7-sunxi SMP mod_unload ARMv7 thumb2 p2v8 
>
> In dmesg, it shows:
> [ 1404.917772] wireguard: loading out-of-tree module taints kernel.
> [ 1404.919392] wireguard: unknown relocation: 102
>
> Next i will try with bananian and 4.4 kernel.
>
> Gruß, Alex
>
>> Am 19.02.2017 um 15:51 schrieb Egbert Verhage <egbert@eggiecode.org>:
>>
>> Hey Alex,
>>
>> Ow, I never tested the package on armhf. I will give test it tomorrow on
>> my own Banana Pi 2 and Raspberry pi 2.
>>
>> If you are running the image of lemaker on your banana pi, maybe try
>> first to build the package from the git repo.
>>
>> Greetz,
>> Egbert
>>
>>
>> On 2017-02-19 02:14, Alexander Morlang wrote:
>>> Hi,
>>> used the launchpad ppa in xenial on armhf (Banana Pro). 
>>> The wireguard-tools packet installed only /usr/share/doc
>>>
>>> Is this a known problem?
>>>
>>> I downloaded the
>>> https://launchpad.net/~wireguard/+archive/ubuntu/wireguard/+files/wireguard-tools_0.0.20170214-wg1~xenial_armhf.deb
>>> and hat a look with dpkg -c <file>, getting the same result of no binary in the packet.
>>>
>>> regards, Alex
>>> _______________________________________________
>>> WireGuard mailing list
>>> WireGuard@lists.zx2c4.com
>>> https://lists.zx2c4.com/mailman/listinfo/wireguard
>> _______________________________________________
>> WireGuard mailing list
>> WireGuard@lists.zx2c4.com
>> https://lists.zx2c4.com/mailman/listinfo/wireguard
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard


[-- Attachment #1.1.2: Type: text/html, Size: 4634 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

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

* Re: wg binary in armhf deb from ppa missing; armbian with Allwinner A20 chip modprobe wg not working
       [not found]       ` <CAHmME9ossQJ3U54yOmY98dcdG239xm6KeHQt+n8zb6R0x4yUZA@mail.gmail.com>
@ 2017-02-19 19:02         ` Jason A. Donenfeld
  0 siblings, 0 replies; 6+ messages in thread
From: Jason A. Donenfeld @ 2017-02-19 19:02 UTC (permalink / raw)
  To: Egbert Verhage; +Cc: WireGuard mailing list

[-- Attachment #1: Type: text/plain, Size: 3426 bytes --]

Hi Alex,

Make sure your binutils is up to date; an old one could account for the
error you're having. What version is your toolchain?

Jason


On Feb 19, 2017 18:22, "Egbert Verhage" <egbert@eggiecode.org> wrote:

Hey Alex,

The Banana PI boards here an Allwinner chip, which not great with the Linux
Kernel. All the kernels are custom builds (most of the time) to include
support for the chips/boards.
>From my experience the builds of armbian have the best images (Mind the I
have Banana PI M2, with an Allwinner A31S).

I can't help furder with wg on BananaPi board, sorry. Maybe somone else in
the mailing can help.

For the PPA package I need to figure out how the let him include make
install of wg/tools for armhf/arm64.

Greetz,
Egbert

On 2017-02-19 17:29, Alexander Morlang wrote:

Hi,
building on armhf reveals some effects i don’t understand:
On my raspi3 with raspian and kernel
uname -a
Linux raspberrypi 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016
armv7l GNU/Linux
kernelmodule&wg are building just fine an the module loads. i had no
time for testing it, but it builds.

On Banana Pro with armbian an kernel
uname -a
Linux bananapipro 4.9.7-sunxi #1 SMP Thu Feb 2 01:52:06 CET 2017
armv7l armv7l armv7l GNU/Linux
it’s building, but the module will not load:

sudo modprobe wireguard
modprobe: ERROR: could not insert 'wireguard': Exec format error

modinfo wireguard
filename:       /lib/modules/4.9.7-sunxi/extra/wireguard.ko
alias:          rtnl-link-wireguard
author:         Jason A. Donenfeld <Jason@zx2c4.com> <Jason@zx2c4.com>
description:    Fast, secure, and modern VPN tunnel
license:        GPL v2
depends:        udp_tunnel,ip6_udp_tunnel,x_tables
vermagic:       4.9.7-sunxi SMP mod_unload ARMv7 thumb2 p2v8

In dmesg, it shows:
[ 1404.917772] wireguard: loading out-of-tree module taints kernel.
[ 1404.919392] wireguard: unknown relocation: 102

Next i will try with bananian and 4.4 kernel.

Gruß, Alex


Am 19.02.2017 um 15:51 schrieb Egbert Verhage <egbert@eggiecode.org>
<egbert@eggiecode.org>:

Hey Alex,

Ow, I never tested the package on armhf. I will give test it tomorrow on
my own Banana Pi 2 and Raspberry pi 2.

If you are running the image of lemaker on your banana pi, maybe try
first to build the package from the git repo.

Greetz,
Egbert


On 2017-02-19 02:14, Alexander Morlang wrote:

Hi,
used the launchpad ppa in xenial on armhf (Banana Pro).
The wireguard-tools packet installed only /usr/share/doc

Is this a known problem?

I downloaded thehttps://launchpad.net/~wireguard/+archive/ubuntu/wireguard/+files/wireguard-tools_0.0.20170214-wg1~xenial_armhf.deb
and hat a look with dpkg -c <file>, getting the same result of no
binary in the packet.

regards, Alex
_______________________________________________
WireGuard mailing
listWireGuard@lists.zx2c4.comhttps://lists.zx2c4.com/mailman/listinfo/wireguard

_______________________________________________
WireGuard mailing
listWireGuard@lists.zx2c4.comhttps://lists.zx2c4.com/mailman/listinfo/wireguard

_______________________________________________
WireGuard mailing
listWireGuard@lists.zx2c4.comhttps://lists.zx2c4.com/mailman/listinfo/wireguard



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

[-- Attachment #2: Type: text/html, Size: 5812 bytes --]

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

end of thread, other threads:[~2017-02-19 19:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-19  1:14 wg binary in armhf deb from ppa missing Alexander Morlang
2017-02-19 14:51 ` Egbert Verhage
2017-02-19 16:27   ` Egbert Verhage
2017-02-19 16:29   ` Alexander Morlang
2017-02-19 18:21     ` wg binary in armhf deb from ppa missing; armbian with Allwinner A20 chip modprobe wg not working Egbert Verhage
     [not found]       ` <CAHmME9ossQJ3U54yOmY98dcdG239xm6KeHQt+n8zb6R0x4yUZA@mail.gmail.com>
2017-02-19 19:02         ` Jason A. Donenfeld

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).