Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Random powering off without a shutdown process
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
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Tue Aug 11, 2009 2:29 am    Post subject: Random powering off without a shutdown process Reply with quote

I have an aluminum iMac and occasionally in Gentoo is just powers off as if the power was removed. It never does that in Mac OS X so I don't think it is a hardware or power supply problem. It could be overheating or something, maybe the kernel can't accurately detect the temperature. I don't think there are any logs when it happens because it just shuts off immediately with no time to write to a log. What kernel options should I have on to ensure that the kernel is functioning properly, or is it possible that the code just hasn't been written?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3674

PostPosted: Tue Aug 11, 2009 3:18 am    Post subject: Reply with quote

Hi,
Take a look at this.

Thank you.
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Tue Aug 11, 2009 3:20 am    Post subject: Reply with quote

That is for laptops, I have an iMac.
Back to top
View user's profile Send private message
tgR10
Apprentice
Apprentice


Joined: 23 Oct 2007
Posts: 262
Location: caly ten ambaras

PostPosted: Tue Aug 11, 2009 3:42 am    Post subject: Reply with quote

skrapasor wrote:
That is for laptops, I have an iMac.

acpi is a standard it ain't only for laptops
as wikipedia says
Code:
The Advanced Configuration and Power Interface (ACPI) specification is an open standard for unified operating system-centric device configuration and power management. ACPI, first released in December 1996, defines platform-independent interfaces for hardware discovery, configuration, power management and monitoring.

_________________
"bo kto ma racje ? ten kto z bliska zobaczy"
"moge nie wiedziec,wchlaniam niewiedze z malych torebek"
http://i12.tinypic.com/4pow0mu.png
http://userbar.tgr.debil.eu/userbar.jpg
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Tue Aug 11, 2009 7:13 pm    Post subject: Reply with quote

"Please notice that this guide describes Power Management for laptops." Am I misinterpreting that?
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Tue Aug 11, 2009 10:39 pm    Post subject: Reply with quote

computers don't just shut down. With acpi or without.

One question - is it always a shutdown or are there reboots too?
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
Total MAdMaN
n00b
n00b


Joined: 04 Aug 2009
Posts: 14

PostPosted: Tue Aug 11, 2009 10:41 pm    Post subject: Reply with quote

skrapasor wrote:
"Please notice that this guide describes Power Management for laptops." Am I misinterpreting that?

While the guide is showing you power management for laptops, that doesn't mean that the things in it are only for laptops, only that the setup shown is tailored to them. With a different configuration of the items in the guide you could have a setup for desktop or server machines.
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Tue Aug 11, 2009 10:46 pm    Post subject: Reply with quote

yes, but you have to setup them first. Out of the box acpi does nothing but help managing pci devices and stuff.
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Tue Aug 11, 2009 10:46 pm    Post subject: Reply with quote

Just for clarification, Wikipedia says:
Quote:
To shutdown a computer is to turn its power off in a controlled way.


This is not what's happening. The computer doesn't go through any controlled shutdown process; it is as if the power cord is just unplugged and it turns off immediately. Anyway, to answer your question, it never reboots.
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Tue Aug 11, 2009 10:59 pm    Post subject: Reply with quote

Is this what you guys really think is the solution, ACPI? If so, can you be more specific with what options would actually cause complete power failure? I never had to do anything like this on my two other gentoo desktops, and they have never powered off like this. Oh and by the way, I know ACPI is for all computers, but that guide specifically was for laptops.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Wed Aug 12, 2009 5:27 am    Post subject: Reply with quote

skrapasor,

If the case is closed, open it and see how clogged up the power supply/CPU fans are. If really clogged, clean them out with canned "air" and see if that helps. If the case is open, be sure that the fans are turning, and that the heat sinks to which they are attached aren't excessively hot. Warm is ok, hot isn't.

You're right, computers don't just die for no reason. Most usually, when a computer shifts from normal operation to self-shutdown or other such problems, there is a hardware fault somewhere; either overheating or a component/solder/connector failure. Cleaning out the dust can help if it's an overheating CPU, or power supply component. If it's any of the others, you may be looking at parts replacement.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Wed Aug 12, 2009 9:55 am    Post subject: Reply with quote

yeah, pappy is right. Shutdown is either an emergency step taken by the mobo in an overheating event or failing hardware.

Sudden reboots are usually caused by bad PSU or bad ram causing triple faults.
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
skrapasor
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2008
Posts: 92

PostPosted: Wed Aug 12, 2009 1:17 pm    Post subject: Reply with quote

Well then why has this never happened when it's running Mac OS X? It had been running OS X for over a year before I installed Gentoo, and it is still used quite frequently. That's why I don't think it is a hardware specific problem.
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Wed Aug 12, 2009 1:22 pm    Post subject: Reply with quote

different software stresses the hardware differently? or maybe the hardware is failing right now ;)
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Wed Aug 12, 2009 8:48 pm    Post subject: Reply with quote

MacOS and Linux are not the same animal. If you can read your Linux partition from Mac, see if there is an error that gets put into /var/log/dmesg. If you can get to said file, post it after a failure. Without more info, it is a lot of guesswork.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
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