Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My Ubuntu Laptop Randomly Shuts Off every hour or so now.
Quote:
Originally Posted by ktat
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
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.
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.
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.
Some laptops (Toshiba, especially) don't properly control the fan(s) under Linux, and this can lead to spontaneous shutdown due to overheating.
--- rod.
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.
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
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
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
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.