You are not logged in.

#1 2012-06-22 10:08:40

davide
Member
Registered: 2010-12-06
Posts: 18

Sudden shutdown - overheating or kernel thinks so

Hi all
Since a week or so I am experiencins sudden shutdowns, a few minutes after booting.
First thing I tried, I booted into ubuntu, chrooted, ran pacman -Syu, but this didn't resolve the problem.
This is what I see in logs. Last one is a bash script which keeps running "acpi -t" every second.
Kernel actually feels like overheating, but ACPI output doesn't say the same

root@ubuntu# tail -n 30 /media/archroot/var/log/messages.log
Jun 22 11:39:43 localhost dbus[422]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
Jun 22 11:39:44 localhost dbus[422]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Jun 22 11:39:44 localhost polkitd[609]: started daemon version 0.105 using authority implementation `local' version `0.105'
Jun 22 11:39:44 localhost dbus[422]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Jun 22 11:39:44 localhost dbus[422]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
Jun 22 11:39:45 localhost kernel: [   19.255744] r8169 0000:13:00.0: eth0: link down
Jun 22 11:39:45 localhost kernel: [   19.255765] r8169 0000:13:00.0: eth0: link down
Jun 22 11:39:45 localhost kernel: [   19.256173] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jun 22 11:39:48 localhost kernel: [   21.822175] r8169 0000:13:00.0: eth0: link up
Jun 22 11:39:48 localhost kernel: [   21.822863] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jun 22 11:39:54 localhost logger: ACPI group/action undefined: processor / LNXCPU:00
Jun 22 11:39:54 localhost logger: ACPI group/action undefined: processor / LNXCPU:01
Jun 22 11:39:54 localhost logger: ACPI group/action undefined: processor / LNXCPU:02
Jun 22 11:39:54 localhost logger: ACPI group/action undefined: processor / LNXCPU:03
Jun 22 11:40:05 localhost acpid: client connected from 723[0:100]
Jun 22 11:40:05 localhost acpid: 1 client rule loaded
Jun 22 11:40:14 localhost dbus[422]: [system] Activating service name='org.blueman.Mechanism' (using servicehelper)
Jun 22 11:40:15 localhost blueman-mechanism: Starting blueman-mechanism 
Jun 22 11:40:15 localhost dbus[422]: [system] Successfully activated service 'org.blueman.Mechanism'
Jun 22 11:40:15 localhost blueman-mechanism: loading Config 
Jun 22 11:40:15 localhost blueman-mechanism: loading Network 
Jun 22 11:40:15 localhost blueman-mechanism: loading Ppp 
Jun 22 11:40:15 localhost blueman-mechanism: loading RfKill 
Jun 22 11:40:21 localhost acpid: client 723[0:100] has disconnected
Jun 22 11:40:24 localhost acpid: client connected from 723[0:100]
Jun 22 11:40:24 localhost acpid: 1 client rule loaded
Jun 22 11:40:35 localhost logger: ACPI group/action undefined: thermal_zone / LNXTHERM:00
Jun 22 11:40:35 localhost shutdown[919]: shutting down for system halt
Jun 22 11:40:35 localhost init: Switching to runlevel: 0
Jun 22 11:40:37 localhost acpid: exiting
root@ubuntu# 
root@ubuntu# tail -n 1 /media/archroot/var/log/kernel.log
Jun 22 11:40:35 localhost kernel: [   68.975181] thermal_sys: Critical temperature reached (100 C), shutting down
root@ubuntu# 
root@ubuntu# tail -n 9 /media/archhome/davide/acpi_log.log 
Fri Jun 22 11:40:32 CEST 2012
Thermal 0: ok, 52.5 degrees C

Fri Jun 22 11:40:33 CEST 2012
Thermal 0: ok, 51.5 degrees C

Fri Jun 22 11:40:34 CEST 2012
Thermal 0: ok, 52.5 degrees C

I think the output talks by itself... Do you have any suggestions? Is it acpi or the kernel who reads the wrong temperature?

Thanks a lot
Davide

Offline

#2 2012-06-22 12:45:49

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: Sudden shutdown - overheating or kernel thinks so

52C and 100C is such a large difference that you should be able to tell which is reporting the wrong temp just by observation. Does the comp/heatsink feel mildly warm or is it scorching hot?

Last edited by Pres (2012-06-22 12:46:30)

Offline

#3 2012-06-22 13:57:35

davide
Member
Registered: 2010-12-06
Posts: 18

Re: Sudden shutdown - overheating or kernel thinks so

Pres wrote:

52C and 100C is such a large difference that you should be able to tell which is reporting the wrong temp just by observation. Does the comp/heatsink feel mildly warm or is it scorching hot?

Actually it seemed to me quite hot, but not more than it is now on Ubuntu, so I believe it is still under 100 C.
By the way, is there any chance that there are actually 2 thermal sensors but acpi sees only one?

Offline

#4 2012-06-22 14:10:38

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: Sudden shutdown - overheating or kernel thinks so

Install and set up lm_sensors. You can probably use a module like coretemp to check the core sensors directly instead of going through acpi.

Offline

#5 2012-06-23 08:03:38

davide
Member
Registered: 2010-12-06
Posts: 18

Re: Sudden shutdown - overheating or kernel thinks so

Pres wrote:

Install and set up lm_sensors. You can probably use a module like coretemp to check the core sensors directly instead of going through acpi.

This is sensors output right before the shutdown, something more, but still I can't figure out what is happening.

Sat Jun 23 01:16:41 CEST 2012
# acpi -t
Thermal 0: ok, 57.5 degrees C 
# sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +54.0°C  (high = +95.0°C, crit = +105.0°C)
Core 2:       +58.0°C  (high = +95.0°C, crit = +105.0°C)

acpitz-virtual-0
Adapter: Virtual device
temp1:        +57.5°C  (crit = +100.0°C)

Offline

#6 2012-06-23 15:28:16

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: Sudden shutdown - overheating or kernel thinks so

Looks like you temps are fine. Try playing around with different kernels (linux-lts will work) and acpi to see if you can get a better idea of what's causing it. Looks like a bug somewhere.

This is probably relevant also:
https://bugs.archlinux.org/task/21921

May be some helpful information you can find there.

Offline

#7 2012-06-23 20:10:51

bart_b
Member
Registered: 2012-06-16
Posts: 20

Re: Sudden shutdown - overheating or kernel thinks so

If you are too convinced it is not the hi-temp that is causing this, try adding this to the boot option line in grub

thermal.nocrt=1

this disables actions on _CRT and _HOT ACPI thermal zone trip-points.

WARNING: you risk shortening the lifetime of your
       hardware if you use this parameter on a hot system.
       Note that this refers to all system components,
       including the disk drive.

Offline

#8 2012-06-24 00:16:20

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Sudden shutdown - overheating or kernel thinks so

Did you configure lm_sensors or just install it? I'd expect it to find at least a fan, too...


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#9 2012-06-25 08:21:30

davide
Member
Registered: 2010-12-06
Posts: 18

Re: Sudden shutdown - overheating or kernel thinks so

cfr wrote:

Did you configure lm_sensors or just install it? I'd expect it to find at least a fan, too...

Following the wiki guide, i ran

sensors-detect

then manually started the deamon, then ran sensors and the output was the one I posted.

Offline

#10 2012-06-25 08:24:34

davide
Member
Registered: 2010-12-06
Posts: 18

Re: Sudden shutdown - overheating or kernel thinks so

bart_b wrote:

If you are too convinced it is not the hi-temp that is causing this, try adding this to the boot option line in grub

thermal.nocrt=1

this disables actions on _CRT and _HOT ACPI thermal zone trip-points.

Actually, I don't feel too confident about the actual temperature being low enough, so I'd prefere not to do this until I figure out what actually happens.

Offline

#11 2012-06-25 14:39:44

davide
Member
Registered: 2010-12-06
Posts: 18

Re: Sudden shutdown - overheating or kernel thinks so

I was wondering: can it be laptop-mode-tools screwing things up? So I tried disabling acpid, but I got the same result. Is this enough to disable also lmtools or is any other action needed?

I think I'm running out of ideas...

Thanks again to everybody for the support
Davide

Offline

#12 2012-06-28 22:04:53

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Sudden shutdown - overheating or kernel thinks so

Take laptop-mode out of the DAEMONS line in rc.conf and run rc.d stop laptop-mode?

Does your fan function correctly? I thought sensors should pick it up but maybe that doesn't always work automagically. (I didn't do anything special which is why I thought you just configured lm-senseors and it would show up, but obviously not.)

For comparison:

$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +55.0 C  (crit = +100.0 C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +50.0 C  (high = +86.0 C, crit = +100.0 C)
Core 0:         +49.0 C  (high = +86.0 C, crit = +100.0 C)
Core 1:         +51.0 C  (high = +86.0 C, crit = +100.0 C)

thinkpad-isa-0000
Adapter: ISA adapter
fan1:         566 RPM
temp1:        +54.0 C  
temp2:         +0.0 C  
temp3:        +50.0 C  
temp4:         +5.0 C  
temp5:         +0.0 C  
temp6:         +0.0 C  
temp7:        +30.0 C  
temp8:         +0.0 C 

but before I ran the detection to configure things, I got output similar to yours. So is it possible that there are additional sensors which lm-sensors doesn't recognise which might be registering the temperatures which cause the shut downs? (Regardless of whether things really are too hot or not - I take it that's a further question.)

Last edited by cfr (2012-06-28 22:10:10)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB