After kernel update, procfs thermal zone works at boot, then starts reading 0 degrees
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I recently compiled the 2.6.30.2 kernel to upgrade from my 2.6.20.7 install, since I needed to add support for a new network card and decided to use the latest stable release.
I'm having a problem that I don't really understand though -- initially after booting, the /proc/sys/acpi/thermal_zone/THRM/temperature file works properly (as it did in my prior kernel), but after several reads from the file entry it starts saying 0 C. It then appears to not work again until I reboot, but the problem is intermittent enough that I'm not confident guaranteeing it requires a reboot to work again at all (haven't tried reading it again several hours later, for example.)
I don't see how it can work, then stop working if I properly compiled in support for my hardware...? Worked off of my old kernel's config, but had to alter a few things to get around some compilation errors (removed configuration options I assumed.) Anyone help me both understand & fix this? For reference, booting my old kernel has it working as well as ever, so I don't think it's a hardware problem.
I'm using an Abit KN8 Ultra motherboard and the base distro is Slackware 10.2 (originally, at least.) This is a desktop system and isn't in any danger of overheating, but I still like being able to read my hardware sensors even if it's unnecessary... any pointers in the right direction would be appreciated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.