public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Strange entries in /proc/acpi/thermal_zone for Thinkpad X60
@ 2006-10-12 22:19 Jeremy Fitzhardinge
  2006-10-13  4:53 ` Len Brown
  2006-10-13 14:44 ` Pavel Machek
  0 siblings, 2 replies; 6+ messages in thread
From: Jeremy Fitzhardinge @ 2006-10-12 22:19 UTC (permalink / raw)
  To: Brown, Len, Pallipadi, Venkatesh
  Cc: acpi-devel, cpufreq, Linux Kernel Mailing List

I have a Thinkpad X60 with an Intel Core Duo T2400.  In 
/proc/acpi/thermal_zone, I'm getting two subdirectories, each with their 
own set of files:

/proc/acpi/thermal_zone/THM0/cooling_mode:
<setting not supported>
cooling mode:   critical

/proc/acpi/thermal_zone/THM0/polling_frequency:
<polling disabled>

/proc/acpi/thermal_zone/THM0/state:
state:                   ok

/proc/acpi/thermal_zone/THM0/temperature:
temperature:             53 C

/proc/acpi/thermal_zone/THM0/trip_points:
critical (S5):           127 C


/proc/acpi/thermal_zone/THM1/cooling_mode:
<setting not supported>
cooling mode:   passive

/proc/acpi/thermal_zone/THM1/polling_frequency:
<polling disabled>

/proc/acpi/thermal_zone/THM1/state:
state:                   ok

/proc/acpi/thermal_zone/THM1/temperature:
temperature:             53 C

/proc/acpi/thermal_zone/THM1/trip_points:
critical (S5):           97 C
passive:                 93 C: tc1=5 tc2=4 tsp=600 devices=0xf7eaa264 0xf7eaa244 


The interesting thing is that the two sets of files are not consistent - 
sometimes they don't even show the same temperature.

The reason I'm interested in this is that I think it's behind some of my 
cpufreq problems.  Sometimes the kernel decides that I just can't raise 
the max frequency above 1GHz, because its been thermally limited (I've 
put printks in to confirm that its the ACPI thermal limit on the policy 
notifier chain which is limiting the max speed).  It seems to me that 
having a thermal zone for each core is a BIOS bug, since they're really 
the same chip, but the THM1 entries should be ignored.  I don't believe 
the CPU has ever approached either 97 C, let alone 127; while I put it 
under a fair amount of load, it is sitting on a desktop with no airflow 
obstructions, so if it really is overheating it suggests a serious 
design problem with the hardware.

But I'm just speculating; I'm not really sure what all this means.  Any 
clues?

Thanks,
    J

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

end of thread, other threads:[~2006-10-13 18:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fa.P/oAhFV0AVrh8PKSKzP+xVGih2s@ifi.uio.no>
2006-10-13  3:57 ` Strange entries in /proc/acpi/thermal_zone for Thinkpad X60 Robert Hancock
2006-10-13  4:28   ` Jeremy Fitzhardinge
2006-10-13 18:10     ` Tomasz Torcz
2006-10-12 22:19 Jeremy Fitzhardinge
2006-10-13  4:53 ` Len Brown
2006-10-13 14:44 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox