/proc/acpi/thermal_zone contains wrong temperature

Bug #563013 reported by Ralf Hildebrandt
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
New
Undecided
Unassigned
landscape-client (Ubuntu)
Invalid
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

Binary package hint: landscape-client

# /usr/bin/landscape-sysinfo
  System load: 3.75 Swap usage: 0% Users logged in: 1
  Usage of /: 45.3% of 13.75GB Temperature: 8 C
  Memory usage: 31% Processes: 173

  Graph this data and manage this system at https://landscape.canonical.com/

This temperature reading is a bit off.
The server is in an air conditioned rack, which is kept at 20 degrees centigrade.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: landscape-common 1.5.0-0ubuntu0.10.04.0
ProcVersionSignature: Ubuntu 2.6.32-20.30-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-20-generic-pae i686
Architecture: i386
Date: Wed Apr 14 14:51:59 2010
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: landscape-client

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :
Revision history for this message
Thomas Herve (therve) wrote :

Thanks for the report! Can you check the value of /proc/acpi/thermal_zone/THRM/temperature on your machine?

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

# cat /proc/acpi/thermal_zone/THRM/temperature
cat: /proc/acpi/thermal_zone/THRM/temperature: No such file or directory

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

# find /proc/acpi/thermal_zone/
/proc/acpi/thermal_zone/
/proc/acpi/thermal_zone/THM0
/proc/acpi/thermal_zone/THM0/polling_frequency
/proc/acpi/thermal_zone/THM0/cooling_mode
/proc/acpi/thermal_zone/THM0/trip_points
/proc/acpi/thermal_zone/THM0/temperature
/proc/acpi/thermal_zone/THM0/state

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

# cat /proc/acpi/thermal_zone/THM0/temperature
temperature: 8 C

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

# find /proc/acpi/thermal_zone -type f |xargs cat
<polling disabled>
0 - Active; 1 - Passive
critical (S5): 31 C
passive: 10 C: tc1=4 tc2=4 tsp=60 devices=CPU0
temperature: 8 C
state: ok

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

# find /proc/acpi/thermal_zone -type f |xargs cat
polling frequency: 1 seconds
0 - Active; 1 - Passive
critical (S5): 31 C
passive: 10 C: tc1=4 tc2=4 tsp=60 devices=CPU0
temperature: 8 C
state: ok

# find /proc/acpi/thermal_zone -type f |xargs cat
polling frequency: 1 seconds
0 - Active; 1 - Passive
critical (S5): 31 C
passive: 10 C: tc1=4 tc2=4 tsp=60 devices=CPU0
temperature: 8 C
state: ok

Revision history for this message
Thomas Herve (therve) wrote :

So I guess this a bug somewhere in ACPI? Maybe a problem with your hardware?

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

Well, that could be (ACPI). It's a HP ProLiant DL360 G4p

Thomas Herve (therve)
Changed in landscape-client (Ubuntu):
status: New → Invalid
summary: - landscape-sysinfo displays wrong temperature
+ /proc/acpi/thermal_zone contains wrong temperature
Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

Well, you could reassign it to the kernel package :(

Revision history for this message
Thomas Herve (therve) wrote :

It's what I did, no? I guess I put it in the project instead of the package?

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Ralf,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

According to the mapping table kernel.ubuntu.com/~kernel-ppa/info/kernel-version-map.html my installed kernel
2.6.32-21.32 corresponds to 2.6.32.11+drm33.2

kernel.ubuntu.com/~kernel-ppa/mainline/ only lists:

 v2.6.32.11-karmic/ 02-Apr-2010 11:45 -
 v2.6.32.11-lucid/ 12-Apr-2010 15:08 -

so I'm going for v2.6.32.11-lucid...

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

root@proxy-cbf-2:~# uname -a
Linux proxy-cbf-2 2.6.32-02063211-generic #02063211 SMP Mon Apr 12 13:06:17 UTC 2010 i686 GNU/Linux
root@proxy-cbf-2:~# find /proc/acpi/thermal_zone -type f |xargs cat
<polling disabled>
0 - Active; 1 - Passive
critical (S5): 31 C
passive: 10 C: tc1=4 tc2=4 tsp=60 devices=CPU0
temperature: 8 C
state: ok

tags: removed: needs-upstream-testing
Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

Reactivated polling, same result:

root@proxy-cbf-2:~# echo 1 > /proc/acpi/thermal_zone/THM0/polling_frequency
root@proxy-cbf-2:~# sleep 2
root@proxy-cbf-2:~# find /proc/acpi/thermal_zone -type f |xargs cat
polling frequency: 1 seconds
0 - Active; 1 - Passive
critical (S5): 31 C
passive: 10 C: tc1=4 tc2=4 tsp=60 devices=CPU0
temperature: 8 C
state: ok

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

Why is this still considered incomplete? I did all you asked me to.

tags: added: kernel-acpi
tags: added: kernel-needs-review
Changed in linux (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Medium
Revision history for this message
Stefan Bader (smb) wrote :

This sounds to me rather like a (ACPI) BIOS problem. The first thing to try would be a newer BIOS (if available). Adding the file created with "sudo acpidump -o acpidump.txt" could help people to see the reason.

tags: added: kernel-reviewed
removed: kernel-needs-review
Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

"acpidump -o acpidump.txt" gives the attached file...

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

I even tried updating the bios with a recent patch cd from HP, no change

Revision history for this message
Grant Slater (firefishy) wrote :

HP ProLiant DL380 G4 (BIOS: P51 07/19/2007 - latest) has the same issue.

$ find /proc/acpi/thermal_zone -type f |xargs cat
polling frequency: 1 seconds
0 - Active; 1 - Passive
critical (S5): 31 C
passive: 10 C: tc1=4 tc2=4 tsp=60 devices=CPU0
temperature: 8 C
state: ok

$ sudo hpasmcli -s "show temp"

Sensor Location Temp Threshold
------ -------- ---- ---------
#1 PROCESSOR_ZONE 44C/111F 62C/143F
#2 CPU#1 49C/120F 87C/188F
#3 I/O_ZONE 38C/100F 60C/140F
#4 CPU#2 46C/114F 87C/188F
#5 POWER_SUPPLY_BAY 34C/93F 53C/127F

Revision history for this message
penalvch (penalvch) wrote :

Ralf Hildebrandt, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily kernel folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11.1

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

In the most recent Ubuntu release, there's no /proc/acpi/thermal_zone anymore.

root@proxy-cbf-2:~# find /proc/acpi/
/proc/acpi/
/proc/acpi/battery
/proc/acpi/ac_adapter
/proc/acpi/event
/proc/acpi/wakeup

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

Also, landscape-sysinfo doesn't repaort any temperature any more:

# /usr/bin/landscape-sysinfo
  System load: 2.72 Processes: 212
  Usage of /: 61.0% of 13.75GB Users logged in: 1
  Memory usage: 38% IP address for eth0: 141.42.1.203
  Swap usage: 0% IP address for eth1: 193.175.73.207

  Graph this data and manage this system at https://landscape.canonical.com/

penalvch (penalvch)
tags: added: needs-apport-collect needs-upstream-testing regression-potential
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.