Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1176 - thermal thermal_zone0: failed to read out thermal zone (-110) #6121

Closed
openwrt-bot opened this issue Nov 18, 2017 · 2 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

t0mtaylor:

Supply the following if possible:

Error regarding thermal within kernel log: 56757.023342] thermal thermal_zone0: failed to read out thermal zone (-110)

Appears this issue had a patch supplied in 2015? https://patchwork.kernel.org/patch/5978221/

On Tue, Mar 10, 2015 at 04:06:46PM +0100, Hans de Goede wrote:

Some temperature sensors only get updated every few seconds and while
waiting for the first irq reporting a (new) temperature to happen there
get_temp operand will return -EAGAIN as it does not have any data to report
yet.

Not logging an error in this case avoids messages like these from showing
up in dmesg on affected systems:

[ 1.219353] thermal thermal_zone0: failed to read out thermal zone 0
[ 2.015433] thermal thermal_zone0: failed to read out thermal zone 0
[ 2.416737] thermal thermal_zone0: failed to read out thermal zone 0

Signed-off-by: Hans de Goede hdegoede@redhat.com

@openwrt-bot
Copy link
Author

yousong:

Several days ago when trying out archlinuxarm on qemu cubieboard (a sunxi board), I encountered the same error. It's expected because maybe the feature was just not emulated, but I can disable it by tinkering with sysfs settings. Hope this helps for now

echo disabled >/sys/class/thermal/thermal_zone0/mode

As for the patch you referred to, it's not relevant here. v2 of it was already in mainline since v4.0. Errno -100 is ETIMEDOUT, not EAGAIN.

In case anyone is also interested in the archlinuxarm on qemu cubieboard experience, here is the link: https://github.com/yousong/gists/blob/master/qemu/cubieboard/qemu-cb

@ynezz
Copy link
Member

ynezz commented Mar 7, 2022

Likely fixed.

@ynezz ynezz closed this as completed Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants