LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-13-2011, 03:47 PM   #1
JoeyArnold
Member
 
Registered: Nov 2010
Posts: 153

Rep: Reputation: 1
Question Ubuntu Laptop Randomly Shuts Off.


My Ubuntu Laptop Randomly Shuts Off every hour or so now.

Quote:
Originally Posted by ktat View Post
Have you checked your power source, how old is the battery?
My laptop is plugged into a power strip. The TV is plugged in there, too. But the TV doesn't shut off randomly. But my laptop still randomly shuts off every hour or more.

The laptop turns off and restarts itself, while it is plugged in.





Quote:
Originally Posted by theNbomr View Post
Some laptops (Toshiba, especially) don't properly control the fan(s) under Linux, and this can lead to spontaneous shutdown due to overheating.
--- rod.
MY LAPTOP IS HP
Intel Core 2 Duo (Centrino) CPU T7300 @ 2.00 GHZ
120 GBs
92.7 GBs free space
961.4 MiB memory
Ubuntu 11.04 (Natty)
Kernal Linux 2.6.38-12-generic
GNOME 2.32.1

Last edited by JoeyArnold; 10-13-2011 at 09:26 PM.
 
Old 10-13-2011, 04:07 PM   #2
ktat
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Rep: Reputation: 0
Have you checked your power source, how old is the battery?
 
Old 10-13-2011, 04:17 PM   #3
JoeyArnold
Member
 
Registered: Nov 2010
Posts: 153

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ktat View Post
Have you checked your power source, how old is the battery?

My laptop is plugged into a power strip. The TV is plugged in there, too. But the TV doesn't shut off randomly. But my laptop still randomly shuts off every hour or more.

The laptop turns off and restarts itself, while it is plugged in.
 
Old 10-13-2011, 04:40 PM   #4
Jenni
Member
 
Registered: Oct 2011
Distribution: Slackware, Fedora
Posts: 158

Rep: Reputation: Disabled
By shutting off, do you mean an actual reboot/shutdown, where it closes all your programs logs you out then turns off the power, or do you mean it just stops - screen goes blank, lights go out, no warning or shut-down sequence at all?

If the latter then it's probably your laptops power source, it might not be the power strip it's plugged into but something on the laptops side of things, or the power cord, or the AC adapter.
 
Old 10-13-2011, 04:53 PM   #5
gqdabien
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: Disabled
Perhaps check the power settings in Ubuntu? I remember it had settings for power saving after a certain amount of time.
 
Old 10-13-2011, 07:15 PM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Some laptops (Toshiba, especially) don't properly control the fan(s) under Linux, and this can lead to spontaneous shutdown due to overheating.
--- rod.
 
Old 10-13-2011, 07:46 PM   #7
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
Quote:
Originally Posted by theNbomr View Post
Some laptops (Toshiba, especially) don't properly control the fan(s) under Linux, and this can lead to spontaneous shutdown due to overheating.
--- rod.
I was thinking the same thing. You can install lm-sensors, and run "sensors" to have a good visual on your temperatures.
 
1 members found this post helpful.
Old 10-13-2011, 08:56 PM   #8
JoeyArnold
Member
 
Registered: Nov 2010
Posts: 153

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Jenni View Post
By shutting off, do you mean an actual reboot/shutdown, where it closes all your programs logs you out then turns off the power, or do you mean it just stops - screen goes blank, lights go out, no warning or shut-down sequence at all?

If the latter then it's probably your laptops power source, it might not be the power strip it's plugged into but something on the laptops side of things, or the power cord, or the AC adapter.

It turns totally off in about two seconds or less. So it's not a proper reboot. It does reboot.

So it might be a laptop or power cord problem, like you are saying.

Quote:
Originally Posted by gqdabien View Post
Perhaps check the power settings in Ubuntu? I remember it had settings for power saving after a certain amount of time.
But I did set the power preferences on to stay on, both for when it is running off the battery and when it is plugged in. And I keep my laptop plugged in.


Quote:
Originally Posted by theNbomr View Post
Some laptops (Toshiba, especially) don't properly control the fan(s) under Linux, and this can lead to spontaneous shutdown due to overheating.
--- rod.

You might be right.

MY LAPTOP IS HP
Intel Core 2 Duo (Centrino) CPU T7300 @ 2.00 GHZ
120 GBs
92.7 GBs free space
961.4 MiB memory
Ubuntu 11.04 (Natty)
Kernal Linux 2.6.38-12-generic
GNOME 2.32.1


Quote:
Originally Posted by corp769 View Post
I was thinking the same thing. You can install lm-sensors, and run "sensors" to have a good visual on your temperatures.

Are there Ubuntu PC-temperature-programs I could get ?

Last edited by JoeyArnold; 10-13-2011 at 09:26 PM.
 
Old 10-13-2011, 11:11 PM   #9
thezerodragon
Member
 
Registered: Apr 2009
Location: Paris, France
Distribution: Fedora 12 Constantine
Posts: 142

Rep: Reputation: 44
lm_sensors worked for me, but I am using Fedora. tell us if
Code:
sudo apt-get install lm_sensors
works.
 
Old 10-14-2011, 01:21 AM   #10
JoeyArnold
Member
 
Registered: Nov 2010
Posts: 153

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by thezerodragon View Post
lm_sensors worked for me, but I am using Fedora. tell us if
Code:
sudo apt-get install lm_sensors
works.


Code:
o@o-HP-Compaq-6910p-GH715AW-ABA:~$ sudo apt-get install lm_sensors
[sudo] password for o: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package lm_sensors
o@o-HP-Compaq-6910p-GH715AW-ABA:~$ ^C
o@o-HP-Compaq-6910p-GH715AW-ABA:~$
 
Old 10-14-2011, 01:47 AM   #11
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
For you, using ubuntu, it will be "lm-sensors" and not "lm_sensors" (Note the underscore). After you install it, run the following:
Code:
sudo sensors-detect
The config will ask you questions; Say yes to all of them so you have it detect as many devices as it can. After you save the config, run the following:
Code:
sudo /etc/init.d/module-init-tools restart
Then, you can run "sensors" and see all of your temperatures.

Cheers,

Josh
 
1 members found this post helpful.
Old 10-14-2011, 04:53 AM   #12
JoeyArnold
Member
 
Registered: Nov 2010
Posts: 153

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by corp769 View Post
For you, using ubuntu, it will be "lm-sensors" and not "lm_sensors" (Note the underscore). After you install it, run the following:
Code:
sudo sensors-detect

Code:
o@o-HP-Compaq-6910p-GH715AW-ABA:~$ sudo sensors-detect
# sensors-detect revision 5861 (2010-09-21 17:21:05 +0200)
# System: Hewlett-Packard HP Compaq 6910p (GH715AW#ABA) (laptop)
# Board: Hewlett-Packard 30BE

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):
I went through all of that.




The config will ask you questions; Say yes to all of them so you have it detect as many devices as it can. After you save the config, run the following:
Code:
sudo /etc/init.d/module-init-tools restart
Then, you can run "sensors" and see all of your temperatures.

Cheers,

Josh

Code:
o@o-HP-Compaq-6910p-GH715AW-ABA:~$ sudo /etc/init.d/module-init-tools restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service module-init-tools restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop module-init-tools ; start module-init-tools. The restart(8) utility is also available.
module-init-tools stop/waiting

Last edited by JoeyArnold; 10-14-2011 at 04:55 AM.
 
Old 10-14-2011, 08:06 AM   #13
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
Unless I am completely misreading this, your last post just has the output of the last command to run. Are you having issues?
 
Old 10-14-2011, 06:50 PM   #14
JoeyArnold
Member
 
Registered: Nov 2010
Posts: 153

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by corp769 View Post
Unless I am completely misreading this, your last post just has the output of the last command to run. Are you having issues?
The output said I couldn't fully install it: or that it won't work yet:
Code:
o@o-HP-Compaq-6910p-GH715AW-ABA:~$ sudo /etc/init.d/module-init-tools restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service module-init-tools restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop module-init-tools ; start module-init-tools. The restart(8) utility is also available.
module-init-tools stop/waiting
It says to use service module-init-tools restart: but how do I do that ?

Last edited by JoeyArnold; 10-14-2011 at 06:55 PM.
 
Old 10-14-2011, 06:53 PM   #15
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
I think it just wants you to do (as root, probably):
Code:
service module-init-tools restart
--- rod.
 
  


Reply

Tags
laptop, power, restarts, shutdown, ubuntu 11.04


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
Ubuntu 9.10 shuts down or takes me to “Ubuntu 9.10 pablo-laptop tty1” by itself pgonzamailcn Linux - Newbie 3 03-31-2010 06:52 AM
Temperature is OK but System Shuts Down Randomly xp_newbie Linux - Hardware 13 06-24-2008 11:15 PM
DMA randomly shuts itself off RemusX2 Linux - Hardware 2 03-17-2007 10:22 AM
Mandrake 10.1 randomly shuts down JeffSketch Mandriva 5 05-12-2005 05:43 PM
Laptop randomly shuts down w/Debian? ccjohnson Linux - Laptop and Netbook 6 12-27-2004 04:10 AM


All times are GMT -5. The time now is 08:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration