Tamás Faragó

Members
  • Content Count

    11
  • Joined

  • Last visited

  1. Hi Igor, that is going to be quite difficult. If it was easy the people over at the sunxi kernel would have updated the kernel already. Unfortunately I am stuck with this kernel. It is really unfortunate that the legacy images for jessie cubieboard were removed from the repo which made things a lot more difficult to figure out. Please find attached my diff that was needed to get it to work along with some comments. I realise that jessie support is dropped so most of these changes will not be merged but I think it's still good to have a look through. aptly-temp.conf is missing configuration setting '"gpgProvider": "gpg2"' which is required if you build your own packages instead of relying on the armbian binary. the local aptly repository server doesn't work, the gpg-key has been changed to 2E676174EEF176857052DE5392B90DE1925644A6 (is in packages/extras-buildpkgs/buildpkg.gpg) mmc-utils no longer exists in the jessie repository. It is there in stretch and up, but might be worthwhile removing anyways as it is in the armbian repo if you are using an older apt (e.g. jessie) it cannot install local packages. They should be installed through "rpm -i". I think this change is good as the apt command skips all dependencies, etc. in essence only doing an RPM install libvdpau build no longer works off of master as the build system has changed to meson. So either the debian control files need to be updated, or we need to stick to the libvdpau-1.2 branch. For anybody else wanting to build jessie themselves the following needs to be done: checkout armbian build from git reset back to 14ecc52 which is the last good build I found working with jessie (b3bb934 is the last version of cubieboard but that already has some jessie support removed) command: git reset --hard 14ecc52 don't allow armbian to update by doing the below in the root build directory command: touch .ignore_changes apply attached patches import the gpg secret key to run the local aptly - passphrase is testkey1234 command: gpg --allow-secret-key-import --import packages/extras-buildpkgs/buildpkg.gpg run compilation outside of docker to build all the extra packages (docker doesn't allow building them for some reason; not sure I get the rationale). You need to set EXTERNAL_NEW="compile". command: ./compile.sh BOARD="cubieboard" BRANCH="default" RELEASE="jessie" BUILD_MINIMAL="yes" BUILD_DESKTOP="no" KERNEL_CONFIGURE="no" KERNEL_ONLY="no" INSTALL_HEADERS="yes" COMPRESS_OUTPUTIMAGE="yes" SEVENZIP="yes" PROGRESS_LOG_TO_FILE="yes" BSPFREEZE="yes" EXTERNAL="yes" CLEAN_LEVEL="images" EXTERNAL_NEW="compile" NO_APT_CACHER="yes" from now on you can run your builds in docker, or do anything else as long as you don't clean debs. It seems that this version has a bug and doesn't use your config file in userpatches/. It does use the custom kernel file (attached for interested parties). For example I did command: ./compile.sh docker BOARD="cubieboard" BRANCH="default" RELEASE="jessie" BUILD_MINIMAL="yes" BUILD_DESKTOP="no" KERNEL_CONFIGURE="no" KERNEL_ONLY="no" INSTALL_HEADERS="yes" COMPRESS_OUTPUTIMAGE="7z" SEVENZIP="yes" PROGRESS_LOG_TO_FILE="yes" BSPFREEZE="yes" CLEAN_LEVEL="images" or just clone https://github.com/Darkvater/build changes.diff linux-sun4i-default.config
  2. Hi Igor, I know Jessie is not supported but my board only works correctly with Jessie (cubieboard1 only works with mmc on the sunxi legacy 3.4 kernel. Stretch and higher don't work on on the 3.4 kernel as systems depends on >= 3.13). There is no jessie images on armbian so I decided to build my own (using he amazing armbian-tools!) from a historical version on git that still supports jessie. The problem is that tools like mmc-utils, u-boot-tools, etc are in the apt.armbian jessie repository which is gone. Is there an archive somewhere of the armbian jessie repo, and if not do you have a hint how I can build it? Thanks!
  3. Well, your box hasn't crashed so it's good I'll compare the numbers once I'm at home. I tried 5.x before but it wouldn't recognise the USB3 port so I quickly have up. Might give it another shot! Although I'm a bit lost in the DTB world and wouldn't have a clue what to change.
  4. Interesting, maybe Ubuntu is doing something else? Can you try "sudo cat /sys/kernel/debug/mmc0/ios" ? You need to install stress-ng, eg. "apt install stress-ng". Thanks!
  5. Hey, thanks! That is useful! I will try 5.69, maybe it is more useful and I don't have to do the below. I have not been idle and did a lot of experimentation as well. With 5.98 at least the only thing that consistentlyDpkg::Use-Pty=0 helped is to underclock the CPU to 1.2GHz. It is pretty much stable even during heavy IO using the uas driver. @rock68 could you check your cpu, memory speeds and clock frequency for me as well as run a cpu test? sudo cat /sys/kernel/debug/mmc0/clock sudo cat /sys/class/devfreq/dmc/cur_freq sudo cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq sudo stress-ng --cpu 4 --cpu-method matrixprod --metrics-brief --perf -t 600 The last command will run for 10 minutes, you can see CPU load and current speed (if you are using dynamic CPU scaling with the ondemand scheduler for example) with "htop". I have yet to try two more things: 1. Run CPU stress test at full speed when OS is on the sdcard 2. Reduce the memory speed. I've read that it should be 666MHz but it's actually running at 786MHz. Anyone know how to do this without writing a new std file? Seems armbian image only has a single speed available. Note, an easy way to get your system to boot from SD card if the emmc is inserted without the jumper short-circuiting thingie is to press escape at the very start of the boot so it stops and you are on the uboot console; then type "mmc erase 0 1000". This will clear the boot details on the emmc basically forcing boot to continue from the sd card. The mmc will be available now to the system to do as you wish.
  6. So, I'm out of ideas now. I have done all of the above, in-fact mounted the whole filesystem (eg. /root) as RO so definitely there are no writes happening on the EMMC card (double checking with iostat -dzp 1). And _still_ the board crashes! This is debian Buster with Armbian 5.98 Linux 4.4.192-rockchip64. Debian Buster with Armbian Linux ttyS2 hattusa login: [ 136.670721] Unable to handle kernel paging request at virtual address 1dd659848 [ 136.670724] Unable to handle kernel paging request at virtual address 1dd644848 [ 136.670728] pgd = ffffffc0ec1f5000 [ 136.670739] [1dd644848] *pgd=0000000000000000, *pud=0000000000000000 [ 136.670745] Internal error: Oops: 96000005 [#1] SMP [ 136.670765] Modules linked in: af_packet lz4hc lz4hc_compress zlib rk_vcodec lzo zram overlay ip_tables x_tables autofs4 uas usb_storage [ 136.670772] CPU: 1 PID: 1342 Comm: rslsync Not tainted 4.4.192-rockchip64 #1 [ 136.670774] Hardware name: Pine64 Rock64 (DT) [ 136.670777] task: ffffffc0e7810000 task.stack: ffffffc0f7adc000 [ 136.670787] PC is at handle_mm_fault+0x88/0x10ac [ 136.670790] LR is at handle_mm_fault+0x74/0x10ac [ 136.670793] pc : [<ffffff80081bd74c>] lr : [<ffffff80081bd738>] pstate: a0000145 [ 136.670795] sp : ffffffc0f7adfcb0 [ 136.670799] x29: ffffffc0f7adfcb0 x28: ffffffc0e799f790 [ 136.670802] x27: 0000000000000002 x26: ffffffc0f7f08f00 [ 136.670806] x25: ffffff8009137000 x24: ffffffc0f7f08f00 [ 136.670810] x23: 0000000000000055 x22: 0000000092000047 [ 136.670814] x21: 0000007f413ba000 x20: 0000007f413ba003 [ 136.670817] x19: ffffffc0e799f790 x18: 0000000034bddbef [ 136.670821] x17: 00000000f20a47b5 x16: 00000000d84b3fe7 [ 136.670824] x15: 0000000054eb0551 x14: 0000000300000001 [ 136.670828] x13: 0000000000000002 x12: 0000000000000379 [ 136.670832] x11: 00000000000003ad x10: 0000000000000a30 [ 136.670836] x9 : ffffffc0f7adfc70 x8 : ffffffc0e7810a90 [ 136.670839] x7 : 00000000000003ac x6 : 000000000000bc3a [ 136.670843] x5 : 0000000000000001 x4 : 0000001fd2352c66 [ 136.670847] x3 : 000000000008704b x2 : 0000000000000000 [ 136.670850] x1 : 00000040f5e5d000 x0 : 00000001dd644848 [ 136.670853] [ 136.670853] PC: 0xffffff80081bd6cc: [ 136.670863] d6cc a90153f3 a9025bf5 a90363f7 a9046bf9 a90573fb aa0003fa aa0103f3 aa1e03e0 [ 136.670872] d6ec aa0203f5 2a0303f7 d503201f d5384100 f9000c1f b0007900 91302000 d538d081 [ 136.670881] d70c 8b010000 c85f7c03 91000463 c8027c03 35ffffa2 d0007bd9 b9410f20 7100001f [ 136.670890] d72c 5400018d f9419f40 9400aada b4000120 f1415800 d538d081 91012000 8b010000 [ 136.670899] d74c c85f7c03 91000463 c8027c03 35ffffa2 d5384100 b944d801 11000422 b904d802 [ 136.670909] d76c 7101003f 5400006d f9425000 97fff28f 121a02e0 b90067a0 36300137 d5384100 [ 136.670918] d78c 39542000 36100040 d4210000 d5384101 39542020 321e0000 39142020 f9402a60 [ 136.670927] d7ac 36b00100 2a1703e3 aa1503e2 aa1303e1 aa1a03e0 9400648c 2a0003f4 14000036 [ 136.670929] [ 136.670929] LR: 0xffffff80081bd6b8: [ 136.670938] d6b8 17ffffef 128002a0 17ffffed a9b47bfd 910003fd a90153f3 a9025bf5 a90363f7 [ 136.670947] d6d8 a9046bf9 a90573fb aa0003fa aa0103f3 aa1e03e0 aa0203f5 2a0303f7 d503201f [ 136.670957] d6f8 d5384100 f9000c1f b0007900 91302000 d538d081 8b010000 c85f7c03 91000463 [ 136.670966] d718 c8027c03 35ffffa2 d0007bd9 b9410f20 7100001f 5400018d f9419f40 9400aada [ 136.670975] d738 b4000120 f1415800 d538d081 91012000 8b010000 c85f7c03 91000463 c8027c03 [ 136.670984] d758 35ffffa2 d5384100 b944d801 11000422 b904d802 7101003f 5400006d f9425000 [ 136.670993] d778 97fff28f 121a02e0 b90067a0 36300137 d5384100 39542000 36100040 d4210000 [ 136.671002] d798 d5384101 39542020 321e0000 39142020 f9402a60 36b00100 2a1703e3 aa1503e2 [ 136.671004] [ 136.671004] SP: 0xffffffc0f7adfc30: [ 136.671013] fc30 92000047 00000000 00000055 00000000 f7f08f00 ffffffc0 09137000 ffffff80 [ 136.671022] fc50 f7f08f00 ffffffc0 00000002 00000000 e799f790 ffffffc0 f7adfcb0 ffffffc0 [ 136.671031] fc70 081bd738 ffffff80 f7adfcb0 ffffffc0 081bd74c ffffff80 a0000145 00000000 [ 136.671040] fc90 f7adfcb0 ffffffc0 081bd738 ffffff80 00000000 00000080 e7810000 ffffffc0 [ 136.671050] fcb0 f7adfd70 ffffffc0 08093304 ffffff80 f7adfec0 ffffffc0 413ba003 0000007f [ 136.671059] fcd0 00000055 00000000 92000047 00000000 e7810000 ffffffc0 f7f08f00 ffffffc0 [ 136.671068] fcf0 00000024 00000000 f7f08f80 ffffffc0 00000002 00000000 e799f790 ffffffc0 [ 136.671078] fd10 f7f08f80 ffffffc0 413ba003 0000007f f7adfd40 ffffffc0 081c04b4 ffffff80 [ 136.671082] [ 136.671082] X8: 0xffffffc0e7810a10: [ 136.671091] 0a10 00000000 00000000 00000000 00000000 00000000 00000001 00000000 00000000 [ 136.671100] 0a30 f9a10e00 ffffffc0 e7810000 ffffffc0 f9a10e00 ffffffc0 090d7000 ffffff80 [ 136.671109] 0a50 f7f08f00 ffffffc0 090e1000 ffffff80 fef3e200 ffffffc0 00000000 00000000 [ 136.671118] 0a70 09117000 ffffff80 e7810688 ffffffc0 f7adfc70 ffffffc0 f7adfc70 ffffffc0 [ 136.671127] 0a90 08085004 ffffff80 7fcf88c0 0000007f 00000000 00000000 00000000 00000000 [ 136.671136] 0ab0 00000000 00000000 00000000 00000000 47b2b726 9480da9b 00000000 00000000 [ 136.671145] 0ad0 268ce9ea d684c432 00000000 00000000 f22ffb0c 0e6260f2 00000000 00000000 [ 136.671155] 0af0 287d0760 4bd0ee23 00000000 00000000 4d369d0e 2ac549ae 00000000 00000000 [ 136.671157] [ 136.671157] X9: 0xffffffc0f7adfbf0: [ 136.671166] fbf0 00000001 00000003 54eb0551 00000000 d84b3fe7 00000000 f20a47b5 00000000 [ 136.671175] fc10 34bddbef 00000000 e799f790 ffffffc0 413ba003 0000007f 413ba000 0000007f [ 136.671184] fc30 92000040000 00000000 00000000 [ 136.671413] 6fc0 00000000 00000000 f9905a10 ffffffc0 f9905a10 ffffffc0 00000001 0000000c [ 136.671422] 6fe0 00000000 dead4ead ffffffff 00000000 ffffffff ffffffff 00000000 00000000 [ 136.671431] 7000 00000000 00000000 f7bf62d0 ffffffc0 092f14c8 ffffff80 08142658 ffffff80 [ 136.671440] 7020 081400c0 ffffff80 08144c00 ffffff80 08144bb4 ffffff80 0813f910 ffffff80 [ 136.671449] 7040 08e7c2bf ffffff80 00000000 00000000 08144560 ffffff80 00000000 00000000 [ 136.671458] 7060 00000000 00000000 081404a0 ffffff80 00000000 00000000 09140480 ffffff80 [ 136.671460] [ 136.671460] X26: 0xffffffc0f7f08e80: [ 136.671470] 8e80 0912bca0 ffffff80 00000000 00000000 00000000 00000000 00000000 00000000 [ 136.671479] 8ea0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 136.671487] 8ec0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 136.671496] 8ee0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 136.671505] 8f00 e6bef2c0 ffffffc0 f7927180 ffffffc0 000013c9 00000000 081c2174 ffffff80 [ 136.671515] 8f20 81ae4000 0000007f 00000000 00000000 00000000 00000080 c3993000 0000007f [ 136.671524] 8f40 ec1f5000 ffffffc0 00000011 00000001 00000054 00000000 00000006 00000000 [ 136.671533] 8f60 00000081 00000000 06bb06bb dead4ead ffffffff 00000000 ffffffff ffffffff [ 136.671536] [ 136.671536] X28: 0xffffffc0e799f710: [ 136.671545] f710 00000000 00000000 00201000 00000000 f7f08f00 ffffffc0081bd74c>] handle_mm_fault+0x88/0x10ac [ 136.671856] [<ffffff8008093304>] do_page_fault+0x1f4/0x368 [ 136.671861] [<ffffff80080934cc>] do_translation_fault+0x54/0xc8 [ 136.671865] [<ffffff8008080b04>] do_mem_abort+0x54/0xac [ 136.671868] Exception stack(0xffffffc0f7adfe20 to 0xffffffc0f7adff50) [ 136.671872] fe20: 0000000000000000 00000040f5e5d000 ffffffffffffffff 00000055713462d8 [ 136.671876] fe40: ffffffc0f7f08f00 ffffff80090e1000 ffffffc0f7adfeb0 ffffff8008ba7c18 [ 136.671880] fe60: ffffffc0f7adfec0 00000040f5e5d000 ffffffffffffffff 0000005571346264 [ 136.671884] fe80: 0000000020000000 000000004d763b3b ffffffc0fef34060 ffffffc0fef38050 [ 136.671888] fea0: 0000000000000005 ffffffc0e7810000 ffffffc0fef38040 ffffff8008082e1c [ 136.671892] fec0: 00000000f978823f 0000007f413ba000 00000000a6c61300 000000006c9d6983 [ 136.671896] fee0: 00000000ebc7659f 00000000c535fabf 0000000000000078 00000055715cb520 [ 136.671899] ff00: 00000055715cbd20 00000055715cc120 0000007f48000f80 00000000000000eb [ 136.671904] ff20: 00000055715cb920 00000000ecd54a13 000000000000000a 0000000054eb0551 [ 136.671906] ff40: 00000000d84b3fe7 00000000f20a47b5 [ 136.671911] [<ffffff8008082b30>] el0_da+0x20/0x24 [ 13[ 137.605051] x9 : ffffffc0f7f13c70 x8 : ffffffc0e7811890 [ 137.608938] x7 : ffffffc0fef4f0c0 x6 : 000000000000bc3a [ 137.612795] x5 : 0000000000000001 x4 : 0000001fd234fc8c [ 137.616612] x3 : 000000000007b196 x2 : 0000000000000000 [ 137.620417] x1 : 00000040f5e72000 x0 : 00000001dd659848 [ 137.624208] [ 137.624208] PC: 0xffffff80081bd6cc: [ 137.631101] d6cc a90153f3 a9025bf5 a90363f7 a9046bf9 a90573fb aa0003fa aa0103f3 aa1e03e0 [ 137.635253] d6ec aa0203f5 2a0303f7 d503201f d5384100 f9000c1f b0007900 91302000 d538d081 [ 137.639442] d70c 8b010000 c85f7c03 91000463 c8027c03 35ffffa2 d0007bd9 b9410f20 7100001f [ 137.643679] d72c 5400018d f9419f40 9400aada b4000120 f9415800 d538d081 91012000 8b010000 [ 137.647961] d74c c85f7c03 91000463 c8027c03 35ffffa2 d5384100 b944d801 11000422 b904d802 [ 137.652258] d76c 7101003f 5400006d f9425000 97fff28f 121a02e0 b90067a0 36300137 d5384100 [ 137.656549] d78c 39542000 36100040 d4210000 d5384101 39542020 321e0000 39142020 f9402a60 [ 137.660853] d7ac 36b00100 2a1703e3 aa1503e2 aa1303e1 aa1a03e0 9400648c 2a0003f4 14000036 [ 137.665186] [ 137.665186] LR: 0xffffff80081bd6b8: [ 137.672544] d6b8 17ffffef 128002a0 17ffffed a9b47bfd 910003fd a90153f3 a9025bf5 a90363f7 [ 137.676919] d6d8 a9046bf9 a90573fb aa0003fa aa0103f3 aa1e03e0 aa0203f5 2a0303f7 d503201f [ 137.681334] d6f8 d5384100 f9000c1f b0007900 91302000 d538d081 8b010000 c85f7c03 91000463 [ 137.685785] d718 c8027c03 35fff[ 137.791049] f120 00000002 00000000 cd848400 0000001f 00000000 00000000 ffff606c 00000000 [ 137.795661] [ 137.795661] X8: 0xffffffc0e7811810: [ 137.803704] 1810 00000000 00000000 00000000 00000000 00000000 00000001 00000000 00000000 [ 137.808460] 1830 f9a11c00 ffffffc0 e7810e00 ffffffc0 f9a11c00 ffffffc0 090d7000 ffffff80 [ 137.813257] 1850 f7f08f00 ffffffc0 090e1000 ffffff80 fef53200 ffffffc0 00000000 00000000 [ 137.818061] 1870 09117000 ffffff80 e7811488 ffffffc0 f7f13c70 ffffffc0 f7f13c70 ffffffc0 [ 137.822896] 1890 08085004 ffffff80 80cfa8c0 0000007f 00000000 00000000 00000000 00000000 [ 137.827776] 18b0 00000000 00000000 00000000 00000000 dbd19a98 fcb90a8c 00000000 00000000 [ 137.832654] 18d0 9a2282f0 ceb0c38b 00000000 00000000 38f7ce29 9542eff5 00000000 00000000 [ 137.837555] 18f0 c29e73d7 0f05487d 00000000 00000000 ebce47b8 b2d5ad1a 00000000 00000000 [ 137.842400] [ 137.842400] X9: 0xffffffc0f7f13bf0: [ 137.850711] 3bf0 00000001 00000003 10772a3a 00000000 f36daa59 00000000 23d0c9ea 00000000 [ 137.855531] 3c10 ea4ee309 00000000 e799f790 ffffffc0 40ff7003 0000007f 40ff7000 0000007f [ 137.860328] 3c30 92000047 00000000 00000055 00000000 f7f08f00 ffffffc0 09137000 ffffff80 [ 137.865122] 3c50 f7f08f00 ffffffc0 00000002 00000000 e799f790 ffffffc0 f7f13cb0 ffffffc0 [ 137.869879] 3c70 081bd738 ffffff80 f7f13cb0 ffffffc0 081bd74c ffffff80 a0000145 00000000 [ 137.874625] 3c90 f7f13cb0 ffffffc0 081bd738 ffffff80 00000000 00000080 e7810e00 ffffffc0 [ 137.879339] 3cb0 f7f13d70 ffffffc0 08093304 ffffff80 f7f13ec0 ffffffc0 40ff7003 0000007f [ 137.884087] 3cd0 00000055 00000000 92000047 00000000 e7810e00 ffffffc0 f7f08f00 ffffffc0 [ 137.888818] [ 137.888818] X19: 0xfff000000 [ 138.002537] 7000 00000000 00000000 f7bf62d0 ffffffc0 092f14c8 ffffff80 08142658 ffffff80 [ 138.006945] 7020 081400c0 ffffff80 08144c00 ffffff80 08144bb4 ffffff80 0813f910 ffffff80 [ 138.011305] 7040 08e7c2bf ffffff80 00000000 00000000 08144560 ffffff80 00000000 00000000 [ 138.015691] 7060 00000000 00000000 081404a0 ffffff80 00000000 00000000 09140480 ffffff80 [ 138.020054] [ 138.020054] X26: 0xffffffc0f7f08e80: [ 138.027468] 8e80 0912bca0 ffffff80 00000000 00000000 00000000 00000000 00000000 00000000 [ 138.031881] 8ea0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 138.036239] 8ec0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 138.040541] 8ee0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 138.044799] 8f00 e6bef2c0 ffffffc0 f7927180 ffffffc0 000013c9 00000000 081c2174 ffffff80 [ 138.049083] 8f20 81ae4000 0000007f 00000000 00000000 00000000 00000080 c3993000 0000007f [ 138.053339] 8f40 ec1f5000 ffffffc0 00000010 00000002 00000054 00000000 00000006 00000000 [ 138.057615] 8f60 00000081 00000000 06bb06bb dead4ead ffffffff 00000000 ffffffff ffffffff [ 138.061877] [ 138.061877] X28: 0xffffffc0e799f710: [ 138.069061] f710 00000000 00000000 00201000 00000000 f7f08f00 ffffffc0 00000f53 00600000 [ 138.073355] f730 00100073 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 138.077610] f750 00000000 00000000 e799f758 ffffffc0 e799f758 ffffffc0 eb5e2068 ffffffc0 [ 138.081867] f770 00000000 00000000 07f431f4 00000000 00000000 00000000 00000000 00000000 [ 138.086134] f790 40fdb000 0000007f 41fe8000 0000007f ec083dc0 ffffffc0 ec083840 ffffffc0 [ 138.090392] f7b0 ec0830d1 ffffffc0 ec083de0 ffffffc0 ec083860 ffffffc0 00202000 00000000 [ 138.094621] f7d0 f7f08f00 ffffffc0 00000f53 00600000 00100073 00000000 00000000 00000000 [ 138.098886] f7f0 00000000 00000000 00000000 00000000 00000000 00000000 e7aa0210 ffffffc0 [ 138.103103] [ 138.103103] X29: 0xffffffc0f7f13c30: [ 138.110273] 3c30 92000047 00000000 00000055 00000000 f7f08f00 ffffffc0 09137000 ffffff80 [ 138.114540] 3c50 f7f08f00 ffffffc0 00000002 00000000 e799f790 ffffffc0 f7f13cb0 ffffffc0 [ 138.118789] 3c70 081bd738 ffffff80 f7f13cb0 ffffffc0 081bd74c ffffff80 a0000145 00000000 [ 138.123037] 3c90 f7f13cb0 ffffffc0 081bd738 ffffff80 00000000 00000080 e7810e00 ffffffc0 [ 138.127299] 3cb0 f7f13d70 ffffffc0 08093304 ffffff80 f7f13ec0 ffffffc0 40ff7003 0000007f [ 138.131567] 3cd0 00000055 00000000 92000047 00000000 e7810e00 ffffffc0 f7f08f00 ffffffc0 [ 138.135809] 3cf0 00000024 00000000 f7f08f80 ffffffc0 00000002 00000000 e799f790 ffffffc0 [ 138.140079] 3d10 f7f08f80 ffffffc0 40ff7003 0000007f f7f13d40 ffffffc0 081c04b4 ffffff80 [ 138.144332] [ 138.147897] Process rslsync (pid: 1340, stack limit = 0xffffffc0f7f10000) [ 138.152086] Stack: (0xffffffc0f7f13cb0 to 0xffffffc0f7f14000) [ 138.156254] 3ca0: ffffffc0f7f13d70 ffffff8008093304 [ 138.160663] 3cc0: ffffffc0f7f13ec0 0000007f40ff7003 0000000000000055 0000000092000047 [ 138.165086] 3ce0: ffffffc0e7810e00 ffffffc0f7f08f00 0000000000000024 ffffffc0f7f08f80 [ 138.169521] 3d00: 0000000000000002 ffffffc0e799f790 ffffffc0f7f08f80 0000007f40ff7003 [ 138.173959] 3d20: ffffffc0f7f13d40 ffffff80081c04b4 ffffffc0e799f790 0000007f40ff7003 [ 138.178345] 3d40: ffffffc0f7f13d70 ffffff8008093264 ffffffc0f7f13ec0 0000007f40ff7003 [ 138.182718] 3d60: 0000000000000055 ffffffc0e7810e80 ffffffc0f7f13de0 ffffff80080934cc [ 138.187052] 3d80: ffffffc0f7f13ec0 0000007f40ff7003 0000000092000047 ffffffc0f7f13ec0 [ 138.191469] 3da0: 0000000060000000 0000000000000024 0000000092000047 0000007f40ff7003 [ 138.195895] 3dc0: 0000000000000005 ffffffc0e7810e00 ffffffc0f7f13df0 0000000008baada0 [ 138.200335] 3de0: ffffffc0f7f13e10 ffffff8008080b04 0000000092000047 0000007f40ff7003 [ 138.204774] 3e00: ffffff8008bc70b8 ffffffc0f7f13ec0 0000000000000000 ffffff8008082b30 [ 138.209222] 3e20: 0000000000000000 00000040f5e72000 ffffffffffffffff 00000055713462d8 [ 138.213704] 3e40: ffffffc0f7f08f00 ffffff80090e1000 ffffffc0f7f13eb0 ffffff8008ba7c18 [ 138.218180] 3e60: ffffffc0f7f13ec0 00000040f5e72000 ffffffffffffffff 0000005571346210 [ 138.222616] 3e80: 0000000060000000 0000000013ebf8f8 ffffffc0fef49060 ffffffc0fef4d050 [ 138.227098] 3ea0: 0000000000000005 ffffffc0e7810e00 ffffffc0fef4d040 ffffff8008082e1c [ 138.231526] 3ec0: 0000000047b06c4d 0000007f40ff7000 0000000092915000 00000000f9f86ee0 [ 138.236009] 3ee0: 0000000002ac62db 0000000074adc60f 00000000000000b0 00000055715cb520 [ 138.240537] 3f00: 00000055715cbd20 00000055715cc120 0000007f6c0011f0 0000000000000002 [ 138.245123] 3f20: 00000055715cb920 00000000d882091e 000000000000000a 0000000010772a3a [ 138.249679] 3f40: 00000000f36daa59 0000000023d0c9ea 00000000ea4ee309 00000000a3a3fe5d [ 138.254206] 3f60: 0000000098b32b98 00000000eeee29c7 00000000345c6834 0000000081819819 [ 138.258737] 3f80: 0000000004f1f5f5 00000000319595a4 000000003c281414 0000000000000005 [ 138.263236] 3fa0: 0000000097e00000 0000007f80cf95d0 000000000f684568 0000007f80cf95d0 [ 138.267687] 3fc0: 00000055713462d8 0000000060000000 0000000000000000 ffffffffffffffff [ 138.272169] 3fe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 138.276592] Call trace: [ 138.280521] Exception stack(0xffffffc0f7f13ae0 to 0xffffffc0f7f13c10) [ 138.284866] 3ae0: ffffffc0e799f790 0000008000000000 ffffffc0f7f13cb0 ffffff80081bd74c [ 138.289365] 3b00: ffffffc0f7f13c10 ffffff80080f896c ffffffc0fef53200 ffffffc0e7810e00 [ 138.293850] 3b20: ffffffc0fef53288 0000000000000000 0000000000000002 ffffff8009115000 [ 138.298326] 3b40: ffffff8009115720 0000000000000002 ffffffc0f98f3c00 00000000ffff6166 [ 138.302804] 3b60: ffffffc0f7f13c10 ffffffc0fef29c00 ffffffc0e7813800 ffffff800911570c [ 138.307293] 3b80: 00000001dd659848 00000040f5e72000 0000000000000000 000000000007b196 [ 138.311763] 3ba0: 0000001fd234fc8c 0000000000000001 000000000000bc3a ffffffc0fef4f0c0 [ 138.316265] 3bc0: ffffffc0e7811890 ffffffc0f7f13c70 0000000000000a30 00000000000003ad [ 138.320735] 3be0: 0000000000000379 0000000000000002 0000000300000001 0000000010772a3a [ 138.325219] 3c00: 00000000f36daa59 0000000023d0c9ea [ 138.329405] [<ffffff80081bd74c>] handle_mm_fault+0x88/0x10ac [ 138.333661] [<ffffff8008093304>] do_page_fault+0x1f4/0x368 [ 138.337887] [<ffffff80080934cc>] do_translation_fault+0x54/0xc8 [ 138.342121] [<ffffff8008080b04>] do_mem_abort+0x54/0xac [ 138.346269] Exception stack(0xffffffc0f7f13e20 to 0xffffffc0f7f13f50) [ 138.350541] 3e20: 0000000000000000 00000040f5e72000 ffffffffffffffff 00000055713462d8 [ 138.354946] 3e40: ffffffc0f7f08f00 ffffff80090e1000 ffffffc0f7f13eb0 ffffff8008ba7c18 [ 138.359340] 3e60: ffffffc0f7f13ec0 00000040f5e72000 ffffffffffffffff 0000005571346210 [ 138.363714] 3e80: 0000000060000000 0000000013ebf8f8 ffffffc0fef49060 ffffffc0fef4d050 [ 138.368061] 3ea0: 0000000000000005 ffffffc0e7810e00 ffffffc0fef4d040 ffffff8008082e1c [ 138.372359] 3ec0: 0000000047b06c4d 0000007f40ff7000 0000000092915000 00000000f9f86ee0 [ 138.376679] 3ee0: 0000000002ac62db 0000000074adc60f 00000000000000b0 00000055715cb520 [ 138.380968] 3f00: 00000055715cbd20 00000055715cc120 0000007f6c0011f0 0000000000000002 [ 138.385265] 3f20: 00000055715cb920 00000000d882091e 000000000000000a 0000000010772a3a [ 138.389581] 3f40: 00000000f36daa59 0000000023d0c9ea [ 138.393603] [<ffffff8008082b30>] el0_da+0x20/0x24 [ 138.397579] Code: f9415800 d538d081 91012000 8b010000 (c85f7c03) [ 138.401705] ---[ end trace 12e0d942746f1dff ]--- Nice little stack trace above. The machine stayed up but something was hogging the CPU so much it was unusable and I had to reboot. I've moved the HDD to the USB2 port and I just had a crazy kernel panic and the board rebooted by itself. I did get _one_ step further. Remember when I said the board was stable previously? It was with the sd-card in it, not the emmc. It also seems that the board is more stable with the serial cable plugged in. I will double check, but it would seem that even in RO mode running the OS off of the EMMC is batshit unstable. Anyone experienced this and might have ideas to resolve it?
  7. I am quite upset. Reading around more it looks like the FORESEE emmc cards sold on the rock64 shop are utter crap. The only reason I bought them from their shop because I trusted them to deliver good quality components with the board. Teaches me right. I contacted support about the card, they waived me off with "you only have 30 days guarantee, but anyways you should limit the number of writes to the card as otherwise you can kill it within a week". Thanks for that. I've read around a bit more and my last hope is a few more tweaks before I give up and just buy a raspberry pi. 1. Lower the emmc clock frequency to 150MHz from 200MHz as it seems many cards/boards cannot take the higher frequency. You do this through "echo 150000000 > /sys/kernel/debug/mmc0/clock". See here https://forum.pine64.org/showthread.php?tid=5258&pid=39964#pid39964 2. As many problems seem to be around usb3 people suggest to disable the uas driver. See here https://forum.pine64.org/showthread.php?tid=5137&pid=32107#pid32107 3. Mount whatever I can on a tmpfs and other options, see here for tips https://raspberrypi.stackexchange.com/questions/169/how-can-i-extend-the-life-of-my-sd-card 4. Try and use the HDD on the usb2 port and get a usb power splitter After this I'm out of ideas. Sent from my Mi A2 using Tapatalk
  8. Not much luck even with armbian. With any process that involves heavy IO (on the USB) the board just panics and dies. And by heavy IO I mean something like syncthing or resilio sync indexing my shared albums. I get this during boots ERROR: suspend_mode_handler: unhandled sip (0x1) ERROR: suspend_mode_handler: unhandled sip (0x4) Is there anyway I can debug this, or at least find out what the cause is? When the sbc dies: and again
  9. Thanks a lot, this helped immensely. I installed the latest ubuntu-bionic 5.90 headless version which was 4.4.182 kernel. After a system update it went up to 4.4.192 and things seem quite stable. Although during heavy USB3 disk access - like resilio-sync scanning - there is the occasional kernel panic, but the machine is usable. Oct 23 00:08:26 hattusa kernel: [ 307.008233] zram: Decompression failed! err=-22, page=31 Oct 23 00:08:26 hattusa kernel: [ 307.008290] zram: Decompression failed! err=-22, page=31 Oct 23 00:08:26 hattusa kernel: [ 307.008463] zram: Decompression failed! err=-22, page=31 Oct 23 00:08:26 hattusa kernel: [ 307.008483] Buffer I/O error on dev zram0, logical block 31, async page read Oct 23 00:08:51 hattusa kernel: [ 332.477720] zram: Decompression failed! err=-22, page=31 Oct 23 00:08:51 hattusa kernel: [ 332.477738] Buffer I/O error on dev zram0, logical block 31, async page read Oct 23 00:09:00 hattusa kernel: [ 340.704780] zram: Decompression failed! err=-22, page=31 Oct 23 00:09:00 hattusa kernel: [ 340.704799] Buffer I/O error on dev zram0, logical block 31, async page read
  10. Thanks guys. Any debian-based distribution would be fine, be it armbian, or ayufan version or even Ubuntu. I tried in the past to update to kernel 5 but it failed to recognize my usb3 hdd so I went back to version 4. I'll have to check the version of the board when I get home but I remember it saying v2 on the back (I bought it in March 2018).
  11. Anyone has a reliable kernel version for the rock64? Any I have tried are kernel panicking like crazy I cannot have it up longer than a few minutes. The most stable kernel I have 4.4.133 but even that does intermittently during (heavy) IO on the USB3. Power is supplied through the power supply from pine.org so that should be good. This is driving me crazy!