Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
strange shutdown behaviour
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 790

PostPosted: Mon Apr 27, 2015 3:09 am    Post subject: strange shutdown behaviour Reply with quote

Hi my 2-year-old box is shutting down randomly during some emerging (llvm and gcc) but not others (such as mysql). To me this indicates that this may be an overheating issue but I've never had a problem with this for 2 years and so I'm wondering why I would have this problem now.

I checked the logs and there is sketchy info there:

messages says:
Code:
kernel: PM: Finishing wakeup.


and a bit further down...

Code:
rtkit-daemon[3854]: Recovering from system lockup, not allowing further RT threads.


Doesn't 'PM' mean power management? Is the computer being shut off the the power management? I turned-off all power management settings in KDE but maybe there's a non-gui one running too?

Any ideas?

dq
Back to top
View user's profile Send private message
Angrychile
Apprentice
Apprentice


Joined: 27 Oct 2009
Posts: 235

PostPosted: Fri May 01, 2015 6:06 pm    Post subject: Reply with quote

obvious suggestion: try a lower -j value and see if it goes away. Of course, after 2 years, dust clogs air vents and such, so that overheating would become an issue later in life is not surprising.
_________________
hola
Back to top
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Fri May 01, 2015 6:55 pm    Post subject: Reply with quote

Run memtest86+ for a couple passes and also look into lm_sensors with the 'sensors' command to help rule out bad memory and/or overheating.
Back to top
View user's profile Send private message
phobos13013
Apprentice
Apprentice


Joined: 22 Sep 2004
Posts: 277
Location: PNW

PostPosted: Mon May 11, 2015 2:12 pm    Post subject: Reply with quote

So I have this issue too. Its a stumper... It is causing the inability to upgrade a host of things its depending on including mesa... opengl... and ffmpeg to name a few. Pretty sure it has nothing to do with -j flag and I have already run memtest in the past due to a nasty lockup bug i encountered earlier in the year which was only solved by waiting for an update cycle to come through with a later 3.18 kernel and new xorg-server/mesa/etc cluster. Do I have to do this again?

My symptoms are exemplified by a random shutdown a good 20 mins into making llvm. My PS becomes fritzed and takes a few seconds to discharge before being able to power back up. Weird as hell. I have updated innumerable other packages prior to this one and have not encountered this while building other packages.

I found this post which may be related although it says the bug has been fixed?

https://forums.gentoo.org/viewtopic-p-7676782.html
_________________
...and it should be known by now
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 790

PostPosted: Mon May 11, 2015 5:17 pm    Post subject: Reply with quote

I ended up getting a liquid cooling system for my CPU and have so far had no issues. It is noisier though which is surprising...

dq
Back to top
View user's profile Send private message
phobos13013
Apprentice
Apprentice


Joined: 22 Sep 2004
Posts: 277
Location: PNW

PostPosted: Tue May 12, 2015 1:25 pm    Post subject: Reply with quote

This is not a practical solution for everyone who encounters this issue. Again.. this is overheating (which Im not completely sold on this idea anyway) during emerge of one very specific package (llvm) while all the others go through just fine. Is the only option to mask the package and move on and hope it all works out in the future?
_________________
...and it should be known by now
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 790

PostPosted: Wed May 13, 2015 4:07 am    Post subject: Reply with quote

Yes obviously, that's why I haven't marked this thread as "SOLVED". Maybe someone will come up with a solution...

dq
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2551
Location: Here and Away Again

PostPosted: Wed May 13, 2015 10:44 am    Post subject: ><)))°€ Reply with quote

I don't think there's not much that software can do to fix overheating.

Reducing MAKEOPTS (-j) if higher than 1 will reduce work on the CPU, and as such, in many cases reduce heat as well. A more drastic method might be throttling the CPU frequency.

Ultimately, it would of course be best to fix the hardware instead.

As to why it would happen only while building certain package(s), I can only guess. Some packages definitely will have more work than others, and the amount of time they take to build of course varies as well.

Something to investigate is if the build always stops at the same spot, but from the looks of it, I'd imagine it's rather random indeed (again, suggesting hardware failing).

Keep yer machine(s) clean, and if it's not feasible to replace heat-sinks with more effective-like ones, simply applying fresh thermal paste can do wonders! ^^
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
phobos13013
Apprentice
Apprentice


Joined: 22 Sep 2004
Posts: 277
Location: PNW

PostPosted: Thu May 14, 2015 3:11 am    Post subject: Reply with quote

Great... well the MAKEOPTS single core j-flag pushed it thru. Thanks
_________________
...and it should be known by now
Back to top
View user's profile Send private message
Goverp
Veteran
Veteran


Joined: 07 Mar 2007
Posts: 1972

PostPosted: Thu May 14, 2015 8:33 am    Post subject: Reply with quote

phobos13013 wrote:
...
My symptoms are exemplified by a random shutdown a good 20 mins into making llvm. My PS becomes fritzed and takes a few seconds to discharge before being able to power back up.
...

I wonder if it's your power supply that's dying. My old box's PS died after about 6 years; it couldn't get the power-ready line up. I installed a new one, and turned the old one into a bench power supply, as shown all over the web.
_________________
Greybeard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum