Raspberry Pi 3/aarch64 headless LAMP+Openvpn

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Raspberry Pi 3/aarch64 headless LAMP+Openvpn

Postby graysky » Thu Dec 29, 2016 6:45 pm

I read the disclaimer regarding vendor extension, libs, etc. as well as a few posts in the forums about the aarch64 on the RPi3. Is anyone using this kernel/arch for a headless LAMP or OpenVPN box? I'd like to run a few LXCs (one for openvpn and another for a LAMP/nextcloud) on aarch64. Any issues experienced by some or foreseeable? Thanks for sharing.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Raspberry Pi 3/aarch64 headless LAMP+Openvpn

Postby pepedog » Thu Dec 29, 2016 8:49 pm

Don't use USB storage
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Raspberry Pi 3/aarch64 headless LAMP+Openvpn

Postby graysky » Thu Dec 29, 2016 9:18 pm

$this->bbcode_second_pass_quote('pepedog', 'D')on't use USB storage


Didn't plan on to... 64G SD card should be plenty. Will report back in this thread once I get it going.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Raspberry Pi 3/aarch64 headless LAMP+Openvpn

Postby graysky » Thu Dec 29, 2016 10:13 pm

Got the lxc and openvpn configured and running but there seems to be a sluggish feeling on the CLI. As well, I am getting some coredumps in dmesg:
$this->bbcode_second_pass_code('', '[ 181.436251] ------------[ cut here ]------------
[ 181.441175] WARNING: CPU: 0 PID: 0 at net/core/skbuff.c:4313 skb_try_coalesce+0x34c/0x358
[ 181.449772] Modules linked in: bridge stp llc smsc95xx usbnet mii rc_core vc4 drm_kms_helper drm syscopyarea sysfillrect sysimgblt fb_sys_fops i2c_bcm2835 pwm_bcm2835 bcm2835_wdt

[ 181.468342] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.0-2-ARCH #1
[ 181.475111] Hardware name: Raspberry Pi 3 Model B (DT)
[ 181.480511] task: ffff0000090db100 task.stack: ffff0000090b0000
[ 181.486734] PC is at skb_try_coalesce+0x34c/0x358
[ 181.491693] LR is at tcp_try_coalesce+0x74/0x110
[ 181.496547] pc : [<ffff000008942f2c>] lr : [<ffff0000089b431c>] pstate: 80000145
[ 181.504317] sp : ffff80003aeb37b0
[ 181.507798] x29: ffff80003aeb37b0 x28: ffff80002d0cfe28
[ 181.513408] x27: ffff000008edfaf0 x26: ffff80001fc10e88
[ 181.519019] x25: 00000000a2f2467f x24: 00000000000005d8
[ 181.524629] x23: ffff80003aeb383c x22: ffff80003aeb38af
[ 181.530237] x21: 0000000000004988 x20: ffff80002d0cfe00
[ 181.535847] x19: ffff80002d0c7d00 x18: 0000000000000000
[ 181.541457] x17: 0000ffff9f11f8f0 x16: ffff000008249198
[ 181.547065] x15: 0000679505035e5a x14: c9c2e506b8d5788b
[ 181.552675] x13: 1d8a2c8792afbfe1 x12: a31a4b62d78020d5
[ 181.558283] x11: 0c78fc9024687012 x10: 537a98cd8fe597dd
[ 181.563893] x9 : 56b0f1d033796b4b x8 : 0000000000000000
[ 181.569502] x7 : 0000000000004988 x6 : 00000000000006d8
[ 181.575110] x5 : 0000000000000001 x4 : 0000000000000001
[ 181.580717] x3 : ffff80001cdeb200 x2 : 0000000000000000
[ 181.586325] x1 : ffff80001cd9b200 x0 : ffff000009240cdb

[ 181.593498] ---[ end trace 0001f2cb09d48ab6 ]---
[ 181.598349] Call trace:
[ 181.600922] Exception stack(0xffff80003aeb35e0 to 0xffff80003aeb3710)
[ 181.607694] 35e0: ffff80002d0c7d00 0001000000000000 ffff80003aeb37b0 ffff000008942f2c
[ 181.615924] 3600: ffff80002d0ca800 0000000000000000 ffff80002d0ca800 000000000000000e
[ 181.624157] 3620: ffff8000314472d0 ffff8000314472e0 0000000000093780 ffff80001fc107c0
[ 181.632389] 3640: ffff80003aeb3670 00000000080f190c ffff80003aeb3680 ffff0000089a260c
[ 181.640621] 3660: ffff80003aeb3680 ffff0000089a2644 0000000000000000 ffff0000080f2798
[ 181.648851] 3680: ffff000009240cdb ffff80001cd9b200 0000000000000000 ffff80001cdeb200
[ 181.657081] 36a0: 0000000000000001 0000000000000001 00000000000006d8 0000000000004988
[ 181.665313] 36c0: 0000000000000000 56b0f1d033796b4b 537a98cd8fe597dd 0c78fc9024687012
[ 181.673544] 36e0: a31a4b62d78020d5 1d8a2c8792afbfe1 c9c2e506b8d5788b 0000679505035e5a
[ 181.681773] 3700: ffff000008249198 0000ffff9f11f8f0
[ 181.686903] [<ffff000008942f2c>] skb_try_coalesce+0x34c/0x358
[ 181.692948] [<ffff0000089b431c>] tcp_try_coalesce+0x74/0x110
[ 181.698899] [<ffff0000089b9178>] tcp_data_queue+0x298/0xc68
[ 181.704757] [<ffff0000089b9cf0>] tcp_rcv_established+0x1a8/0x678
[ 181.711074] [<ffff0000089c3918>] tcp_v4_do_rcv+0x160/0x238
[ 181.716842] [<ffff0000089c6934>] tcp_v4_rcv+0xa74/0xb78
[ 181.722337] [<ffff00000899ecc0>] ip_local_deliver_finish+0x100/0x248
[ 181.729018] [<ffff00000899f390>] ip_local_deliver+0x50/0xf0
[ 181.734876] [<ffff00000899efe8>] ip_rcv_finish+0x1e0/0x3e8
[ 181.740645] [<ffff00000899f6f0>] ip_rcv+0x2c0/0x3b0
[ 181.745779] [<ffff000008951f60>] __netif_receive_skb_core+0x718/0xac8
[ 181.752554] [<ffff000008954ed0>] __netif_receive_skb+0x28/0x80
[ 181.758688] [<ffff000008954f64>] netif_receive_skb_internal+0x3c/0xa8
[ 181.765459] [<ffff000008954ff4>] netif_receive_skb+0x24/0xa0
[ 181.771500] [<ffff000000fd5078>] br_pass_frame_up+0xb0/0x158 [bridge]
[ 181.778351] [<ffff000000fd5278>] br_handle_frame_finish+0x158/0x4d0 [bridge]
[ 181.785842] [<ffff000000fd57d8>] br_handle_frame+0x198/0x2f0 [bridge]
[ 181.792615] [<ffff000008951be4>] __netif_receive_skb_core+0x39c/0xac8
[ 181.799388] [<ffff000008954ed0>] __netif_receive_skb+0x28/0x80
[ 181.815937] [<ffff00000895726c>] process_backlog+0x8c/0x148
[ 181.832142] [<ffff0000089570dc>] net_rx_action+0x284/0x388
[ 181.848289] [<ffff0000080cbd18>] __do_softirq+0x130/0x2f8
[ 181.864196] [<ffff0000080cc1f4>] irq_exit+0xb4/0xf8
[ 181.879381] [<ffff00000811bc3c>] __handle_domain_irq+0x6c/0xc0
[ 181.895635] [<ffff000008081508>] bcm2836_arm_irqchip_handle_irq+0x70/0xd0
[ 181.912861] Exception stack(0xffff0000090b3de0 to 0xffff0000090b3f10)
[ 181.929659] 3de0: ffff00000810ab28 0000000000000000 0000000000000000 ffff0000090b0000
[ 181.947850] 3e00: 0100000000000000 00ffffffffffffff 00000000d79efff5 00000000ffffd1aa
[ 181.965956] 3e20: ffff0000090dba80 ffff0000090b0000 0000000000000920 0000000016bba3a8
[ 181.983722] 3e40: 0000000000000018 00000000586585c1 001fd98fc80d912e 0000679505035e5a
[ 182.001175] 3e60: ffff000008249198 0000ffff9f11f8f0 0000000000000000 ffff0000090d22f0
[ 182.018641] 3e80: ffff0000090d2248 0000000000000001 0000000000000000 0000000000000000
[ 182.036035] 3ea0: ffff0000090b0000 ffff0000090992d8 ffff00000910626e ffff0000090d2000
[ 182.053395] 3ec0: ffff0000090d2000 ffff0000090b3f10 ffff0000080847e0 ffff0000090b3f10
[ 182.070665] 3ee0: ffff0000080847e4 0000000000000145 ffff0000090992d8 ffff00000910626e
[ 182.087988] 3f00: ffffffffffffffff ffff000008129a58
[ 182.102186] [<ffff000008082670>] el1_irq+0xb0/0x140
[ 182.116331] [<ffff0000080847e4>] arch_cpu_idle+0x24/0x120
[ 182.131040] [<ffff00000810ab28>] cpu_startup_entry+0x120/0x1e0
[ 182.146259] [<ffff000008aa91ec>] rest_init+0x74/0x80
[ 182.160588] [<ffff000008f80b3c>] start_kernel+0x374/0x388
[ 182.175376] [<ffff000008f801d8>] __primary_switched+0x5c/0x64
')

...maybe just switch back to armv7.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 4 guests