All of lore.kernel.org
 help / color / mirror / Atom feed
* acpi thermal sensors not working, laptop overheating
@ 2008-06-13 11:07 Luke Sharkey
  2008-06-13 11:19 ` Matthew Garrett
  0 siblings, 1 reply; 3+ messages in thread
From: Luke Sharkey @ 2008-06-13 11:07 UTC (permalink / raw)
  To: linux-acpi


Hi

I've been having problems with thermal regulation on my laptop.  Having skimmed through a few past posts I appreciate that this is a pretty high level mailing list so if I make repeated displays of my ignorance (or if I'm on the wrong list altogether) please forgive me.

--PREAMBLE--
I have a hp pavilion dv5000 series laptop with an AMD turion 64 "ML-32" processor (64 bit) on which I am running ubuntu 8.04.  I have only recently replaced my hard drive *after only two years* when it failed.  I transcoded a large number of dvds in the first month after purchase, and experienced weird problems due to overheating - Win XP / linux wouldn't boot / with lots of errors, colourled lines appeared down the side of my screen, linux installations ever since then started corrupting every few months, finally my hard drive failed...

I think this may be because of heat damage?  I had had both lm-sensors and hddtemp installed before, but I never really knew what the output values meant, until when I got the new hdd I randomly installed the gnome panel sensors applet, and got a bit worried by the red bars and repeated warning messages.


--PROBLEM--
Hddtemp seems normal - 20C when I first switch on, levels out at 40C after an hour or two.
However, after 20mins or so lm-sensors reports a gradual climb in Core0 temperature, which is recieving input from k8temp module, which I read on their freshmeat page records the SOCKET / ON-DIE temperature.  Somebody told me that this refers to the temperature of the outside housing of the CPU, and that therefore the actual CPU temp is much higher!!

Example sensors output:
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:  +54.0°C                                    

Unfortunately I am getting no recording of the internal core temperature - which I am worried must be far too high! I am very concerned about this - on a limited budget relatively I found the new hdd expensive to my means.

When I do this command I get the following:
cat /proc/acpi/thermal_zone/THRM/* 



state:                   ok
temperature:             0 C
critical (S5):           94 C
passive:                 90 C: tc1=2 tc2=5 tsp=50 devices=CPU0 




state:                   ok
temperature:             0 C
critical (S5):           94 C
passive:                 90 C: tc1=2 tc2=5 tsp=50 devices=CPU0 

From the Core0 / on-die temp I am worried that my CPU temp might be very high, but for some reason it is not being recorded?!?  (Why is a state of 0C considered "ok"?  Surely this should trigger an error message that *clearly* the temperature sensor must not be working?)

My fan is working, I hear it occasionally when the temperature spikes, but it must be set in the bios to not be active enough - again, on-die / core0 temp is 55C - very hot! - and the fan is hardly on at all!  The phoenix bios is rubbish - there are hardly any settings to be changed at all.  When I try running e.g. a 3D game, the core0 / on-die temp can rise to above 70C...!!!  As a temporary measure I have set my cpu frequency governor to powersave, which generally keeps core0 to below 60C.

I also read somewhere that the fan can be manually controlled by passing values to files in /proc/acpi/fan , but unfortunately this folder is completely empty.
With regards to the fan I was informed that it might need cleaning, and I intend to do this.  However, this can't be the sole cause of the problem as I've been having temperature problems with this laptop since the day I bought it (see preamble above).  If it was only the fan getting clogged, then logically it would have been a progressive problem as the fan became dirtier...

Why is acpi not recording my cpu temperature?  How can I get my fans to be more proactive and so avoid wrecking my hardware a second time?  Thanks

My kernel version is 2.6.24-18-generic (64 bit).  What I've written is basically the limits of my knowledge, and I'm no linux guru, so if I've omitted anything my apologies


Cheers,
Luke S

end

_________________________________________________________________

All new Live Search at Live.com

http://clk.atdmt.com/UKM/go/msnnkmgl0010000006ukm/direct/01/--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: acpi thermal sensors not working, laptop overheating
  2008-06-13 11:07 acpi thermal sensors not working, laptop overheating Luke Sharkey
@ 2008-06-13 11:19 ` Matthew Garrett
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Garrett @ 2008-06-13 11:19 UTC (permalink / raw)
  To: Luke Sharkey; +Cc: linux-acpi

On Fri, Jun 13, 2008 at 12:07:45PM +0100, Luke Sharkey wrote:

> Example sensors output:
> k8temp-pci-00c3
> Adapter: PCI adapter
> Core0 Temp:  +54.0°C                                    

54 degrees is fine.

> state:                   ok
> temperature:             0 C
> critical (S5):           94 C
> passive:                 90 C: tc1=2 tc2=5 tsp=50 devices=CPU0 

Can you attach the output of the acpidump command? The BIOS is 
presumably reading the temperature without any trouble, given the fan 
behaviour, so it would be nice to check why Linux isn't picking it up. 
Do you get the same readings if you don't load the k8temp module? Also, 
make sure no other sensors modules are loaded. They can potentially 
interfere with ACPI.

-- 
Matthew Garrett | mjg59@srcf.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: acpi thermal sensors not working, laptop overheating
@ 2008-06-13 19:58 Luke Sharkey
  0 siblings, 0 replies; 3+ messages in thread
From: Luke Sharkey @ 2008-06-13 19:58 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: linux-acpi

[-- Attachment #1: Type: text/plain, Size: 6747 bytes --]


Hi

>> Example sensors output:
>> k8temp-pci-00c3
>> Adapter: PCI adapter
>> Core0 Temp: +54.0°C
>
> 54 degrees is fine.

It would be if that was the highest it went...!

I put that up as an example of the temperature I'm getting with the max cpu frequency set to less than half speed *and* without any cpu load!!  Even browsing flash web pages at normal cpu frequency ranges can make it shoot up to 60 C.  If I try running a 3D game the on-die temp can go above 70 C, some outputs I recorded:

Adapter: PCI adapter Core0 Temp: +68.0°C
Adapter: PCI adapter Core0 Temp: +69.0°C
Adapter: PCI adapter Core0 Temp: +69.0°C
Adapter: PCI adapter Core0 Temp: +68.0°C
Adapter: PCI adapter Core0 Temp: +69.0°C
Adapter: PCI adapter Core0 Temp: +70.0°C
Adapter: PCI adapter Core0 Temp: +69.0°C

If I try unloading k8temp I get no sensor readings at all (except hddtemp).  None other are running to the best of my knowledge - see lsmod output below.  As the owner of a valid XP licence I tried booting into windows to see if had the same problem.

I ran swiftfan (popular windows sensor utility) it only detected the core and the hdd temp there too - no detection of an internal CPU temperature on windows either!!!  Surely there must be a sensor - how else would the BIOS control the fan?

Incidentally, the problem was just as on windows too, except because the user has no control over cpu frequency core0 temperature was hovering around ~63 C...

I think there's a 100,000 character limit on this list?  I've attached acpidump output as requested, as a .tar.gz .

Cheers,
Luke

LSMOD

Module                  Size  Used by
k8temp                  7680  0
ipv6                  311720  8
binfmt_misc            14860  1
af_packet              27272  2
rfkill_input            6528  0
powernow_k8            16608  0
cpufreq_stats           8416  0
cpufreq_powersave       3200  0
cpufreq_conservative    10632  0
cpufreq_userspace       6180  0
cpufreq_ondemand       11152  1
freq_table              6464  3 powernow_k8,cpufreq_stats,cpufreq_ondemand
sbs                    17808  0
sbshc                   8960  1 sbs
container               6656  0
dock                   12960  0
aes_x86_64             26920  0
dm_crypt               16776  0
dm_mod                 71160  1 dm_crypt
sbp2                   27272  0
parport_pc             41128  0
lp                     14916  0
parport                44300  2 parport_pc,lp
joydev                 15488  0
pcmcia                 45976  0
snd_atiixp             24340  3
snd_ac97_codec        123224  1 snd_atiixp
ac97_bus                3840  1 snd_ac97_codec
snd_pcm_oss            47648  0
snd_pcm                92168  3 snd_atiixp,snd_ac97_codec,snd_pcm_oss
snd_mixer_oss          20224  1 snd_pcm_oss
snd_seq_dummy           5764  0
arc4                    3456  2
ecb                     5248  2
blkcipher               9476  1 ecb
snd_seq_oss            38912  0
snd_seq_midi           10688  0
snd_rawmidi            29856  1 snd_seq_midi
snd_seq_midi_event     10112  2 snd_seq_oss,snd_seq_midi
b43                   126760  0
evdev                  14976  8
snd_seq                63232  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
serio_raw               9092  0
rfkill                 10128  3 rfkill_input,b43
snd_timer              27912  2 snd_pcm,snd_seq
snd_seq_device         10644  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
mac80211              192532  1 b43
psmouse                46236  0
cfg80211               17680  1 mac80211
snd                    70856  17 snd_atiixp,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
led_class               7176  1 b43
hsfmc97ati             83744  0
hsfserial              28068  1 hsfmc97ati
pcspkr                  4992  0
soundcore              10400  1 snd
input_polldev           6928  1 b43
hsfengine            1608472  2 hsfmc97ati,hsfserial
snd_page_alloc         13200  2 snd_atiixp,snd_pcm
sdhci                  21508  0
hsfosspec             122384  4 hsfmc97ati,hsfserial,hsfengine
hsfsoar               108408  1 hsfmc97ati
tifm_7xx1               9984  0
mmc_core               59272  1 sdhci
tifm_core              13064  1 tifm_7xx1
yenta_socket           30092  1
rsrc_nonstatic         14080  1 yenta_socket
pcmcia_core            46116  3 pcmcia,yenta_socket,rsrc_nonstatic
video                  23444  0
output                  5632  1 video
battery                16776  0
fglrx                1804800  26
ac                      8328  0
wmi_acer               11076  0
button                 10912  0
i2c_piix4              11148  0
i2c_core               28544  1 i2c_piix4
shpchp                 38172  0
pci_hotplug            34608  1 shpchp
xt_tcpudp               4992  14
xt_limit                4608  2
nf_conntrack_ipv4      21904  17
xt_state                4096  17
ipt_LOG                 8192  2
ipt_REJECT              6528  2
nf_conntrack_ftp       11688  0
nf_conntrack           79216  3 nf_conntrack_ipv4,xt_state,nf_conntrack_ftp
iptable_filter          4608  1
ip_tables              24104  1 iptable_filter
x_tables               23560  6 xt_tcpudp,xt_limit,xt_state,ipt_LOG,ipt_REJECT,ip_tables
ext3                  149264  1
jbd                    57000  1 ext3
mbcache                11392  1 ext3
ide_cd                 35488  0
cdrom                  41512  1 ide_cd
ide_disk               19072  4
pata_atiixp            10496  0
ata_generic             9988  0
8139too                31104  0
pata_acpi               9856  0
libata                176304  3 pata_atiixp,ata_generic,pata_acpi
scsi_mod              178488  2 sbp2,libata
8139cp                 27776  0
mii                     7552  2 8139too,8139cp
ohci1394               36532  0
ieee1394              106968  2 sbp2,ohci1394
ssb                    37252  1 b43
atiixp                  6672  0 [permanent]
ide_core              136600  3 ide_cd,ide_disk,atiixp
ehci_hcd               41996  0
ohci_hcd               27524  0
usbcore               169904  4 hsfosspec,ehci_hcd,ohci_hcd
thermal                19744  0
processor              41448  3 powernow_k8,thermal
fan                     6792  0
fbcon                  46336  0
tileblit                4096  1 fbcon
font                   10112  1 fbcon
bitblit                 7424  1 fbcon
softcursor              3712  1 bitblit
fuse                   56112  5



_________________________________________________________________

http://clk.atdmt.com/UKM/go/msnnkmgl0010000002ukm/direct/01/

[-- Attachment #2: acpidump.txt.tar.gz --]
[-- Type: application/x-gzip, Size: 43096 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-13 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13 11:07 acpi thermal sensors not working, laptop overheating Luke Sharkey
2008-06-13 11:19 ` Matthew Garrett
  -- strict thread matches above, loose matches on Subject: below --
2008-06-13 19:58 Luke Sharkey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.