Constant freezes or kernel panics
#1
Bug 
Hello all!
I ordered my RockPro64 4GB model in December 2019 for use as a home data server.
For this I also bought the PCIe SATA adapter from the store and connected two 8TB drives in a BTRFS RAID 1 to it. For the OS I installed the most recent Debian-based desktop Armbian at the time on a microSD and would work on it either locally or via SSH.

This worked very well until about this summer, when I could suddenly not reach my server over SSH anymore. When I came home to check it I found it completely frozen and had to use the reset button to reboot it. From then on these freezes became common and I started troubleshooting:
  • First I guessed at flash death and replaced the microSD with an Armbian recommended 32GB Sandisk Extreme Pro A1.
  • Then I installed the latest terminal-only Ubuntu-based Armbian.
  • Then I ran memtester to check the RAM, with no errors.
  • Lastly I disconnected my RAID and plugged in a big USB-Stick to do tests on that instead.
Still freezes occur regularly.

My observations on them:
  • They do not occur on boot.
  • They do not occur even after days of uptime if it's only idle.
  • They occur on various I/O intense workloads such as scrubbing the BTRFS filesystem (which I also did as part of the troubleshooting) or checking the files of a large torrent.
  • They rekt my data on the RAID (likely from the repeated interrupted writes), a backup is available.
  • If a display is plugged in at the time of the freeze it stays active and shows the last frame. If I plug it in afterwards it does not find a signal.
  • Alt + SysRq + B worked exactly once, at the other tries no keyboard input seemed to have registered. So the reset button is almost always necessary for recovery.
  • HDDs audibly go into idle and spin down seconds after a freeze.
  • The same tasks that lead to a freeze work without a problem on other machines.
  • I'm still a linux beginner and don't know much about logs, but I couldn't find anything relevant in them.
An SSH connection will usually end with a short error message ("...broken pipe..." I think) except for one time, when it read:
Code:
Message from syslogd@localhost at Dec  4 07:31:20 ...
kernel:[42746.436064] Insufficient stack space to handle exception!

Message from syslogd@localhost at Dec  4 07:31:20 ...
kernel:[42746.436076] ESR: 0x96000047 -- DABT (current EL)

Message from syslogd@localhost at Dec  4 07:31:20 ...
kernel:[42746.441468] FAR: 0xffff800011af7fa0

Message from syslogd@localhost at Dec  4 07:31:20 ...
kernel:[42746.443967] Task stack:     [0xffff800011bc0000..0xffff800011bc4000]

Message from syslogd@localhost at Dec  4 07:31:20 ...
kernel:[42746.446804] IRQ stack:      [0xffff800011af8000..0xffff800011afc000]

Message from syslogd@localhost at Dec  4 07:31:20 ...
kernel:[42746.449632] Overflow stack: [0xffff0000f77592b0..0xffff0000f775a2b0]

Message from syslogd@localhost at Dec  4 07:31:20 ...
kernel:[42746.515506] Kernel panic - not syncing: kernel stack overflow

I found some other posts on here and other forums that might be about the same problem but none seem to provide an explanation or solution.
So now I wonder if anyone has an idea what leads to these freezes and if something can be done about them.
Even knowing that this is down to an unfixable hardware error would help since I have some alternative single-board computers in mind.


Messages In This Thread
Constant freezes or kernel panics - by data_kraken - 12-20-2020, 10:47 AM
RE: Constant freezes or kernel panics - by diizzy - 12-21-2020, 04:39 AM
RE: Constant freezes or kernel panics - by LMM - 12-21-2020, 01:43 PM
RE: Constant freezes or kernel panics - by LMM - 12-22-2020, 02:02 PM
RE: Constant freezes or kernel panics - by LMM - 12-23-2020, 11:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  fan continously runs on kernel 5.8 but I need to use 5. kernel for PCIe sata card GreyLinux 4 5,722 10-20-2020, 10:52 AM
Last Post: GreyLinux
  kernel for NAS chengjianwen 2 3,687 03-21-2019, 09:18 PM
Last Post: onfire4g05

Forum Jump:


Users browsing this thread: 1 Guest(s)