Segfault with GCC in Armbian [Solved].
#1
I have two 4GB Rock64 boards identically configured.  Each has
  • The official 5V 3A power supply.
  • The official heat sink.
  • A 32GB SanDisk A1-class SD card.
  • An Eluteng USB to SATA bridge.
  • A Sandisk 240GB SSD.
  • Armbian Focal Server installed for Rock64.
  • A wired gigabit network connection to same switch.
  • No monitor attached.
I'm trying to compile version 10.2 of gcc.  On one of them the full build completes without problem; on the other I get a segmentation fault or illegal instruction error at random places in the build.

I'm probably past the warranty period because these systems sat on a shelf for a long time after being received due to shelter-at-home rules related to the ongoing epidemic.  If it is possible to exchange the one with intermittent failures, I'd be delighted.  Otherwise, I'm looking for a way to reliably use it.

I would be happy with a solution that achieved reliable operation by
  • disabling one of the four CPU cores.
  • disabling up to 1GB of RAM.
  • reducing clock speed by up to 20 percent.
So far I've tried disabling cores 1 and 3 and using only cores 0 and 2, but that didn't help.  I've tried reducing clock speed to 1GHz but that didn't help.  I've tried cooling with a fan (separately powered) and that didn't help.  Disabling cores 0 and 2 and using only cores 1 and 3 seems a little more promising and testing is still under way.

I haven't tried disabling memory and am not actually sure the way to do this.  Is there an option I can pass to Linux to tell it to ignore certain parts of RAM that might be defective?  What would the suitable memory ranges be for a Rock64 board?


Messages In This Thread
Segfault with GCC in Armbian [Solved]. - by ejolson - 08-31-2020, 01:36 PM
RE: One works the other doesn't. - by ejolson - 08-31-2020, 01:48 PM
RE: One works the other doesn't. - by Rocklobster - 08-31-2020, 08:54 PM
RE: One works the other doesn't. - by ejolson - 09-01-2020, 10:02 PM
RE: One works the other doesn't. - by t4_4t - 08-31-2020, 09:45 PM
RE: One works the other doesn't. - by ejolson - 09-02-2020, 09:11 AM
RE: One works the other doesn't. - by ejolson - 09-02-2020, 02:09 PM
RE: One works the other doesn't. - by tomarm - 09-01-2020, 12:30 AM
RE: One works the other doesn't. - by ejolson - 09-04-2020, 08:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 No Audio - Solved wbecks 12 33,845 08-13-2021, 01:23 PM
Last Post: blakeadam
  Rock64-4gb,Armbian Debian Stretch: Plex, Radarr, NZBGet and Sickchill WOW Baracuda2 1 3,368 02-27-2019, 03:34 PM
Last Post: Luke
  [SOLVED] stuck at emmc dr_dre 10 14,410 04-29-2018, 05:10 PM
Last Post: pfeerick
  Solved - When did you order your Rock64 rhille 5 7,870 08-25-2017, 07:17 AM
Last Post: rhille

Forum Jump:


Users browsing this thread: 2 Guest(s)