Dear all,
The cpufreq modules have been distributed in Centos. But recently, I met a problem when I tried to test the power-related applications. The module can not be modprobed in kernel notwithstanding releated with Centos distribution.
The messgae thrown out is:
------------- dump of screen ------------
# modprobe p4-clockmod.ko FATAL: Module p4_clockmod.ko not found
--------------------------------------------------
However, the module is there. If I search the kernel path:
------------------ dump of screen ----------------------
# ls /lib/modules/`uname -r`/kernel/arch/*/kernel/cpu/cpufreq acpi-cpufreq.ko
# find /lib/modules/ -name "*cpufreq*" /lib/modules/2.6.18-92.el5/kernel/drivers/cpufreq /lib/modules/2.6.18-92.el5/kernel/drivers/cpufreq/cpufreq_powersave.ko /lib/modules/2.6.18-92.el5/kernel/drivers/cpufreq/cpufreq_ondemand.ko /lib/modules/2.6.18-92.el5/kernel/drivers/cpufreq/cpufreq_conservative.ko /lib/modules/2.6.18-92.el5/kernel/drivers/cpufreq/cpufreq_stats.ko /lib/modules/2.6.18-92.el5/kernel/arch/x86_64/kernel/cpufreq /lib/modules/2.6.18-92.el5/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko /lib/modules/2.6.29.3/kernel/drivers/cpufreq /lib/modules/2.6.29.3/kernel/drivers/cpufreq/cpufreq_powersave.ko /lib/modules/2.6.29.3/kernel/drivers/cpufreq/cpufreq_ondemand.ko /lib/modules/2.6.29.3/kernel/drivers/cpufreq/cpufreq_conservative.ko /lib/modules/2.6.29.3/kernel/drivers/cpufreq/cpufreq_stats.ko /lib/modules/2.6.29.3/kernel/arch/x86/kernel/cpu/cpufreq /lib/modules/2.6.29.3/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko
# cat /etc/issue CentOS release 5.2 (Final) Kernel \r on an \m
# uname -a Linux hdt0.mycompany.com 2.6.29.3 #1 SMP Thu May 28 13:34:23 CST 2009 x86_64 x86_64 x86_64 GNU/Linux
------------------------------------------------------------------
I have googled the internet for a long time, but not got any solution.
Could anybody given me some help?
Thanks,
Ian
Ian jonhson wrote:
Dear all,
The cpufreq modules have been distributed in Centos. But recently, I met a problem when I tried to test the power-related applications. The module can not be modprobed in kernel notwithstanding releated with Centos distribution.
The messgae thrown out is:
------------- dump of screen ------------
# modprobe p4-clockmod.ko FATAL: Module p4_clockmod.ko not found
odd that you modprobe'd p4-clockmod but it complained that p4_clockmod is missing...
or is this a typo in your post?
------------- dump of screen ------------
# modprobe p4-clockmod.ko FATAL: Module p4_clockmod.ko not found
odd that you modprobe'd p4-clockmod but it complained that p4_clockmod is missing...
or is this a typo in your post?
oh...typo (copy wrong messgae). I already tested the p4-clockmod.ko just now. both is outputted same message: (do again)
------------- dump of screen ------------
# modprobe acpi-cpufreq.ko FATAL: Module acpi-cpufreq.ko not found
# modprobe p4-clockmod.ko FATAL: Module p4_clockmod.ko not found
--------------------------------------------------
I first tried the acpi-cpufreq.ko because the module is recommended by kernel 2.6.20+. After not effect, I also tried the p4-clockmod.ko since my machine is intel processor:
-------------------- dump of screen ------------------ # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz stepping : 13 cpu MHz : 2194.384 cache size : 1024 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm bogomips : 4388.76 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:
processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz stepping : 13 cpu MHz : 2194.384 cache size : 1024 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm bogomips : 4388.78 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:
---------------------------------------------------------------
And, I grep the "est" in /proc/cpuinfo, and it is there. so, the cpu hardware should have opened the support.
And help?
Ian
On Sat, 2009-08-01 at 23:43 -0700, John R Pierce wrote:
Ian jonhson wrote:
Dear all,
The cpufreq modules have been distributed in Centos. But recently, I met a problem when I tried to test the power-related applications. The module can not be modprobed in kernel notwithstanding releated with Centos distribution.
The messgae thrown out is:
------------- dump of screen ------------
# modprobe p4-clockmod.ko FATAL: Module p4_clockmod.ko not found
odd that you modprobe'd p4-clockmod but it complained that p4_clockmod is missing...
or is this a typo in your post?
--- No i do not think it is a typo because I get the same exact error that it is missing where as it was available 2 kernels ago?
File Bug Report?>
John
No i do not think it is a typo because I get the same exact error that it is missing where as it was available 2 kernels ago?
Do you mean modprobe can not find the proper module file when it faces two and more kernels in same machine? I think this would not happen.
File Bug Report?>
where can I find the fire bug report?
Best,
Ian
Ian jonhson wrote:
Dear all,
The cpufreq modules have been distributed in Centos. But recently, I met a problem when I tried to test the power-related applications. The module can not be modprobed in kernel notwithstanding releated with Centos distribution.
The messgae thrown out is:
------------- dump of screen ------------
# modprobe p4-clockmod.ko FATAL: Module p4_clockmod.ko not found
You have to write:
# modprobe p4-clockmod
It means no "ko" extension.
However, the module is there. If I search the kernel path:
------------------ dump of screen ----------------------
# ls /lib/modules/`uname -r`/kernel/arch/*/kernel/cpu/cpufreq acpi-cpufreq.ko
# find /lib/modules/ -name "*cpufreq*" /lib/modules/2.6.18-92.el5/kernel/drivers/cpufreq /lib/modules/2.6.18-92.el5/kernel/drivers/cpufreq/cpufreq_powersave.ko /lib/modules/2.6.18-92.el5/kernel/drivers/cpufreq/cpufreq_ondemand.ko /lib/modules/2.6.18-92.el5/kernel/drivers/cpufreq/cpufreq_conservative.ko /lib/modules/2.6.18-92.el5/kernel/drivers/cpufreq/cpufreq_stats.ko /lib/modules/2.6.18-92.el5/kernel/arch/x86_64/kernel/cpufreq /lib/modules/2.6.18-92.el5/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko /lib/modules/2.6.29.3/kernel/drivers/cpufreq /lib/modules/2.6.29.3/kernel/drivers/cpufreq/cpufreq_powersave.ko /lib/modules/2.6.29.3/kernel/drivers/cpufreq/cpufreq_ondemand.ko /lib/modules/2.6.29.3/kernel/drivers/cpufreq/cpufreq_conservative.ko /lib/modules/2.6.29.3/kernel/drivers/cpufreq/cpufreq_stats.ko /lib/modules/2.6.29.3/kernel/arch/x86/kernel/cpu/cpufreq /lib/modules/2.6.29.3/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko
# cat /etc/issue CentOS release 5.2 (Final) Kernel \r on an \m
# uname -a Linux hdt0.mycompany.com 2.6.29.3 #1 SMP Thu May 28 13:34:23 CST 2009 x86_64 x86_64 x86_64 GNU/Linux
I have googled the internet for a long time, but not got any solution.
Could anybody given me some help?
Thanks,
Ian _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
You have to write:
# modprobe p4-clockmod
It means no "ko" extension.
Same result.
The p4-clockmod is not in /lib/modules/2.6.29.3/kernel/arch/x86/kernel/cpu/cpufreq/.
But I tried the acpi-cpufreq.ko and got the same result.
-------------- dump of screen ----------------
# ls /lib/modules/`uname -r`/kernel/arch/*/kernel/cpu/cpufreq acpi-cpufreq.ko
# modprobe acpi-cpufreq FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.29.3/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device
-------------------------------------------------------
Any help?
Thanks,
Ian
Ian jonhson wrote:
# modprobe acpi-cpufreq FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.29.3/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device
That error tells me most likely your hardware is not compatible with the driver, check 'dmesg' for any messages the driver might of generated when it was loading.
What CPU are you using? I get the same message on this system I am on, a really old dual xeon single core system. p4-clockmod loads though if I recall right even though you can adjust the clock speed the power usage won't be impacted because the voltage won't change, at least on this class of processor.
nate
On Sun, Aug 2, 2009 at 11:49 PM, natecentos@linuxpowered.net wrote:
Ian jonhson wrote:
# modprobe acpi-cpufreq FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.29.3/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device
That error tells me most likely your hardware is not compatible with the driver, check 'dmesg' for any messages the driver might of generated when it was loading.
there are nothing output by "dmesg" when I tried the
# modprobe acpi-cpufreq
and
# modprobe acpi-cpufreq
The output message is same whenever how many time you execute above two commands.
What CPU are you using? I get the same message on this system I am on, a really old dual xeon single core system. p4-clockmod loads though if I recall right even though you can adjust the clock speed the power usage won't be impacted because the voltage won't change, at least on this class of processor.
My machine is DELL 360 with dual cores. The CPU info can be seen from /etc/cpuinfo:
-------------------- dump of screen ------------------ # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz stepping : 13 cpu MHz : 2194.384 cache size : 1024 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm bogomips : 4388.76 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:
processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz stepping : 13 cpu MHz : 2194.384 cache size : 1024 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm bogomips : 4388.78 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:
---------------------------------------------------------------
If you want more information, please tell me how to do next.
Thanks,
Ian
Ian jonhson wrote:
You have to write:
# modprobe p4-clockmod
It means no "ko" extension.
Same result.
The p4-clockmod is not in /lib/modules/2.6.29.3/kernel/arch/x86/kernel/cpu/cpufreq/.
But I tried the acpi-cpufreq.ko and got the same result.
-------------- dump of screen ----------------
# ls /lib/modules/`uname -r`/kernel/arch/*/kernel/cpu/cpufreq acpi-cpufreq.ko
# modprobe acpi-cpufreq FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.29.3/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device
Any help?
I had similar problem in the past. I used 586 kernel and it didn't work. Do you have 686 kernel? If yes, can you send us the output of the following commands:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
# modprobe cpufreq_ondemand
Vaclav
Thanks,
Ian _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I had similar problem in the past. I used 586 kernel and it didn't work. Do you have 686 kernel? If yes, can you send us the output of the following commands:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
# modprobe cpufreq_ondemand
There does not exist the "cpufreq" directory. The following command
# modprobe cpufreq_ondemand
can be executed and nothing is output. However, still no "cpufreq" directory is created in /sys/devices/system/cpu/cpu0/ after the command is done.
BTW, I don't know where can I check whether the hardware is supporting the CPUfreq. I just learn from maillist if someone want to check the cpufreq support in hardware he can run the following commands to do checking:
# grep est /proc/cpuinfo
Any helps?
Thanks agin,
Ian
On Mon, Aug 3, 2009 at 1:04 PM, Ian jonhsonjonhson.ian@gmail.com wrote:
I had similar problem in the past. I used 586 kernel and it didn't work. Do you have 686 kernel? If yes, can you send us the output of the following commands:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
# modprobe cpufreq_ondemand
There does not exist the "cpufreq" directory. The following command
# modprobe cpufreq_ondemand
can be executed and nothing is output. However, still no "cpufreq" directory is created in /sys/devices/system/cpu/cpu0/ after the command is done.
BTW, I don't know where can I check whether the hardware is supporting the CPUfreq. I just learn from maillist if someone want to check the cpufreq support in hardware he can run the following commands to do checking:
# grep est /proc/cpuinfo
Any helps?
I found the problem location why the "cpufreq" directory is not there. I *HAVE NOT* opened the speedstep in my bios. OMG
wasting so much time~~ I am sorry~
Thanks for all,
Ian