public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexander Kapshuk <alexander.kapshuk@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] re: Failed to load x86_pkg_temp_thermal
Date: Sun, 13 Apr 2014 15:29:35 +0300	[thread overview]
Message-ID: <534A832F.8020001@gmail.com> (raw)
In-Reply-To: <20140412223352.60c6aab1@gacer.netixen.com>

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.pandruvada@linux.intel.com>
>> description:    X86 PKG TEMP Thermal Driver
>> alias:          x86cpu:vendor:0000: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.



  reply	other threads:[~2014-04-13 12:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-12 15:10 [gentoo-user] re: Failed to load x86_pkg_temp_thermal Alexander Kapshuk
2014-04-12 19:33 ` Dragostin Yanev
2014-04-13 12:29   ` Alexander Kapshuk [this message]
2014-04-14 16:05 ` [gentoo-user] " Stroller
2014-04-14 16:22   ` Alexander Kapshuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=534A832F.8020001@gmail.com \
    --to=alexander.kapshuk@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox