All of lore.kernel.org
 help / color / mirror / Atom feed
* bug on armhf
@ 2017-11-11 21:32 Роман Гаврилов
  2017-11-12  1:54 ` Jason A. Donenfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Роман Гаврилов @ 2017-11-11 21:32 UTC (permalink / raw)
  To: wireguard

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

Hello!

I have bug on armhf with asm neon instruction.

_________________________________________________________________________________________________________

App install from:
ppa:wireguard/wireguard
on
Ubuntu Xenial 16.04

Hardware: Orange Pi Plus 2E
SOC: Allwinner H3

_________________________________________________________________________________________________________

cat /proc/cpuinfo
processor    : 0
model name    : ARMv7 Processor rev 5 (v7l)
BogoMIPS    : 11.42
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
vfpd32 lpae evtstrm
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x0
CPU part    : 0xc07
CPU revision    : 5

processor    : 1
model name    : ARMv7 Processor rev 5 (v7l)
BogoMIPS    : 11.42
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
vfpd32 lpae evtstrm
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x0
CPU part    : 0xc07
CPU revision    : 5

processor    : 2
model name    : ARMv7 Processor rev 5 (v7l)
BogoMIPS    : 11.42
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
vfpd32 lpae evtstrm
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x0
CPU part    : 0xc07
CPU revision    : 5

processor    : 3
model name    : ARMv7 Processor rev 5 (v7l)
BogoMIPS    : 11.42
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
vfpd32 lpae evtstrm
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x0
CPU part    : 0xc07
CPU revision    : 5

Hardware    : Allwinner sun8i Family
Revision    : 0000
Serial        : 02c0008149ab5a29

_________________________________________________________________________________________________________

uname -a
Linux LAB-HOME-SERVER 4.13.12-sunxi #163 SMP Sat Nov 11 00:09:12 CET 2017
armv7l armv7l armv7l GNU/Linux

_________________________________________________________________________________________________________

dpkg -l | grep wireguard
ii  wireguard-dkms
0.0.20171111-wg1~xenial                    all          fast, modern,
secure kernel VPN tunnel (DKMS version)
ii  wireguard-tools
0.0.20171111-wg1~xenial                    armhf        fast, modern,
secure kernel VPN tunnel (userland utilities)

_________________________________________________________________________________________________________

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

_________________________________________________________________________________________________________

dmesg | grep wiregu
[  136.246272] wireguard: loading out-of-tree module taints kernel.
[  136.248478] wireguard: section 3 reloc 933 sym 'curve25519_asm_neon':
unsupported interworking call (Thumb -> ARM)

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

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

* Re: bug on armhf
  2017-11-11 21:32 bug on armhf Роман Гаврилов
@ 2017-11-12  1:54 ` Jason A. Donenfeld
  2017-11-12  9:08   ` Роман Гаврилов
  0 siblings, 1 reply; 5+ messages in thread
From: Jason A. Donenfeld @ 2017-11-12  1:54 UTC (permalink / raw)
  To: Роман
	Гаврилов
  Cc: WireGuard mailing list

Hey,

Could you send your kernel's .config so that I can reproduce?

Thanks,
Jason

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

* Re: bug on armhf
  2017-11-12  1:54 ` Jason A. Donenfeld
@ 2017-11-12  9:08   ` Роман Гаврилов
  2017-11-13 19:26     ` Jason A. Donenfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Роман Гаврилов @ 2017-11-12  9:08 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list

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

I use the mainline kernel. Configuration file in:
https://drive.google.com/open?id=1t35c0_IiUlWVB2HXMo0MKiXQgqlXKGdz

-- 
Thanks,
Roman Gavrilov

2017-11-12 4:54 GMT+03:00 Jason A. Donenfeld <Jason@zx2c4.com>:

> Hey,
>
> Could you send your kernel's .config so that I can reproduce?
>
> Thanks,
> Jason
>

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

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

* Re: bug on armhf
  2017-11-12  9:08   ` Роман Гаврилов
@ 2017-11-13 19:26     ` Jason A. Donenfeld
  2017-11-14 18:09       ` Роман Гаврилов
  0 siblings, 1 reply; 5+ messages in thread
From: Jason A. Donenfeld @ 2017-11-13 19:26 UTC (permalink / raw)
  To: Роман
	Гаврилов
  Cc: WireGuard mailing list

Hi Roman,

Thanks for the configuration. Could you try this commit, and tell me
if it fixes the problem for you?

https://git.zx2c4.com/WireGuard/commit/?id=921c3eb23009558fdd4a64c36c379b7a8dc6b22f

Regards,
Jason

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

* Re: bug on armhf
  2017-11-13 19:26     ` Jason A. Donenfeld
@ 2017-11-14 18:09       ` Роман Гаврилов
  0 siblings, 0 replies; 5+ messages in thread
From: Роман Гаврилов @ 2017-11-14 18:09 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list

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

Yes, this commit solved the problem. Thanks for the quick response!

-- 
Thanks,
Roman Gavrilov

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

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

end of thread, other threads:[~2017-11-14 18:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-11 21:32 bug on armhf Роман Гаврилов
2017-11-12  1:54 ` Jason A. Donenfeld
2017-11-12  9:08   ` Роман Гаврилов
2017-11-13 19:26     ` Jason A. Donenfeld
2017-11-14 18:09       ` Роман Гаврилов

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.