Regular Crashes

Hi @floion,

As I said, I’m using the Intel Atom E3940. In my dmesg, after setting intel_idle.max_cstate, I got the response that intel_idle isn’t used for my processor family and model. So after much googling, I know added processor.max_cstate=1. That seems, and I say this carefully, to work!

I didn’t respond in this topic, because I thought intel_idle.max_cstate=1 worked, because the system was stable for 24 hours (which was a record), and then crashed. So I wanted to test some more. Now after exactly 1 day and 21:57 hours, the system is still stable and hasn’t crashed/freezed/halted. So I think it works!

Now my grub.cfg looks like this:

# Automatically created by OE

serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1

default=boot

timeout=3

menuentry 'boot'{

linux /vmlinuz root=LABEL=resin-rootA rootwait i915.enable_rc6=0 intel_idle.max_cstate=1 processor.max_cstate=1

}

For some detailed information:

  • i915.enable_rc6=0
    – Fixed the problem of the screen glitching/flickering

  • intel_idle.max_cstate=1
    – Maybe helps the Intel Pentium processors of the UP Squared board to stop halting (I didn’t test it)

  • processor.max_cstate=1
    – Helps the Intel Atom processor of the UP Squared board to stop halting (After 2 days of idle)

So maybe it’s something to add to the default UP Board images? For now, I’ve edited the image. I’ve mounted the image, changed grub.cfg_internal and the grub.cfg in the flash EFI, just in case.

But like I said, I’ve tested it for 2 days and it’s still working and stable. But I can’t confirm that it’s a definite fix and stays stable. I’ve ordered another UP Squared with the same processor to do a test, and just install BalenaOS and let it run until it crashes (which I hope it doesn’t).

P.S.
Is it an idea to create more forum categories, like “General” for feature/forum suggestions etc and “development” for people that want help with their software, specific for Balena content (like how to make the best Docker container/setup for Balena, or when something doesn’t work how a developer thinks it’s supposed to work. The community and the Balena team could help with that kind of problems)