Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Recently, my laptop has begun to randomly shut down and turn off all indicator lights (battery, etc). When this happens, the laptop feels very hot, above the hard drive. Can anyone suggest a way to troubleshoot this?
It is a Compal Hel81, about 2 years old. As far as I know, the heat sensors donīt work in Linux.
I think the first step in trouble shooting this heat issue is to ask yourself how important your data is and back it up if you haven't already. Because hard drives do fail.
Done. Now, how to fix the problem.. Is there an error log or something I can look at that explains why the computer is shutting down?
It does seem that it is the harddrive and it is about that time, but it would be nice if there was a way to verify this without having to swap it with a new one or wait for it to crash, thereby rendering my laptop useless.
When this happens, the laptop feels very hot, above the hard drive.
Trouble is, laptops are generally so compact that it could probably be something else in the same area getting hot.
However, assuming that the hard disk is a probable candidate, you could try loading and configuring the 'SMART' set of hard disk diagnostic tools; at least you should be able to get a hard disk temperature off that and you might get other worthwhile info too.
Quote:
As far as I know, the heat sensors donīt work in Linux.
AFAIK, the real problem with the sensors is that there is no real standard for the correlation between the electrical connection and where the sensor is placed. That is, one manufacturer might decide that 'Sensor 1' is always close to the CPU another might decide that 'Sensor 1' is always on the motherboard, close to the air outlet, and there might be different scalings involved, too.
So, you can get readings, but it won't necessarily be very meaningful to you unless someone else with the same kit has configured the the set up.
Is there an error log or something I can look at that explains why the computer is shutting down?
/var/log/messages may tell you why it shut down.
Open that file, and scroll through it until you find the date & time of the last unexpected shutdown. Then read carefully.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.