public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] re: Failed to load x86_pkg_temp_thermal
@ 2014-04-12 15:10 Alexander Kapshuk
  2014-04-12 19:33 ` Dragostin Yanev
  2014-04-14 16:05 ` [gentoo-user] " Stroller
  0 siblings, 2 replies; 5+ messages in thread
From: Alexander Kapshuk @ 2014-04-12 15:10 UTC (permalink / raw
  To: gentoo-user

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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] re: Failed to load x86_pkg_temp_thermal
  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
  2014-04-14 16:05 ` [gentoo-user] " Stroller
  1 sibling, 1 reply; 5+ messages in thread
From: Dragostin Yanev @ 2014-04-12 19:33 UTC (permalink / raw
  To: gentoo-user

> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] re: Failed to load x86_pkg_temp_thermal
  2014-04-12 19:33 ` Dragostin Yanev
@ 2014-04-13 12:29   ` Alexander Kapshuk
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Kapshuk @ 2014-04-13 12:29 UTC (permalink / raw
  To: gentoo-user

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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Failed to load x86_pkg_temp_thermal
  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-14 16:05 ` Stroller
  2014-04-14 16:22   ` Alexander Kapshuk
  1 sibling, 1 reply; 5+ messages in thread
From: Stroller @ 2014-04-14 16:05 UTC (permalink / raw
  To: gentoo-user


On Sat, 12 April 2014, at 4:10 pm, Alexander Kapshuk <alexander.kapshuk@gmail.com> wrote:
> ...
> 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

I don't think the kernel should be attempting *itself* to load this module if it doesn't detect said hardware.

Is it possible this is mentioned in /etc/modprobe.d/ or somewhere?

I'd grep /etc before recompiling my kernel, on this one.

Stroller.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Failed to load x86_pkg_temp_thermal
  2014-04-14 16:05 ` [gentoo-user] " Stroller
@ 2014-04-14 16:22   ` Alexander Kapshuk
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Kapshuk @ 2014-04-14 16:22 UTC (permalink / raw
  To: gentoo-user

On 04/14/2014 07:05 PM, Stroller wrote:
> On Sat, 12 April 2014, at 4:10 pm, Alexander Kapshuk <alexander.kapshuk@gmail.com> wrote:
>> ...
>> 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
> I don't think the kernel should be attempting *itself* to load this module if it doesn't detect said hardware.
>
> Is it possible this is mentioned in /etc/modprobe.d/ or somewhere?
>
> I'd grep /etc before recompiling my kernel, on this one.
>
> Stroller.
>
>
Thanks for your input.

x86_pkg_temp_thermal is not found either in filenames, nor in the files
themselves residing in /etc.

I've set CONFIG_X86_PKG_TEMP_THERMAL to 'n' in my kernel config file,
and recompiled the kernel.

Everything seems OK so far.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-14 16:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2014-04-14 16:05 ` [gentoo-user] " Stroller
2014-04-14 16:22   ` Alexander Kapshuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox