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, @BTB.
Did 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 No Audio @ Debian 12 dmitrymyadzelets 1 109 03-18-2024, 06:56 AM
Last Post: diederik
  Rock64 bricked shawwwn 7 5,424 03-17-2024, 12:22 PM
Last Post: dmitrymyadzelets
  Rock64 won't boot luminosity7 10 3,840 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 248 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  How well does Rock64 deal with HDR and Atmos on Kodi? drvlikhell 3 1,757 04-29-2023, 04:24 AM
Last Post: newestssd
  OpenWRT on the Rock64 CanadianBacon 12 7,789 04-24-2023, 12:40 PM
Last Post: arunkhan
  Rock64 board not working, no HDMI no Ethernet. EDited 3 3,380 01-17-2023, 02:31 PM
Last Post: Flagtrax
  ROCK64 v3 can it boot from USB? Tsagualsa 4 1,963 11-29-2022, 11:31 AM
Last Post: Macgyver
  rock64 v3 spiflash Macgyver 0 702 11-28-2022, 02:18 PM
Last Post: Macgyver
  my rock64 dosen't work rookie_267 0 904 10-07-2022, 07:50 PM
Last Post: rookie_267

Forum Jump:


Users browsing this thread: 1 Guest(s)