[РЕШЕНО] Не работает cpufreq (после обновления)
lxer 20 декабря, 2009 - 01:08
Решилось заменой policy=ondemand на policy=powersave в конфиге.
После глобального (раз в пол года) обновления генты сломался cpufreq. Демон запускается, но частота постоянно максимальная (проверял powertop).
=sys-power/cpufreqd-2.1.1
# cpufreq-info cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006 Report errors and bugs to , please. analyzing CPU 0: driver: p4-clockmod CPUs which need to switch frequency at the same time: 0 hardware limits: 350 MHz - 2.80 GHz available frequency steps: 350 MHz, 700 MHz, 1.05 GHz, 1.40 GHz, 1.75 GHz, 2.10 GHz, 2.45 GHz, 2.80 GHz available cpufreq governors: ondemand, performance current policy: frequency should be within 350 MHz and 1.40 GHz. The governor "performance" may decide which speed to use within this range. current CPU frequency is 1.40 GHz (asserted by call to hardware). cpufreq stats: 350 MHz:0.00%, 700 MHz:0.00%, 1.05 GHz:0.00%, 1.40 GHz:98.20%, 1.75 GHz:0.00%, 2.10 GHz:0.00%, 2.45 GHz:0.00%, 2.80 GHz:1.80% (5)
cat /proc/cpuinfo
processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 2.80GHz stepping : 9 cpu MHz : 1400.000 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 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 pebs bts cid xtpr bogomips : 2794.47 clflush size : 64 power management:
cat /etc/cpufreqd.conf
[General] pidfile=/var/run/cpufreqd.pid poll_interval=2 verbosity=2 [/General] [Profile] name=cpu1 minfreq=0% maxfreq=50% policy=ondemand [/Profile] [Profile] name=cpu2 minfreq=50% maxfreq=100% policy=ondemand [/Profile] [Rule] name=cpu_1 cpu_interval=0-99 profile=cpu1 [/Rule] [Rule] name=cpu_2 cpu_interval=99-100 profile=cpu2 [/Rule]
cat /usr/src/linux-2.6.31-gentoo-r6/.config | grep FREQ
CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=y # CONFIG_CPU_FREQ_DEBUG is not set CONFIG_CPU_FREQ_STAT=y # CONFIG_CPU_FREQ_STAT_DETAILS is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y # CONFIG_CPU_FREQ_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_GOV_USERSPACE is not set CONFIG_CPU_FREQ_GOV_ONDEMAND=y # CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set # CONFIG_X86_ACPI_CPUFREQ is not set # CONFIG_X86_CPUFREQ_NFORCE2 is not set
В чем может быть дело?
»
- Для комментирования войдите или зарегистрируйтесь
? ... #
?
Покажите вывод команды
Я ♥ Gentoo & Funtoo
* status: started
пересобрая ядро
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
CONFIG_X86_ACPI_CPUFREQ=y
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
Все равно не работает.