thermal thermal_zone4: failed to read out thermal zone (-61)

Bug #1803881 reported by Juno Computers
52
This bug affects 12 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Medium
Ubuntu Kernel Team
thermald (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Thermald can't read zone4. It's making my fan go crazy, this issue seems to be a bit more controlled in 18.10.

Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

sudo apt-cache policy thermald
thermald:
  Installed: 1.7.0-5ubuntu1
  Candidate: 1.7.0-5ubuntu1
  Version table:
 *** 1.7.0-5ubuntu1 500
        500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

cat /sys/class/thermal/thermal_zone4/type
iwlwifi

find /sys/class/thermal/thermal_zone4/ -type f -print -exec cat {} \;
/sys/class/thermal/thermal_zone4/uevent
/sys/class/thermal/thermal_zone4/trip_point_5_temp
-32768000
/sys/class/thermal/thermal_zone4/trip_point_3_type
passive
/sys/class/thermal/thermal_zone4/trip_point_4_temp
-32768000
/sys/class/thermal/thermal_zone4/trip_point_2_type
passive
/sys/class/thermal/thermal_zone4/power/runtime_active_time
0
/sys/class/thermal/thermal_zone4/power/runtime_active_kids
0
/sys/class/thermal/thermal_zone4/power/runtime_usage
0
/sys/class/thermal/thermal_zone4/power/runtime_status
unsupported
/sys/class/thermal/thermal_zone4/power/autosuspend_delay_ms
cat: /sys/class/thermal/thermal_zone4/power/autosuspend_delay_ms: Input/output error
/sys/class/thermal/thermal_zone4/power/async
disabled
/sys/class/thermal/thermal_zone4/power/runtime_suspended_time
0
/sys/class/thermal/thermal_zone4/power/runtime_enabled
disabled
/sys/class/thermal/thermal_zone4/power/control
auto
/sys/class/thermal/thermal_zone4/available_policies
power_allocator user_space bang_bang fair_share step_wise
/sys/class/thermal/thermal_zone4/policy
step_wise
/sys/class/thermal/thermal_zone4/trip_point_3_temp
-32768000
/sys/class/thermal/thermal_zone4/trip_point_1_type
passive
/sys/class/thermal/thermal_zone4/k_d
cat: /sys/class/thermal/thermal_zone4/k_d: Input/output error
/sys/class/thermal/thermal_zone4/sustainable_power
cat: /sys/class/thermal/thermal_zone4/sustainable_power: Input/output error
/sys/class/thermal/thermal_zone4/type
iwlwifi
/sys/class/thermal/thermal_zone4/trip_point_7_type
passive
/sys/class/thermal/thermal_zone4/offset
cat: /sys/class/thermal/thermal_zone4/offset: Input/output error
/sys/class/thermal/thermal_zone4/slope
cat: /sys/class/thermal/thermal_zone4/slope: Input/output error
/sys/class/thermal/thermal_zone4/trip_point_2_temp
-32768000
/sys/class/thermal/thermal_zone4/trip_point_0_type
passive
/sys/class/thermal/thermal_zone4/trip_point_6_type
passive
/sys/class/thermal/thermal_zone4/emul_temp
cat: /sys/class/thermal/thermal_zone4/emul_temp: Permission denied
/sys/class/thermal/thermal_zone4/k_po
cat: /sys/class/thermal/thermal_zone4/k_po: Input/output error
/sys/class/thermal/thermal_zone4/integral_cutoff
cat: /sys/class/thermal/thermal_zone4/integral_cutoff: Input/output error
/sys/class/thermal/thermal_zone4/k_i
cat: /sys/class/thermal/thermal_zone4/k_i: Input/output error
/sys/class/thermal/thermal_zone4/trip_point_1_temp
-32768000
/sys/class/thermal/thermal_zone4/k_pu
cat: /sys/class/thermal/thermal_zone4/k_pu: Input/output error
/sys/class/thermal/thermal_zone4/temp
46000
/sys/class/thermal/thermal_zone4/trip_point_7_temp
-32768000
/sys/class/thermal/thermal_zone4/trip_point_5_type
passive
/sys/class/thermal/thermal_zone4/trip_point_0_temp
-32768000
/sys/class/thermal/thermal_zone4/trip_point_6_temp
-32768000
/sys/class/thermal/thermal_zone4/trip_point_4_type
passive

Tags: bionic cscc
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1803881

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: bionic
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.20 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20-rc3

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Juno Computers (junocomp) wrote :

This issue happens with the stock 4.15 kernel. I have upgraded the kernel to 4.18 and 4.19 and was getting the same issue. I managed to get rid off the error now. It seems it does not like intel_pstate. I added intel_pstate=disable to grub and the error has gone away.

Revision history for this message
Juno Computers (junocomp) wrote :

I also want to add that my pc is the newest Intel NUC8i5BEH. I will try the latest kernel and will report back.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thermald (Ubuntu):
status: New → Confirmed
Revision history for this message
spike speigel (frail-knight) wrote :

i am also seeing this. In my case:

thermal thermal_zone3: failed to read out thermal zone (-61)

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic

$ uname -a
Linux w00t 4.18.0-14-generic #15-Ubuntu SMP Mon Jan 14 09:01:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

$ sudo apt-cache policy thermald
thermald:
  Installed: 1.7.0-8ubuntu1
  Candidate: 1.7.0-8ubuntu1
  Version table:
 *** 1.7.0-8ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu cosmic-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     1.7.0-8 500
        500 http://us.archive.ubuntu.com/ubuntu cosmic/main amd64 Packages

$ cat /sys/class/thermal/thermal_zone3/type
iwlwifi

Revision history for this message
Srinivas Pandruvada (srinivas-pandruvada) wrote :

These are kernel bugs, so better to file in kernel bugzilla.

Revision history for this message
vmc (vmclark) wrote :

Still fails:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Eoan Ermine (development branch)
Release: 19.10
Codename: eoan

===

thermald:
  Installed: 1.8.0-1ubuntu1
  Candidate: 1.8.0-1ubuntu1
  Version table:
 *** 1.8.0-1ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu eoan/main amd64 Packages
        100 /var/lib/dpkg/status

===

5.0.0-20-generic

Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
Sergey Ivanov (icegood1980) wrote :

Still fails
uname -a
Linux ice-ubuntu 5.8.0-32-generic #34-Ubuntu SMP Fri Nov 27 15:10:41 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

ii thermald 2.3-4 amd64 Thermal monitoring and controlling daemon

kernel: [ 4.791536] thermal thermal_zone4: failed to read out thermal zone (-61)

cat /sys/class/thermal/thermal_zone4/type
iwlwifi_1

Changed in thermald (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Colin Ian King (colin-king) wrote :

The issue is in the iwlwifi wireless driver, specifically the error -61 (ENODATA) is being reported by the call to iwl_mvm_tzone_get_temp() in in drivers/net/wireless/intel/iwlwif/mvm/tt.c

Looking at this failure case it could be because there is a mismatch between the expected firmware blob and the actual installed (nor not installed) firmware blob for this driver.

Can you try installing or re-installing the linux-firmware package to see if this helps. You may need to re-boot the machine for this to be activated.

I suggest using:

sudo apt-get install --reinstall linux-firmware

Let us know if this allows one to read cat /sys/class/thermal/thermal_zone4/type
iwlwifi_1

Changed in linux (Ubuntu):
assignee: nobody → Colin Ian King (colin-king)
Changed in linux (Ubuntu):
assignee: Colin Ian King (colin-king) → Ubuntu Kernel Team (ubuntu-kernel-team)
Revision history for this message
Juno Computers (junocomp) wrote :

Hi, I no longer have the laptop in which I used to report the issue. On the other hand the issue shows up on 2 other laptops that I have, the main difference is the thermal number.

I have test cat /sys/class/thermal/thermal_zone(number error)/type and it does say iwlwifi_1.

Using linux-firmware 1.187.17 on Ubuntu 20.04

[ 2.044581] thermal thermal_zone0: failed to read out thermal zone (-61)

Revision history for this message
Mike (michael-ubu-pan) wrote :

I see the same error on HP Elitebook 820 G3 on iwlwifi_1 using linux-firmware 1.187.20 on Ubuntu 20.04

Revision history for this message
Luca-formaggia (luca-formaggia) wrote :

I have the same problem: thermal thermal_zone6: failed to read out thermal zone (-61)

lenovo Thinkpad X1 Carbon 9th Gen
Ubuntu 20.04
Kernel 5.14.0-1032-oem
Firmware 1.187.29

Revision history for this message
Rael Gugelmin Cunha (rael-gc) wrote :

I've seen the same on Ubuntu 22.04.3, kernel 6.5.0-25-generic, desktop AMD 5700G:

[110978.115995] thermal thermal_zone2: failed to read out thermal zone (-61)
[110978.116002] PM: suspend exit

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.