ROCK64 as VPN Gateway
#11
Hi guys,

today I received my Rock64 and of course immediately set it up to do some tests. Openssl now performes way better as visible here:

Code:
You have chosen to measure elapsed time instead of user CPU time.
Doing aes-128-cbc for 3s on 16 size blocks: 16712860 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 64 size blocks: 13207655 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 256 size blocks: 6899270 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 1024 size blocks: 2457687 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 8192 size blocks: 353153 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 16384 size blocks: 178379 aes-128-cbc's in 3.00s
OpenSSL 1.1.0l  10 Sep 2019
built on: reproducible build, date unspecified
options:bn(64,64) rc4(char) des(int) aes(partial) blowfish(ptr)
compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/aarch64-linux-gnu/engines-1.1\""
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
aes-128-cbc      89135.25k   281763.31k   588737.71k   838890.50k   964343.13k   974187.18k

but openvpn performance is still slower than on Raspberry Pi4:

Rock64
Code:
rock64@rock64:~$ sudo openvpn --genkey --secret /tmp/secret
rock64@rock64:~$ sudo time openvpn --test-crypto --secret /tmp/secret --verb 0 --tun-mtu 20000 --cipher aes-256-cbc
Tue Dec  3 10:51:06 2019 disabling NCP mode (--ncp-disable) because not in P2MP client or server mode
15.94user 0.00system 0:15.95elapsed 99%CPU (0avgtext+0avgdata 5340maxresident)k
0inputs+0outputs (0major+318minor)pagefaults 0swaps

RPI4
Code:
ppowalla@vpngateway:/etc/openvpn $ sudo openvpn --genkey --secret /tmp/secret
ppowalla@vpngateway:/etc/openvpn $ sudo time openvpn --test-crypto --secret /tmp/secret --verb 0 --tun-mtu 20000 --cipher aes-256-cbc
Tue Dec  3 11:52:11 2019 disabling NCP mode (--ncp-disable) because not in P2MP client or server mode
12.69user 0.04system 0:12.76elapsed 99%CPU (0avgtext+0avgdata 5300maxresident)k
0inputs+0outputs (0major+287minor)pagefaults 0swaps

As you can see the Raspberry takes 12,76s to perform the test, whereas the Rock64 needs 15,95s. Based on the explanation in this thread

https://airvpn.org/forums/topic/18322-ho...hroughput/

it means, that still the Rock64 is slower. Is openvpn taking advantage of the hardware acceleration of Rock64? Any other explanation?

Thanks!
#12
are you running aarch64 userland? and is your openvpn built to use armv8 crypto extensions?
Come have a chat in the Pine IRC channel >>
#13
(12-03-2019, 05:13 PM)xalius Wrote: are you running aarch64 userland? and is your openvpn built to use armv8 crypto extensions?

Hi @xalius ,

I am using Ayufan's Debian Minimal which should be aarch64. I have not rebuild openvpn as I was assuming that it is not necessary. Do you know what settings need to be changed when building openvpn to enable these extensions?

Thanks!

Bye
#14
Hi all,

the problem might be that openvpn is using different libraries than openssl:

Code:
rock64@rock64:~$ ldd /usr/sbin/openvpn
       linux-vdso.so.1 (0x0000007f90289000)
       libnsl.so.1 => /lib/aarch64-linux-gnu/libnsl.so.1 (0x0000007f9017c000)
       libresolv.so.2 => /lib/aarch64-linux-gnu/libresolv.so.2 (0x0000007f90157000)
       liblzo2.so.2 => /lib/aarch64-linux-gnu/liblzo2.so.2 (0x0000007f9012a000)
       liblz4.so.1 => /usr/lib/aarch64-linux-gnu/liblz4.so.1 (0x0000007f9010b000)
       libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f900df000)
       libpkcs11-helper.so.1 => /usr/lib/aarch64-linux-gnu/libpkcs11-helper.so.1 (0x0000007f900b4000)
       libcrypto.so.1.0.2 => /usr/lib/aarch64-linux-gnu/libcrypto.so.1.0.2 (0x0000007f8fef1000)
       libssl.so.1.0.2 => /usr/lib/aarch64-linux-gnu/libssl.so.1.0.2 (0x0000007f8fe88000)
       libsystemd.so.0 => /lib/aarch64-linux-gnu/libsystemd.so.0 (0x0000007f8fdf6000)
       libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007f8fde3000)
       libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f8fc99000)
       /lib/ld-linux-aarch64.so.1 (0x0000007f9025f000)
       libselinux.so.1 => /lib/aarch64-linux-gnu/libselinux.so.1 (0x0000007f8fc65000)
       librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007f8fc4e000)
       liblzma.so.5 => /lib/aarch64-linux-gnu/liblzma.so.5 (0x0000007f8fc1d000)
       libgcrypt.so.20 => /lib/aarch64-linux-gnu/libgcrypt.so.20 (0x0000007f8fb69000)
       libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000007f8faf6000)
       libgpg-error.so.0 => /lib/aarch64-linux-gnu/libgpg-error.so.0 (0x0000007f8fad5000)
rock64@rock64:~$ ldd /usr/bin/openssl
       linux-vdso.so.1 (0x0000007f9b0d2000)
       libssl.so.1.1 => /usr/lib/aarch64-linux-gnu/libssl.so.1.1 (0x0000007f9af94000)
       libcrypto.so.1.1 => /usr/lib/aarch64-linux-gnu/libcrypto.so.1.1 (0x0000007f9ad7e000)
       libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007f9ad6b000)
       libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f9ad3f000)
       libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f9abf5000)
       /lib/ld-linux-aarch64.so.1 (0x0000007f9b0a8000)

OpenVPN is using libssl.so 1.0.2 and OpenSSL is using libssl.so 1.1, can this be an issue? Anybody knows how to make OpenVPN using the hardware crypto modules of Rock64?

Thanks!


Bye
#15
Hi guys,

good news, the problem seems to be Debian Stretch. I have installed Armbian based on Buster and now the timing is far below RPI:

Code:
root@rock64:~# openvpn --genkey --secret /tmp/secret
root@rock64:~# time openvpn --test-crypto --secret /tmp/secret --verb 0 --tun-mtu 20000 --cipher aes-256-cbc
Wed Dec  4 21:23:21 2019 disabling NCP mode (--ncp-disable) because not in P2MP client or server mode

real    0m4.937s
user    0m4.891s
sys     0m0.046s

This means, in theory, that the Rock64 is able to process 600 Mbit/s. That is what I was expecting. So for everybody who needs performance with OpenVPN, use Debian Buster (with OpenSSL 1.1).

Bye
#16
Hi all,

now all the tests run just fine but I am only able to get a speed of approx. 24 MBit/s when transferring large files. With my RPI I reach 64 MBit/s (for same URL). One reason could be that the Rock64 is using "only" 25% of a CPU core when a large download is started (via CURL), while the RPI is using one core with 100%. Configuration changes with "nice" are not making any difference. Also I have not found any other parameter that could help here. Any idea?

Thanks!

Bye
#17
Hi guys,

I am facing big issues in using the Rock64. I have installed Ubuntu 18.04 Bionic minimal 64bit (arm64) Image [microSD / eMMC Boot] [0.8.3] image from this page:

https://wiki.pine64.org/index.php/ROCK64...5B0.8.3.5D

After boot (serial console connected) I have executed "sudo apt-get update" and "sudo apt-get upgrade" and suddenly during the process I face kernel panics as seen below:

Code:
sudo apt-get update
....
sudo apt-get upgrade
....
Unpacking dpkg-dev (1.19.0.5ubuntu2.3) over (1.19.0.5ubuntu2.1) ...
Preparing to unpack .../24-libdpkg-perl_1.19.0.5ubuntu2.3_all.deb ...
Unpacking libdpkg-perl (1.19.0.5ubuntu2.3) over (1.19.0.5ubuntu2.1) ...
Preparing to unpack .../25-patch_2.7.6-2ubuntu1.1_arm64.deb ...
Unpacking patch (2.7.6-2ubuntu1.1) over (2.7.6-2ubuntu1) ...
Preparing to unpack .../26-git-man_1%3a2.17.1-1ubuntu0.5_all.deb ...
Unpacking git-man (1:2.17.1-1ubuntu0.5) over (1:2.17.1-1ubuntu0.4) ...
[  195.579731] Internal error: Oops - undefined instruction: 0 [#1] SMP
[  195.580460] Modules linked in: lzo zram dw_hdmi_i2s_audio mali ip_tables x_tables autofs4
[  195.581473] CPU: 1 PID: 147 Comm: mmcqd/1 Not tainted 4.4.167-1213-rockchip-ayufan-g34ae07687fce #1
[  195.582470] Hardware name: Pine64 Rock64 (DT)
[  195.582958] task: ffffffc079df4600 task.stack: ffffffc079e8c000
[  195.583624] PC is at dw_mci_post_req+0x74/0x88
[  195.584124] LR is at mmc_post_req+0x40/0x50
[  195.584593] pc : [<ffffff800896839c>] lr : [<ffffff800894aec0>] pstate: 00000145
[  195.585407] sp : ffffffc079e8fbb0
[  195.585778] x29: ffffffc079e8fbb0 x28: 0000000000000000
[  195.586390] x27: ffffffc079e8fc80 x26: ffffffc079de9088
[  195.587001] x25: ffffff800905ad7f x24: ffffffc079e8fd2c
[  195.587612] x23: ffffffc079de9228 x22: 0000000000000000
[  195.588228] x21: 0000000000000000 x20: ffffffc07c4de000
[  195.588840] x19: ffffffc079de91b8 x18: 0000007f7ea3ca70
[  195.589451] x17: 0000007f7e9aba78 x16: ffffff80081e699c
[  195.590062] x15: 0000000000000000 x14: 142402eff6f53450
[  195.590673] x13: dc361964c2ec30ea x12: f07b322633b7fc80
[  195.591283] x11: 7430ebd3f7f3b31e x10: 0000000000000a30
[  195.591894] x9 : ffffffc079e8f7c0 x8 : ffffffc079df5090
[  195.592505] x7 : f3a98478608786db x6 : 000000558a17cab1
[  195.593115] x5 : ffffff80080935f4 x4 : 0000000000000000
[  195.593725] x3 : 0000000000000001 x2 : 0000000000000001
[  195.594335] x1 : ffffffc07a77a000 x0 : ffffffc07c467810
[  195.594947]
[  195.594947] PC: 0xffffff800896831c:
[  195.595498] 831c  f9400bf3 a8c27bfd d65f03c0 a9be7bfd 910003fd a90153f3 aa0003f4 aa0103f3
[  195.596511] 833c  aa1e03e0 d503201f f943e680 b940f801 340002c1 f9400a73 b4000293 b9404261
[  195.597524] 835c  34000221 b9401663 f940d800 b9403262 f278007f f9401e61 1a9f17e3 11000463
[  195.598535] 837c  b4000060 f9414804 b5000064 d0004844 9107c084 f9401c85 b4000065 d2800004
[  195.599547] 839c  d63f00a0 b900427f a94153f3 a8c27bfd d65f03c0 a9be7bfd 910003fd f9000bf3
[  195.600560] 83bc  aa0003f3 aa1e03e0 d503201f f943e660 f9401800 91012000 b9400000 d3492400
[  195.601572] 83dc  f9400bf3 a8c27bfd d65f03c0 a9bd7bfd 910003fd a90153f3 a9025bf5 aa0003f3
[  195.602582] 83fc  2a0103f6 911f0273 aa1e03e0 d503201f f9400675 910062b4 aa1403e0 940cc06e
[  195.603597]
[  195.603597] LR: 0xffffff800894ae40:
[  195.604146] ae40  d503201f 350000d3 97dd2cb6 2a1303e0 a94153f3 a8c27bfd d65f03c0 97e0cd41
[  195.605157] ae60  350000c0 2a1303e0 97dd1d06 2a0003f4 97e0cd55 34fffed4 12800013 17fffff4
[  195.606169] ae80  a9bd7bfd 910003fd a90153f3 f90013f5 aa0003f3 aa0103f4 aa1e03e0 2a0203f5
[  195.607181] aea0  d503201f f941a260 f9400003 b40000a3 2a1503e2 aa1403e1 aa1303e0 d63f0060
[  195.608192] aec0  a94153f3 f94013f5 a8c37bfd d65f03c0 a9be7bfd 910003fd a90153f3 aa0103f4
[  195.609205] aee0  aa0003f3 aa1e03e0 d503201f b9434280 7100081f 540000e1 d2994000 f2a77340
[  195.610215] af00  f9000260 a94153f3 a8c27bfd d65f03c0 b9401663 7100041f 52800141 52800c82
[  195.611226] af20  12180065 1a821022 36400063 b943b680 1ac02042 b943ae80 1b007c40 b9000260
[  195.612240]
[  195.612240] SP: 0xffffffc079e8fb30:
[  195.622418] fb30  00000000 00000000 79de9228 ffffffc0 79e8fd2c ffffffc0 0905ad7f ffffff80
[  195.628326] fb50  79de9088 ffffffc0 79e8fc80 ffffffc0 00000000 00000000 79e8fbb0 ffffffc0
[  195.634184] fb70  0894aec0 ffffff80 79e8fbb0 ffffffc0 0896839c ffffff80 00000145 00000000
[  195.639970] fb90  79e8fd2c ffffffc0 0905ad7f ffffff80 ffffffff ffffffff 79e8fc80 ffffffc0
[  195.645684] fbb0  79e8fbd0 ffffffc0 0894aec0 ffffff80 7c4de000 ffffffc0 79de9088 ffffffc0
[  195.651299] fbd0  79e8fc00 ffffffc0 0894da2c ffffff80 7c4de000 ffffffc0 00000000 00000000
[  195.656870] fbf0  00000000 00000000 00000000 00000000 79e8fc90 ffffffc0 0895d614 ffffff80
[  195.662445] fc10  79de9250 ffffffc0 79de9020 ffffffc0 79de8800 ffffffc0 00000000 00000000
[  195.668074]
[  195.668074] X0: 0xffffffc07c467790:
[  195.677801] 7790  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  195.683461] 77b0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  195.689406] 77d0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  195.696145] 77f0  00000000 00000000 00000000 00000000 7c44d980 ffffffc0 ffffffff 00000000
[  195.702879] 7810  0931e748 ffffff80 7c452240 ffffffc0 7c44d980 ffffffc0 7c467c28 ffffffc0
[  195.709653] 7830  7c467428 ffffffc0 0931e758 ffffff80 7ccbd900 ffffffc0 0931e408 ffffff80
[  195.716433] 7850  7c4541e0 ffffffc0 00000005 00000007 00000000 00000000 00000000 00000000
[  195.723246] 7870  00000001 00000000 00000000 dead4ead ffffffff 00000000 ffffffff ffffffff
[  195.730112]
[  195.730112] X1: 0xffffffc07a779f80:
[  195.742406] 9f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  195.749419] 9fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  195.756354] 9fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  195.763233] 9fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  195.770079] a000  c1269e02 ffffffbd 00000000 00001000 49a78000 00000000 00001000 00000000
[  195.776915] a020  c13cfb02 ffffffbd 00000000 00001000 4f3ec000 00000000 00001000 00000000
[  195.783687] a040  c13efd40 ffffffbd 00000000 00001000 4fbf5000 00000000 00001000 00000000
[  195.790442] a060  c13cfb80 ffffffbd 00000000 00001000 4f3ee000 00000000 00001000 00000000
[  195.797056]
[  195.797056] X5: 0xffffff8008093574:
[  195.808654] 3574  52800014 d0008e99 17fffffa a9bd7bfd 910003fd a90153f3 a9025bf5 aa0003f3
[  195.815252] 3594  aa0103f4 aa0203f5 2a0303f6 aa1e03e0 d503201f b4000073 394a8260 35000100
[  195.821851] 35b4  d0008e80 2a1603e2 aa1503e1 f9433800 cb000280 b25a6400 940004fd 2a1603e3
[  195.828436] 35d4  aa1503e2 aa1403e1 aa1303e0 9414d12a a94153f3 a9425bf5 a8c37bfd d65f03c0
[  195.835012] 35f4  a9bb7bfd 910003fd a90153f3 a9025bf5 a90363f7 a9046bf9 aa0003f5 aa0103f6
[  195.841580] 3614  2a0203f7 2a0303f8 aa0403f9 aa1e03e0 d503201f b40003b5 394a82a0 34000360
[  195.848118] 3634  aa1903e4 2a1803e3 2a1703e2 aa1603e1 aa1503e0 9414d154 a94153f3 a9425bf5
[  195.854737] 3654  a94363f7 a9446bf9 a8c57bfd d65f03c0 f9433b41 2a1803e2 f9400a60 11000694
[  195.861339]
[  195.861339] X8: 0xffffffc079df5010:
[  195.872922] 5010  00000000 00000000 00000000 00000000 00000000 00000001 00000000 00000000
[  195.879505] 5030  7a70c600 ffffffc0 79df4600 ffffffc0 7a70c600 ffffffc0 09225000 ffffff80
[  195.886076] 5050  6ad5e300 ffffffc0 08cbe4c8 ffffff80 7ff531c0 ffffffc0 00000000 00000000
[  195.892595] 5070  08cbe000 ffffff80 79df4c88 ffffffc0 79e8f7c0 ffffffc0 79e8f7c0 ffffffc0
[  195.899064] 5090  08085704 ffffff80 00000000 00000000 00000000 00000000 00000000 00000000
[  195.905508] 50b0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  195.911828] 50d0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  195.918109] 50f0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  195.924225]
[  195.924225] X9: 0xffffffc079e8f740:
[  195.934916] f740  08f8816c ffffff80 08fed582 ffffff80 08f88173 ffffff80 79e8f760 ffffffc0
[  195.941086] f760  0905ad7f ffffff80 79de9088 ffffffc0 79e8fc80 ffffffc0 79df4600 ffffffc0
[  195.947260] f780  00000001 ffffffc0 09225000 ffffff80 000001c0 00000000 0905266d 00000000
[  195.953491] f7a0  79e8f8c0 ffffffc0 79e8f8c0 ffffffc0 79e8f880 ffffffc0 ffffffc8 00000000
[  195.959698] f7c0  79e8f800 ffffffc0 0810b98c ffffff80 08fed582 ffffff80 79e8f840 ffffffc0
[  195.965871] f7e0  79e8f8c0 ffffffc0 79e8f8c0 ffffffc0 79e8f880 ffffffc0 ffffffc8 00000000
[  195.971965] f800  79e8f820 ffffffc0 0818e480 ffffff80 08fed582 ffffff80 79e8f814 ffffffc0
[  195.978105] f820  79e8f8c0 ffffffc0 08085074 ffffff80 79e8f840 ffffffc0 00000000 00000080
[  195.984157]
[  195.984157] X16: 0xffffff80081e691c:
[  195.995041] 691c  9400f6a5 f9403fa0 f9004e80 f9403ba0 b40002d7 f90002e0 d5384100 f9444401
[  196.001406] 693c  91000421 f9044401 f9444801 91000421 f9044801 f9403ba0 eb16001f 5400004d
[  196.007793] 695c  92800953 3607ed3a aa1403e0 940003fd 17ffff66 f94002e1 f9003ba1 371fee20
[  196.014241] 697c  92800393 17ffff61 f9004ea0 17ffffeb 92800113 17fffff4 92800113 17ffff5e
[  196.020711] 699c  a9bc7bfd 910003fd a90153f3 a9025bf5 aa0003f3 aa0103f5 aa1e03e0 aa0203f6
[  196.027206] 69bc  d503201f 2a1303e0 94006d7f aa0003f4 f27ef413 540002e0 910103a3 f9404e60
[  196.033673] 69dc  aa1503e1 aa1603e2 f81f8c60 aa1303e0 97fffd26 aa0003f5 b7f80060 f9401fa0
[  196.040223] 69fc  f9004e60 36080074 91016260 942ac0f2 36000074 aa1303e0 940003d2 aa1503e0
[  196.046746]
[  196.046746] X19: 0xffffffc079de9138:
[  196.058572] 9138  00000019 000f3198 00000900 00000000 00000000 00000000 000000b5 00000000
[  196.065457] 9158  00000000 00000000 00000000 00000000 79de91b8 ffffffc0 79de9088 ffffffc0
[  196.072374] 9178  0000000c 00000000 00000000 00000000 00000000 00000000 0000049d 00000000
[  196.079350] 9198  00000000 00000000 00000000 00000000 00000000 00000000 79de9088 ffffffc0
[  196.086343] 91b8  b2d05e00 00000000 00000200 00000008 00000000 00000100 00001000 00000000
[  196.093376] 91d8  79de9178 ffffffc0 79de9088 ffffffc0 00000001 00000000 7a77a000 ffffffc0
[  196.100361] 91f8  00000001 00000000 00000000 00000000 7a77a000 ffffffc0 00000000 00000000
[  196.107442] 9218  00000000 00000000 00000000 00000000 79de9088 ffffffc0 0895cdc8 ffffff80
[  196.114413]
[  196.114413] X20: 0xffffffc07c4ddf80:
[  196.126729] df80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  196.133671] dfa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  196.140491] dfc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  196.147176] dfe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  196.153742] e000  7c467810 ffffffc0 7c467810 ffffffc0 79dc5600 ffffffc0 79d43e00 ffffffc0
[  196.160301] e020  79da3018 ffffffc0 7c4dd020 ffffffc0 79d41b00 ffffffc0 7ccbd900 ffffffc0
[  196.166746] e040  0931e408 ffffff80 79d459d8 ffffffc0 00000005 00000007 00000000 00000000
[  196.173260] e060  00000000 00000000 00000001 00000000 00000000 dead4ead ffffffff 00000000
[  196.179725]
[  196.179725] X23: 0xffffffc079de91a8:
[  196.191108] 91a8  00000000 00000000 79de9088 ffffffc0 b2d05e00 00000000 00000200 00000008
[  196.197653] 91c8  00000000 00000100 00001000 00000000 79de9178 ffffffc0 79de9088 ffffffc0
[  196.204191] 91e8  00000001 00000000 7a77a000 ffffffc0 00000001 00000000 00000000 00000000
[  196.210804] 9208  7a77a000 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
[  196.217489] 9228  79de9088 ffffffc0 0895cdc8 ffffff80 00000000 00000000 00000000 00000000
[  196.224224] 9248  00000000 00000000 79de92c0 ffffffc0 79de9300 ffffffc0 00000000 00000000
[  196.230886] 9268  79de9340 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
[  196.237613] 9288  00000000 00000000 00000000 00000000 00000000 00000000 0894be20 ffffff80
[  196.244244]
[  196.244244] X24: 0xffffffc079e8fcac:
[  196.256038] fcac  ffffffc0 79de9020 ffffffc0 7c4de5b8 ffffffc0 7c4de000 ffffffc0 79de9000
[  196.262755] fccc  ffffffc0 00000000 00000000 79de9000 ffffffc0 00000000 00000000 00000000
[  196.269485] fcec  00000000 79e8fd10 ffffffc0 08c98728 ffffff80 00000140 00000000 0905ca0c
[  196.276218] fd0c  ffffff80 08de4d80 ffffff80 00000000 00000000 00000000 00000000 79de8800
[  196.282965] fd2c  ffffffc0 79e8fda0 ffffffc0 0895ed14 ffffff80 79de9020 ffffffc0 00000000
[  196.289748] fd4c  00000000 79de9030 ffffffc0 79e78000 ffffffc0 00000000 00000000 00000001
[  196.296453] fd6c  00000000 00002080 00000000 00000000 00000000 00000000 00000000 00000000
[  196.303188] fd8c  00000000 79de9020 ffffffc0 00000000 00000000 79e8fe00 ffffffc0 080d54ac
[  196.309842]
[  196.309842] X25: 0xffffff800905acff:
[  196.321527] acfc  64696c61 6d76000a 7600636d 636d6d71 206f4e00 636d6d76 67657220 74616c75
[  196.328146] ad1c  6620726f 646e756f 6146000a 64656c69 74656720 676e6974 52434f20 73616d20
[  196.334744] ad3c  25203a6b 4e000a64 7176206f 20636d6d 75676572 6f74616c 6f662072 0a646e75
[  196.341337] ad5c  756f6300 6e20646c 7320746f 72207465 6c756765 726f7461 52434f20 64252820
[  196.347950] ad7c  01000a29 3a732536 71657220 69616620 2064656c 444d4328 3a297525 2c642520
[  196.354567] ad9c  74657220 6e697972 2e2e2e67 7325000a 6c63203a 206b636f 7a487525 73756220
[  196.361161] adbc  65646f6d 20752520 65776f70 646f6d72 75252065 20736320 56207525 25206464
[  196.367850] addc  69772075 20687464 74207525 6e696d69 75252067 3301000a 203a7325 696e7574
[  196.374492] adfc  6520676e 75636578 6e6f6974 69616620 0a64656c 696e4900 6c616974 67697320
[  196.381179]
[  196.381179] X26: 0xffffffc079de9008:
[  196.393145] 9008  ffffffff 00000000 ffffffff ffffffff 79de9800 ffffffc0 79de8800 ffffffc0
[  196.400012] 9028  79df4600 ffffffc0 4b3f4b3f dead4ead ffffffff 00000000 ffffffff ffffffff
[  196.406906] 9048  00000000 00000000 79de9050 ffffffc0 79de9050 ffffffc0 00000000 00000000
[  196.413806] 9068  0895db78 ffffff80 79de9000 ffffffc0 79e78000 ffffffc0 6a881980 ffffffc0
[  196.420731] 9088  79de90f8 ffffffc0 79de9138 ffffffc0 79de91b8 ffffffc0 79de9178 ffffffc0
[  196.427557] 90a8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  196.434485] 90c8  00000000 00000000 00000000 00000000 0894be20 ffffff80 7c4de000 ffffffc0
[  196.441308] 90e8  00000000 00000000 00000000 00000000 00000017 00000008 00000900 00000000
[  196.448207]
[  196.448207] X27: 0xffffffc079e8fc00:
[  196.460781] fc00  79e8fc90 ffffffc0 0895d614 ffffff80 79de9250 ffffffc0 79de9020 ffffffc0
[  196.467905] fc20  79de8800 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
[  196.475093] fc40  00000000 00000000 79de9000 ffffffc0 79de9248 ffffffc0 6a881980 ffffffc0
[  196.482313] fc60  00000000 00000000 00000000 ffffffc0 79df4600 ffffffc0 080fdf1c ffffff80
[  196.489464] fc80  79e8fc80 ffffffc0 79e8fc80 ffffffc0 79e8fd30 ffffffc0 0895df54 ffffff80
[  196.496530] fca0  00000000 00000000 79de8800 ffffffc0 79de9020 ffffffc0 7c4de5b8 ffffffc0
[  196.503639] fcc0  7c4de000 ffffffc0 79de9000 ffffffc0 00000000 00000000 79de9000 ffffffc0
[  196.510667] fce0  00000000 00000000 00000000 00000000 79e8fd10 ffffffc0 08c98728 ffffff80
[  196.517702]
[  196.517702] X29: 0xffffffc079e8fb30:
[  196.530256] fb30  00000000 00000000 79de9228 ffffffc0 79e8fd2c ffffffc0 0905ad7f ffffff80
[  196.537427] fb50  79de9088 ffffffc0 79e8fc80 ffffffc0 00000000 00000000 79e8fbb0 ffffffc0
[  196.544614] fb70  0894aec0 ffffff80 79e8fbb0 ffffffc0 0896839c ffffff80 00000145 00000000
[  196.551802] fb90  79e8fd2c ffffffc0 0905ad7f ffffff80 ffffffff ffffffff 79e8fc80 ffffffc0
[  196.559030] fbb0  79e8fbd0 ffffffc0 0894aec0 ffffff80 7c4de000 ffffffc0 79de9088 ffffffc0
[  196.566158] fbd0  79e8fc00 ffffffc0 0894da2c ffffff80 7c4de000 ffffffc0 00000000 00000000
[  196.573295] fbf0  00000000 00000000 00000000 00000000 79e8fc90 ffffffc0 0895d614 ffffff80
[  196.580399] fc10  79de9250 ffffffc0 79de9020 ffffffc0 79de8800 ffffffc0 00000000 00000000
[  196.587522]
[  196.593820] Process mmcqd/1 (pid: 147, stack limit = 0xffffffc079e8c000)
[  196.600749] Stack: (0xffffffc079e8fbb0 to 0xffffffc079e90000)
[  196.607591] fba0:                                   ffffffc079e8fbd0 ffffff800894aec0
[  196.614741] fbc0: ffffffc07c4de000 ffffffc079de9088 ffffffc079e8fc00 ffffff800894da2c
[  196.621911] fbe0: ffffffc07c4de000 0000000000000000 0000000000000000 0000000000000000
[  196.629096] fc00: ffffffc079e8fc90 ffffff800895d614 ffffffc079de9250 ffffffc079de9020
[  196.636242] fc20: ffffffc079de8800 0000000000000000 0000000000000000 0000000000000000
[  196.643459] fc40: 0000000000000000 ffffffc079de9000 ffffffc079de9248 ffffffc06a881980
[  196.650645] fc60: 0000000000000000 ffffffc000000000 ffffffc079df4600 ffffff80080fdf1c
[  196.657755] fc80: ffffffc079e8fc80 ffffffc079e8fc80 ffffffc079e8fd30 ffffff800895df54
[  196.664810] fca0: 0000000000000000 ffffffc079de8800 ffffffc079de9020 ffffffc07c4de5b8
[  196.671806] fcc0: ffffffc07c4de000 ffffffc079de9000 0000000000000000 ffffffc079de9000
[  196.678746] fce0: 0000000000000000 0000000000000000 ffffffc079e8fd10 ffffff8008c98728
[  196.685661] fd00: 0000000000000140 ffffff800905ca0c ffffff8008de4d80 0000000000000000
[  196.692537] fd20: 0000000000000000 ffffffc079de8800 ffffffc079e8fda0 ffffff800895ed14
[  196.699380] fd40: ffffffc079de9020 0000000000000000 ffffffc079de9030 ffffffc079e78000
[  196.706181] fd60: 0000000000000000 0000000000000001 0000000000002080 0000000000000000
[  196.712918] fd80: 0000000000000000 0000000000000000 ffffffc079de9020 0000000000000000
[  196.719653] fda0: ffffffc079e8fe00 ffffff80080d54ac ffffffc079dc7300 ffffffc079df4600
[  196.726344] fdc0: ffffff8008f8d92b ffffffc079de9020 ffffff800895ec50 0000000000000000
[  196.732997] fde0: 0000000000000000 ffffffc079df4600 ffffff8008f8d92b 00000001080d5484
[  196.739585] fe00: 0000000000000000 ffffff8008082ef0 ffffff80080d53cc ffffffc079dc7300
[  196.746166] fe20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  196.752782] fe40: ffffffc079e8fe60 0000000000000000 ffffffc07ff531c0 ffffffc079de9020
[  196.759355] fe60: ffffffc000000000 dead4ead00000000 ffffffc0ffffffff ffffffffffffffff
[  196.765941] fe80: ffffffc079e8fe80 ffffffc079e8fe80 0000000000000000 dead4ead00000000
[  196.772583] fea0: 00000000ffffffff ffffffffffffffff ffffffc079e8feb0 ffffffc079e8feb0
[  196.779196] fec0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  196.785891] fee0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  196.792422] ff00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  196.798843] ff20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  196.805130] ff40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  196.811373] ff60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  196.817543] ff80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  196.823625] ffa0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  196.829622] ffc0: 0000000000000000 0000000000000005 0000000000000000 0000000000000000
[  196.835499] ffe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  196.841216] Call trace:
[  196.846448] Exception stack(0xffffffc079e8f9d0 to 0xffffffc079e8fb00)
[  196.852089] f9c0:                                   ffffffc079de91b8 0000008000000000
[  196.857920] f9e0: ffffffc079e8fbb0 ffffff800896839c 0000000000000145 0000000000000000
[  196.863764] fa00: 0000000000000004 ffffffc000030001 ffffff800896839c 0000000000000000
[  196.869595] fa20: 0000000000000000 dead4ead00030003 00000000ffffffff ffffffffffffffff
[  196.875465] fa40: ffffffc079e8fa40 ffffffc079e8fa40 ffffff800894be64 0000000000000000
[  196.881427] fa60: 0000000000000000 0000000000000000 ffffffc079e8fae0 ffffff800895ccfc
[  196.887397] fa80: ffffffc07c467810 ffffffc07a77a000 0000000000000001 0000000000000001
[  196.893382] faa0: 0000000000000000 ffffff80080935f4 000000558a17cab1 f3a98478608786db
[  196.899321] fac0: ffffffc079df5090 ffffffc079e8f7c0 0000000000000a30 7430ebd3f7f3b31e
[  196.905247] fae0: f07b322633b7fc80 dc361964c2ec30ea 142402eff6f53450 0000000000000000
[  196.911189] [<ffffff800896839c>] dw_mci_post_req+0x74/0x88
[  196.916865] [<ffffff800894aec0>] mmc_post_req+0x40/0x50
[  196.922485] [<ffffff800894da2c>] mmc_start_req+0x354/0x3a4
[  196.928089] [<ffffff800895d614>] mmc_blk_issue_rw_rq+0x27c/0x7e0
[  196.933698] [<ffffff800895df54>] mmc_blk_issue_rq+0x3dc/0x3fc
[  196.939203] [<ffffff800895ed14>] mmc_queue_thread+0xc4/0x168
[  196.944617] [<ffffff80080d54ac>] kthread+0xe0/0xf0
[  196.949960] [<ffffff8008082ef0>] ret_from_fork+0x10/0x20
[  196.955350] Code: 9107c084 f9401c85 b4000065 d2800004 (d63f00a0)
[  196.960912] sched: RT throttling activated for rt_rq ffffffc07ff53390 (cpu 1)
[  196.960912] potential CPU hogs:
[  196.960912]  mmcqd/1 (147)
[  196.961004] ---[ end trace 18afb84b9aaf570e ]---

I have tried that a few times (installing the image and then update) but every time a kernel panic appears (not always the same). Is this a known issue? I have a Rock64 Rev. 2. I already replaced the device as I thought it might be a hardware issue, but with the new one same problem occurs.

Any hints what is going wrong?

Thanks!


Bye
#18
I always suggest using https://www.armbian.com/rock64/ It's definitely the gold standard as far as the Rock64 is concerned.
#19
(12-13-2019, 07:50 PM)Rocklobster Wrote: I always suggest using https://www.armbian.com/rock64/  It's definitely the gold standard as far as the Rock64 is concerned.

Yes, I have tried this distribution also. The issue here is that the main purpose for me buying the Rock64 was OpenVPN performance. Although the tests mentioned in this thread run fine the throughput is much lower than with Ubuntu Bionic (Armbian approx. 3MByte/s, Ubuntu approx. 8,4MByte/s). I was not able to figure out where the difference is. On Armbian the OpenVPN process is somehow only using 25% of CPU, on Ubuntu it is more than 50%. Is there a general limitation of CPU utilization on Armbian? Is there a way to change that?

Thanks!


Bye


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 No Audio @ Debian 12 dmitrymyadzelets 2 1,230 04-08-2024, 06:47 AM
Last Post: dmitrymyadzelets
  OpenWRT on the Rock64 CanadianBacon 14 11,302 04-03-2024, 08:48 AM
Last Post: helpmerock
  Rock64 bricked shawwwn 7 7,262 03-17-2024, 12:22 PM
Last Post: dmitrymyadzelets
  Rock64 won't boot luminosity7 10 6,351 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 819 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  How well does Rock64 deal with HDR and Atmos on Kodi? drvlikhell 3 2,893 04-29-2023, 04:24 AM
Last Post: newestssd
  Rock64 board not working, no HDMI no Ethernet. EDited 3 4,399 01-17-2023, 02:31 PM
Last Post: Flagtrax
  ROCK64 v3 can it boot from USB? Tsagualsa 4 3,125 11-29-2022, 11:31 AM
Last Post: Macgyver
  rock64 v3 spiflash Macgyver 0 1,132 11-28-2022, 02:18 PM
Last Post: Macgyver
  my rock64 dosen't work rookie_267 0 1,314 10-07-2022, 07:50 PM
Last Post: rookie_267

Forum Jump:


Users browsing this thread: 1 Guest(s)