acpi_cpufreqで no such device

長いので、結果から
biosで intel speed stepが disableでした
enableにして解決

————————————–

使っているのは、vine linux 6.2
kernelが3.4.87-2vl6 #1 SMP x86_6
マザー ASUS LGA1150 mATX マザーボード CS-B (chipset Intel Q87)
cpu Celeron G1820

と言う組み合わせで、boot時
Starting udev: modprobe: FATAL: Error inserting acpi_cpufreq (/lib/modules/3.4.87-2vl6/kernel/drivers/cpufreq/acpi-cpufreq.ko): No such device

と表示が出ていました
Starting udev: modprobe: FATAL: Error inserting acpi_cpufreq (/lib/modules/3.4.87-2vl6/kernel/drivers/cpufreq/acpi-cpufreq.ko): No such device
Starting sysstat: Calling the system activity data collector (sadc)… /etc/rc3.d/S01sysstat: line 31: /usr/lib64/sa/sa1: No such file or directory

^[[145G[^[[0;31mFAILED^[[0;39m]^M

/etc/init.d/cpuspeed start をすると
Jul 6 11:32:12 vine62 kernel: p4-clockmod: Warning: EST-capable CPU detected. The acpi-cpufreq module offers voltage scaling in addition to frequency scaling. You should use that instead of p4-clockmod, if possible.

[root@vine62 init.d]# ls -l /lib/modules/3.4.87-2vl6/kernel/drivers/cpufreq/
合計 188
-rwxr–r– 1 root root 19512 4月 22 23:17 acpi-cpufreq.ko*
-rwxr–r– 1 root root 17088 4月 22 23:17 cpufreq_conservative.ko*
-rwxr–r– 1 root root 20128 4月 22 23:17 cpufreq_ondemand.ko*
-rwxr–r– 1 root root 4512 4月 22 23:17 cpufreq_powersave.ko*
-rwxr–r– 1 root root 13000 4月 22 23:17 cpufreq_stats.ko*
-rwxr–r– 1 root root 8936 4月 22 23:17 freq_table.ko*
-rwxr–r– 1 root root 5696 4月 22 23:17 mperf.ko*
-rwxr–r– 1 root root 10912 4月 22 23:17 p4-clockmod.ko*
-rwxr–r– 1 root root 13032 4月 22 23:17 pcc-cpufreq.ko*
-rwxr–r– 1 root root 31664 4月 22 23:17 powernow-k8.ko*
-rwxr–r– 1 root root 10264 4月 22 23:17 speedstep-centrino.ko*
-rwxr–r– 1 root root 9632 4月 22 23:17 speedstep-lib.ko*

inux vine62 3.4.87-2vl6 #1 SMP Tue Apr 22 23:04:31 JST 2014 x86_64 x86_64 x86_64 GNU/Linux

cpufreq-infoを実行して確認しても、
[root@vine62]# cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU

とつれない返事

internetを検索したら、
biosで intel speed step offになってない?
と言うのを見つけ確認したら、biosで見事 offになっていました。。。。。

enableにしたところ、
[root@vine62 ~]# cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 10.0 us.
hardware limits: 800 MHz – 2.70 GHz
available frequency steps: 2.70 GHz, 2.60 GHz, 2.40 GHz, 2.30 GHz, 2.20 GHz, 2.10 GHz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 900 MHz, 800 MHz
available cpufreq governors: userspace, performance
current policy: frequency should be within 800 MHz and 2.70 GHz.
The governor “userspace” may decide which speed to use
within this range.
current CPU frequency is 2.70 GHz (asserted by call to hardware).
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 1
maximum transition latency: 10.0 us.
hardware limits: 800 MHz – 2.70 GHz
available frequency steps: 2.70 GHz, 2.60 GHz, 2.40 GHz, 2.30 GHz, 2.20 GHz, 2.10 GHz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 900 MHz, 800 MHz
available cpufreq governors: userspace, performance
current policy: frequency should be within 800 MHz and 2.70 GHz.
The governor “userspace” may decide which speed to use
within this range.
current CPU frequency is 2.70 GHz (asserted by call to hardware).

となったので、governorを ondemandにするため、
/usr/bin/cpufreq-set -c 0 -g ondemand
/usr/bin/cpufreq-set -c 0 -g ondemand
を /etc/rc.localの一番下の方に追加しました

cpuspeedをサービスで動かしました