LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-25-2010, 08:47 PM   #1
Shum
LQ Newbie
 
Registered: Oct 2007
Posts: 23

Rep: Reputation: 0
computer randomly switches off


Hi!

Recently my computer has been switching off for no reason. Not shutting down, just turning off like a light switch.

I have no idea how I'd even start to diagnose this problem. Any suggestions? A log file somewhere I should look at?

I'm running Arch on a Toshiba A200 laptop.
It's not overheating.
 
Old 07-25-2010, 08:58 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
You might look for /var/log/acpid or /var/log/kernel or /var/log/messages for starters. But if the machine is turning off like a light switch out of the blue, the event(s) leading up to this may not be logged, especially if it's a hardware or power supply problem - the kernel may not have time to log anything, if there's even something to log.

Is the machine running on battery or AC when this happens?

If running on AC, and the computer's battery is defective or not installed, AND if the AC power cord or conenctor is damaged or worn out, jiggling the wires might make the machine turn off -- does it?

Does it happen with any regularity, or totally random time interval? Are you always doing some particular task or application when this happens?

Does it turn back on normally after this happens? Like, the power button turns it back on?

How do you know it is not overheating? Can you hear the fan running? Is the fan clear of dust, and spinning freely?
 
Old 07-25-2010, 10:25 PM   #3
Shum
LQ Newbie
 
Registered: Oct 2007
Posts: 23

Original Poster
Rep: Reputation: 0
Thanks GrapefruiTgirl

I checked all those logs but couldn't find anything suspicious so I guess whatever's happening isn't being logged.
The laptop usually runs on AC power but I can unplug it and keep using it so the battery is installed and working.
It seems to happen at totally random times, even if I'm not using it, it turns back on fine afterwards though.

It does overheat sometimes but I can tell when its at risk of overheating because its usually on my lap and it gets hot. Plus when it overheats it drops back to a text terminal and gives me a message about critical temperature being reached, rather than switching off instantly. It also only tends to overheat during hot weather or when I'm making it do some hard labor.

I'm guessing since nothing is being logged this is a hardware issue. I may try reformatting/reinstalling and if that does nothing start saving up for a new laptop.
 
Old 07-26-2010, 03:31 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
Moved: This thread is more suitable in Linux-Laptop and Netbook and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 07-26-2010, 05:06 AM   #5
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
I'm not sure what to suggest next -- there should be other logs in the /var/log directory, particularly "syslog" -- which you can also check.

It might be that sometimes, the thing gets hot and does an orderly shutdown (and you see the temperature messages on the console) and other times, it just shuts down rapidly without the messages.

I have no idea what options there might be in your BIOS for temperature & fan control, if there are any at all, but it'd be worth a look; if there's options for setting the tripping temperature at which the machine turns off, evaluate if that setting is a reasonable number, and tell us what options there are for the action taken when the temp reaches the critical level.

Some computers (my roommates AMD desktop for example) will have a big red message in the BIOS or on the boot screen at power-up, telling the user that the machine last shut down due to temperature.

If you have not yet, install some sort of system monitoring tool, like gkrellm for example (or on KDE, ksysguard would work), and keep it running on your desktop. Examine the output of the tool frequently and watch the temperature. This should give an indication if the temperature is contributing to the problem or not.

Good luck, and keep us posted of anything you discover.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xorg randomly switches between two different screen sizes Tortanick Linux - Desktop 6 11-10-2007 11:14 AM
Computer shutting down randomly aje Slackware 7 01-04-2006 10:37 PM
Mr. Torvalds switches Desktop Computer microsoft/linux General 20 03-14-2005 05:34 AM
computer switches from static to dhcp address (automagically?) cyberpuerka Linux - Networking 1 09-03-2004 11:29 AM
Computer going out randomly. andrewlubinus89 Linux - Hardware 5 12-15-2003 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration