1 |
On 04/12/2014 10:33 PM, Dragostin Yanev wrote: |
2 |
>> Howdy, |
3 |
>> |
4 |
>> I'm running: |
5 |
>> Linux box0 3.12.13-gentoo #2 SMP Sat Mar 29 22:38:01 EET 2014 i686 |
6 |
>> Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux |
7 |
>> |
8 |
>> My '/var/log/rc.log' says: |
9 |
>> * Loading module x86_pkg_temp_thermal ... |
10 |
>> * Failed to load x86_pkg_temp_thermal |
11 |
>> [ !! ] |
12 |
>> |
13 |
>> 'modprobe x86_pkg_temp_thermal' says: |
14 |
>> modprobe: ERROR: could not insert 'x86_pkg_temp_thermal': No such device |
15 |
>> |
16 |
>> 'modinfo x86_pkg_temp_thermal' |
17 |
>> filename: |
18 |
>> /lib/modules/3.12.13-gentoo/kernel/drivers/thermal/x86_pkg_temp_thermal.ko |
19 |
>> license: GPL v2 |
20 |
>> author: Srinivas Pandruvada <srinivas.pandruvada@×××××××××××.com> |
21 |
>> description: X86 PKG TEMP Thermal Driver |
22 |
>> alias: x86cpu:vendor:0000:family:*:model:*:feature:*00E6* |
23 |
>> depends: |
24 |
>> intree: Y |
25 |
>> vermagic: 3.12.13-gentoo SMP mod_unload CORE2 |
26 |
>> parm: notify_delay_ms:User space notification delay in milli |
27 |
>> seconds. (int) |
28 |
>> |
29 |
>> I found 'CONFIG_X86_PKG_TEMP_THERMAL=m' in .config for my current kernel |
30 |
>> only. |
31 |
>> |
32 |
>> Does the output above mean that my CPU doesn't support this feature, and |
33 |
>> as such should be disabled in my kernel config? |
34 |
>> |
35 |
>> Thanks. |
36 |
>> |
37 |
>> |
38 |
> |
39 |
> Hi Alexander Kapshuk, |
40 |
> You probably don't need that module. |
41 |
> Grep your dmesg for therm|thermal. You should see ACPI registering |
42 |
> your thermal zones: |
43 |
> [ 1.424899] thermal LNXTHERM:00: registered as thermal_zone0 |
44 |
> [ 1.424944] ACPI: Thermal Zone [TZS0] (32 C) |
45 |
> |
46 |
> then look for them in: |
47 |
> /sys/class/thermal/ |
48 |
> /sys/bus/acpi/devices/LNXTHERM:00/thermal_zone/temp |
49 |
> |
50 |
> if not check your kernel config for needed options like: |
51 |
> CONFIG_ACPI_THERMAL=y |
52 |
> |
53 |
> Regards, |
54 |
> Dragostin Yanev |
55 |
> |
56 |
Thanks for your prompt response. |
57 |
|
58 |
Here's the output of the commands you suggested running. Seems similar |
59 |
to what you put in your email. |
60 |
|
61 |
grep -i therm dmesg |
62 |
[ 0.003175] CPU0: Thermal monitoring enabled (TM2) |
63 |
[ 1.285152] thermal LNXTHERM:00: registered as thermal_zone0 |
64 |
[ 1.285320] ACPI: Thermal Zone [TZ01] (57 C) |
65 |
|
66 |
ls /sys/class/thermal |
67 |
cooling_device0 cooling_device1 thermal_zone0 |
68 |
|
69 |
cd /sys/class/thermal/thermal_zone0 |
70 |
|
71 |
ls |
72 |
cdev0 device subsystem trip_point_1_temp |
73 |
cdev0_trip_point mode temp trip_point_1_type |
74 |
cdev1 policy trip_point_0_temp type |
75 |
cdev1_trip_point power trip_point_0_type uevent |
76 |
|
77 |
ls -l /sys/bus/acpi/devices/LNXTHERM\:00/thermal_zone/temp |
78 |
-r--r--r-- 1 root root 4096 Apr 13 15:14 |
79 |
/sys/bus/acpi/devices/LNXTHERM:00/thermal_zone/temp |
80 |
|
81 |
grep CONFIG_ACPI_THERMAL /usr/src/linux/.config |
82 |
CONFIG_ACPI_THERMAL=y |
83 |
|
84 |
So I guess I'll go ahead and set CONFIG_X86_PKG_TEMP_THERMAL=n. |
85 |
|
86 |
Thanks. |