Computer Shuts Down Unexpectedly

If none of the more specific forums is the right place to ask

Computer Shuts Down Unexpectedly

Postby AMLJ » 2010-06-10 08:03

Hello! Since when I installed Squeeze I'm having this problem. You know how disturbing it is.
I don't know if this is related in any way, but when I play music or watch video and do other things at the same time it looks like this happens more.
Any help would be appreciated!
AMLJ**0-1-47
User avatar
AMLJ
 
Posts: 973
Joined: 2009-03-18 07:40
Location: Mierlo, Netherlands

Re: Computer Shuts Down Unexpectedly

Postby aspnair » 2010-06-10 08:27

Is it getting overheated? Do you have any temperature sensor in the motherboard?
Compressed Air Energy Storage, Entropy and Efficiency
http://saurorja.org/2012/06/18/compress ... fficiency/
User avatar
aspnair
 
Posts: 1247
Joined: 2009-06-18 12:27
Location: Twitter: @anand_sivaram

Re: Computer Shuts Down Unexpectedly

Postby AMLJ » 2010-06-10 09:27

aspnair wrote:Is it getting overheated? Do you have any temperature sensor in the motherboard?

Oh my God, how could I be so stupid...
Could it be related to fancontrol?
Some time ago I noticed it not getting started. Let me allow it to start when system boots. That might solve the problem. Thanks. Let's see what happens guys.
AMLJ**0-1-47
User avatar
AMLJ
 
Posts: 973
Joined: 2009-03-18 07:40
Location: Mierlo, Netherlands

Re: Computer Shuts Down Unexpectedly

Postby AMLJ » 2010-06-10 09:34

This is what I got, as usual, your help would be greatly appreciated.

Code: Select all
amljdebian:/home/amlj# fancontrol
Loading configuration from /etc/fancontrol ...
Error: Can't read configuration file


Code: Select all
amljdebian:/home/amlj# /etc/init.d/fancontrol status
fancontrol is not running ... failed!


Code: Select all
amljdebian:/home/amlj# /etc/init.d/fancontrol start
amljdebian:/home/amlj# /etc/init.d/fancontrol status
fancontrol is not running ... failed!


What do I do??
AMLJ**0-1-47
User avatar
AMLJ
 
Posts: 973
Joined: 2009-03-18 07:40
Location: Mierlo, Netherlands

Re: Computer Shuts Down Unexpectedly

Postby aspnair » 2010-06-10 10:26

Fancontrol is to adust the fan settings. It is not *essential* to run the system.
Even for me I am finding the same errors as you have seen. Install "lm-sensors",
then run "sensors" command. That should print you the current temperature.
If you are not finding any temperature just send the output of "lspci -nn" to findout your sensor chips used.

Or as soon as your system shuts down, start it and go to bios, generally bios prints the temperature somewhere.
Compressed Air Energy Storage, Entropy and Efficiency
http://saurorja.org/2012/06/18/compress ... fficiency/
User avatar
aspnair
 
Posts: 1247
Joined: 2009-06-18 12:27
Location: Twitter: @anand_sivaram

Re: Computer Shuts Down Unexpectedly

Postby jjmac » 2010-06-10 10:38

Howdy AMLJ,


Post some actual info please...

And, you have not answered the question asked in the 2nd post !
Which means people are forced to draw on inference ... which isn't the best way to go about a problem solve .

So ...

fancontrol is part of the lm-sensors package ...

What kind of computer do you have, and is it a laptop.
Do you have the lm-sensors package installed and configured.

If it is installed and configured running the cmd,

]$ sensors

should give some usefull feed back on the tmp/fan state of your system.
Sometimes (often) the lm-sensors config will need some tweaking !

What do your logs have to say.
Are there any entries there, such as in my /var/log/boot log

Thu Jun 10 18:38:28 2010: Starting Common Unix Printing System: cupsddone.
Thu Jun 10 18:38:28 2010: Turning on process accounting, file set to '/var/log/account/pacct'.
Thu Jun 10 18:38:28 2010: done.
Thu Jun 10 18:38:28 2010: Starting fan speed regulator: fancontrol.
Thu Jun 10 18:38:29 2010: .
Thu Jun 10 18:38:29 2010: Starting file alteration monitor: FAM.


You could also try looking in syslog and kernel.log

]# grep 'fan' boot
]# grep 'fan' syslog
etc


Some other dumps from my system ...

[root:19:58]# pwmconfig
File /var/run/fancontrol.pid exists. This typically means that the
fancontrol deamon is running. You should stop it before running pwmconfig.
If you are certain that fancontrol is not running, then you can delete
/var/run/fancontrol.pid manually.
[root:19:58]# sensors-detect
# sensors-detect revision 5249 (2008-05-11 22:56:25 +0200)

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.

We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no):
[root:19:59]#


Note:

"If you are certain that fancontrol is not running, then you can delete
/var/run/fancontrol.pid manually."

Have you had any events, such as crashes that may have led to the pid file hanging over from a previous session. Does a pid file exist.

What permissions are there set on /etc/fancontrol ...

When i do a,

[root:20:06]# /etc/init.d/fancontrol status

I get,

[root:20:06]# /etc/init.d/fancontrol status
Usage: /etc/init.d/fancontrol {start|stop|restart|force-reload}.



Which is quite different to what you get ?!, why is that ?

If you can post the relavent info mentioned above, then it might be possible to suggest something.


Also ... does the side of the box feel overly warm ?. That might sound a bit lame, but as a kind of straw grab ... having lm-sensors set up though would be much better.


Hello! Since when I installed Squeeze I'm having this problem. You know how disturbing it is.
I don't know if this is related in any way, but when I play music or watch video and do other things at the same time it looks like this happens more.


If temp was an issue, i would expect apps to be doing strange things , like exiting unexpectedly. Rather than the computer deciding to shut down.
And it would seem to be happening while under load.

Do you have enough power.
What's your PSU like ... again, this relates to the type of computer (laptop etc).
As you also say 'sinse installing squeeze' it also suggests it might be an incomplete package install.

Hope that all makes some sense :)

P.S:

Looks like aspnair just posted something that mentions lm-sensors as well,
But i'll post this anyway.



jm
http://counter.li.org
#313537

-=- The FVWM wm -=- http://www.fvwm.org -=-

Somebody stole my air guitar, It happened just the other day,
But it's ok, 'cause i've got a spare ...
jjmac
 
Posts: 387
Joined: 2005-12-28 23:34
Location: Australia

Re: Computer Shuts Down Unexpectedly

Postby AMLJ » 2010-06-10 10:43

aspnair wrote:Fancontrol is to adust the fan settings. It is not *essential* to run the system.
Even for me I am finding the same errors as you have seen. Install "lm-sensors",
then run "sensors" command. That should print you the current temperature.
If you are not finding any temperature just send the output of "lspci -nn" to findout your sensor chips used.

Or as soon as your system shuts down, start it and go to bios, generally bios prints the temperature somewhere.

Code: Select all
amljdebian:/sys/devices/platform# lm-sensors
bash: lm-sensors: command not found
amljdebian:/sys/devices/platform# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.


Code: Select all
amljdebian:/sys/devices/platform# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82P965/G965 Memory Controller Hub [8086:29a0] (rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation 82P965/G965 PCI Express Root Port [8086:29a1] (rev 02)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 02)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 02)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 02)
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 02)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 [8086:2845] (rev 02)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 [8086:2847] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev f2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller [8086:2810] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller [8086:2820] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 02)
00:1f.5 IDE interface [0101]: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller [8086:2825] (rev 02)
01:00.0 VGA compatible controller [0300]: nVidia Corporation G73 [GeForce 7300 GT] [10de:0393] (rev a1)
03:00.0 SATA controller [0106]: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller [197b:2363] (rev 02)
03:00.1 IDE interface [0101]: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller [197b:2363] (rev 02)
04:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller [11ab:4364] (rev 14)
05:01.0 Communication controller [0780]: Conexant Systems, Inc. HCF 56k Data/Fax/Voice/Spkp Modem (Worldwide) [14f1:1056] (rev 08)
amljdebian:/sys/devices/platform# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.


I really don't get what I have to do!
AMLJ**0-1-47
User avatar
AMLJ
 
Posts: 973
Joined: 2009-03-18 07:40
Location: Mierlo, Netherlands

Re: Computer Shuts Down Unexpectedly

Postby craigevil » 2010-06-10 11:27

Run sensors-detect as root in order to setup lm-sensors.
Debian Sid KDE 4.8 Kernel 3.7 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5149
Joined: 2006-09-17 03:17
Location: down the rabbit hole

Re: Computer Shuts Down Unexpectedly

Postby AMLJ » 2010-06-10 11:45

craigevil wrote:Run sensors-detect as root in order to setup lm-sensors.

Code: Select all
amljdebian:/sys/devices/platform# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

I really don't know what to do. Please help guys!
AMLJ**0-1-47
User avatar
AMLJ
 
Posts: 973
Joined: 2009-03-18 07:40
Location: Mierlo, Netherlands

Re: Computer Shuts Down Unexpectedly

Postby AMLJ » 2010-06-10 12:19

I restored BIOS settings and that seems to have fixed it. Someone told me to do it, it looks like it worked.
Thanks everyone, if it happened again, I'll post here and will let you know that I still have the problem.
Thanks again! 8)
AMLJ**0-1-47
User avatar
AMLJ
 
Posts: 973
Joined: 2009-03-18 07:40
Location: Mierlo, Netherlands

Re: Computer Shuts Down Unexpectedly

Postby aspnair » 2010-06-10 12:37

Nice to know that you found the problem. Anyway if your lm-sensors is not giving temperature output,
just take a look at the following link.
http://en.gentoo-wiki.com/wiki/Asus_P5B_Deluxe
I think this person is using a motherboard very similar to yours.
For kernels 2.6.31 and above the w83627ehf driver conflicts with ACPI. The asus_atk0110 driver should be used instead
Compressed Air Energy Storage, Entropy and Efficiency
http://saurorja.org/2012/06/18/compress ... fficiency/
User avatar
aspnair
 
Posts: 1247
Joined: 2009-06-18 12:27
Location: Twitter: @anand_sivaram

Re: Computer Shuts Down Unexpectedly

Postby AMLJ » 2010-06-10 13:09

aspnair wrote:Nice to know that you found the problem. Anyway if your lm-sensors is not giving temperature output,
just take a look at the following link.
http://en.gentoo-wiki.com/wiki/Asus_P5B_Deluxe
I think this person is using a motherboard very similar to yours.
For kernels 2.6.31 and above the w83627ehf driver conflicts with ACPI. The asus_atk0110 driver should be used instead

Thanks mate!
AMLJ**0-1-47
User avatar
AMLJ
 
Posts: 973
Joined: 2009-03-18 07:40
Location: Mierlo, Netherlands


Return to General Questions

Who is online

Users browsing this forum: No registered users and 15 guests

fashionable