Page 1 of 1

Crash during compilation

Posted: Mon Jun 06, 2016 12:20 pm
by pmatos
Hello,

I am trying to determine why my rpi3 keeps crashing (literally I need to unplug it and plug it again) while compiling gcc on it.
Is there a way to understand if this was:
  • Power : doubtful, this is connected to a pretty powerful electrical extension and using this raspberry pi charger:
    https://www.amazon.de/3000mAh-Netzteil- ... B01E75SB2C
  • Temperature ; make -j1 works, make -j2 fails so it could be temperature but I would find it quite strange since I am not even using all of the cores
  • any other possibilities?

Re: Crash during compilation

Posted: Mon Jun 06, 2016 12:27 pm
by RaTTuS
OOME ?
what is displayed on the screen when it dies ?
tail -f /var/log/syslog
on another terminal when compiling and what does it say when it dies.

do you get brown outs ?
flickering red LED ?

Re: Crash during compilation

Posted: Mon Jun 06, 2016 1:03 pm
by pmatos
RaTTuS wrote:OOME ?
what is displayed on the screen when it dies ?
tail -f /var/log/syslog
on another terminal when compiling and what does it say when it dies.

do you get brown outs ?
flickering red LED ?
The problem is the temperature. It easily reaches 90C. That's not good.
The screen just stalls from whatever was being displayed. In my case, the compilation log. I probably need some heatsinks and an open case.

Re: Crash during compilation

Posted: Mon Jun 06, 2016 1:40 pm
by dom
What does:

Code: Select all

vcgencmd version
vcgencmd get_config int
uname -a
report?

Re: Crash during compilation

Posted: Mon Jun 06, 2016 2:08 pm
by stderr
pmatos wrote:I am trying to determine why my rpi3 keeps crashing (literally I need to unplug it and plug it again) while compiling gcc on it.
any other possibilities?
Do you have swap enabled on it? When you have to use flash for this, I'd get a separate thumb drive and just put swap on it if possible.

Re: Crash during compilation

Posted: Mon Jun 06, 2016 2:11 pm
by RaTTuS
put a heak sink on it and give it some airflow space