On 04/12/2014 10:33 PM, Dragostin Yanev wrote:
Howdy,
I'm running:
Linux box0 3.12.13-gentoo #2 SMP Sat Mar 29 22:38:01 EET 2014 i686
Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux
My '/var/log/rc.log' says:
* Loading module x86_pkg_temp_thermal ...
* Failed to load x86_pkg_temp_thermal
[ !! ]
'modprobe x86_pkg_temp_thermal' says:
modprobe: ERROR: could not insert 'x86_pkg_temp_thermal': No such device
'modinfo x86_pkg_temp_thermal'
filename:
/lib/modules/3.12.13-gentoo/kernel/drivers/thermal/x86_pkg_temp_thermal.ko
license:GPL v2
author: Srinivas Pandruvada srinivas.pandruv...@linux.intel.com
description:X86 PKG TEMP Thermal Driver
alias: x86cpu:vendor::family:*:model:*:feature:*00E6*
depends:
intree: Y
vermagic: 3.12.13-gentoo SMP mod_unload CORE2
parm: notify_delay_ms:User space notification delay in milli
seconds. (int)
I found 'CONFIG_X86_PKG_TEMP_THERMAL=m' in .config for my current kernel
only.
Does the output above mean that my CPU doesn't support this feature, and
as such should be disabled in my kernel config?
Thanks.
Hi Alexander Kapshuk,
You probably don't need that module.
Grep your dmesg for therm|thermal. You should see ACPI registering
your thermal zones:
[1.424899] thermal LNXTHERM:00: registered as thermal_zone0
[1.424944] ACPI: Thermal Zone [TZS0] (32 C)
then look for them in:
/sys/class/thermal/
/sys/bus/acpi/devices/LNXTHERM:00/thermal_zone/temp
if not check your kernel config for needed options like:
CONFIG_ACPI_THERMAL=y
Regards,
Dragostin Yanev
Thanks for your prompt response.
Here's the output of the commands you suggested running. Seems similar
to what you put in your email.
grep -i therm dmesg
[0.003175] CPU0: Thermal monitoring enabled (TM2)
[1.285152] thermal LNXTHERM:00: registered as thermal_zone0
[1.285320] ACPI: Thermal Zone [TZ01] (57 C)
ls /sys/class/thermal
cooling_device0 cooling_device1 thermal_zone0
cd /sys/class/thermal/thermal_zone0
ls
cdev0 device subsystem trip_point_1_temp
cdev0_trip_point mode temp trip_point_1_type
cdev1 policy trip_point_0_temp type
cdev1_trip_point power trip_point_0_type uevent
ls -l /sys/bus/acpi/devices/LNXTHERM\:00/thermal_zone/temp
-r--r--r-- 1 root root 4096 Apr 13 15:14
/sys/bus/acpi/devices/LNXTHERM:00/thermal_zone/temp
grep CONFIG_ACPI_THERMAL /usr/src/linux/.config
CONFIG_ACPI_THERMAL=y
So I guess I'll go ahead and set CONFIG_X86_PKG_TEMP_THERMAL=n.
Thanks.