Rock64 random freezes
#1
Hello everyone,

This is my first post, so I'll spare a couple of lines to introduce myself:
I'm a hardware enthusiast, sometimes over my possibilities and capabilities, but that is the way I learn. I like running Linux in every device I have, sometimes just because. But I am far from being a Linux-only kind of guy: there is always room for Windows, OSX and FreeBSD.

I started to be interested in the Rock64 board a couple of months ago when someone introduced me to it. After reading on the forums for a while, I decided to buy it from someone that wasn't going to use it anymore. So far I've tried Debian Stretch and Armbian Ubuntu Bionic 64 images.
I am using it to host small headless server for internal use. The resources I am using are the built-in Ethernet, the CPU, the memory and the SD-Card.

To my surprise, I've been having random freezes with both images for a while. So I decided to debug the freezes by using an external UART to see if messages were dumped to the serial console. (I followed this instructions https://forum.pine64.org/showthread.php?tid=5029 )

These freezes could happen at random times, but mostly when I was interacting with the Rock64 through SSH protocol.
I tried to force this freezes with the stress command: sudo stress -c3 -m3; and succeded.
1-4 seconds after executing the stress command, the Rock64 board would freeze. I reproduced this four times in a row.

Would you think this is a board problem? I'm asking in case I have to ask for a refund from the person I bought the board from.

I'm pasting the kernel messages below for reference.

Salutations to everyone!


Random crash at boot:
https://pastebin.com/BtwZiqXc

First crash induced by stress:
https://pastebin.com/Dxp6SKvT

Second crash induced by stress + temperatures.
https://pastebin.com/5jK74aAP



Images used:
https://github.com/ayufan-rock64/linux-b...m64.img.xz
https://github.com/ayufan-rock64/linux-b...m64.img.xz

PSU:
Original 5v 3A.
#2
Hi, which image (exactly which version) are you running? ayufan just released new stable
You can find me on IRC, Discord and Twitter


#3
(07-01-2019, 05:12 AM)Luke Wrote: Hi, which image (exactly which version) are you running? ayufan just released new stable

Hi Luke,

When I captured the kernel errors above I was using bionic-minimal-rock64-0.7.8-1061-arm64.img.xz .

I may give revision 0.8.3 a go tonight to see if the freezes reproduce on that version.

Regards,
BTB
#4
0.7.8 is very old at this point, so granted the nature of the issue is not related to hw then its likely fixed.
You can find me on IRC, Discord and Twitter


#5
Hello, @BTBDid you have any luck finding the problem? I have the exact same issue with my board.

Yesterday I tried to reinstall the OS, and tested many distros. One thing I noticed is that it is complete random. At one point I used a clean Debian Minimal SD Card that I'd just created and it didn't pass the fist login.
#6
I've had the v2 version of this board a few months and mines very picky about bootiing, compiling and nic stability. The v3 had a nic resistor fixed.
So you should say what board ver you have not just the image. I just installed ayufan's latest focal unstable img and it's working well for a day now.
ssh hangs were a problem on lots of diff distro's I tried. There's a command for turning off tcp offload out there which helps but escapes me atm. ethtool eth0 tx rx off blah.
#7
By default Linux only runs the rk3328 at (approx!) 1.3ghz maximum cpu frequency

But Armbian may add a patch to boost that to 1.5ghz


This may cause problems maybe ? If you don't have a good power supply or the cpu gets too hot perhaps


You can try to change the max frequency:


sudo echo 1296000 > /sys/bus/cpu/devices/cpu0/cpufreq/scaling_max_freq


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 kernel panics clay 13 249 Yesterday, 04:15 AM
Last Post: Rocklobster
  Pine Rock64 eMMC lifespan moonspell79 3 465 08-19-2021, 06:46 PM
Last Post: bcnaz
  Rock64 No Audio - Solved wbecks 12 17,551 08-13-2021, 01:23 PM
Last Post: blakeadam
Question Hardware issues with Rock64 grobbs 11 2,909 07-24-2021, 10:23 AM
Last Post: robinkyle11
  Trustzone support for Rock64 capablegh 1 393 07-17-2021, 10:15 AM
Last Post: capablegh
  Python GPIO Library for the Rock64 (R64.GPIO) Leapo 37 41,150 07-02-2021, 03:20 PM
Last Post: klausfelix
  rock64, compile problems "illegal instruction", "memory fault" -> ddr_333Mhz? klausfelix 0 336 07-02-2021, 03:13 PM
Last Post: klausfelix
Information Serial Console for the Rock64 MarkHaysHarris777 33 34,594 06-24-2021, 12:24 PM
Last Post: mikeklien
  lost eletronic component rock64 marvin1986 1 616 06-01-2021, 06:27 PM
Last Post: 8bit
Shocked Rock64 - Reboots after few minutes addezai 2 890 04-22-2021, 07:03 PM
Last Post: addezai

Forum Jump:


Users browsing this thread: 1 Guest(s)