vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I followed step by step the guide above: http://www.gentoo.org/doc/en/power-management-guide.xml but when I type /etc/init.d/cpufreqd start, I'll obtain: * cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ My kernel config should be ok, infact: # zcat /proc/config.gz | grep CONFIG_CPU_FREQ CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=y # CONFIG_CPU_FREQ_DEBUG is not set # CONFIG_CPU_FREQ_STAT is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y 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=y From /etc/init.d/cpufreqd: if [[ ! -e /proc/cpufreq ]] && [[ ! -e /sys/devices/system/cpu/cpu0/cpufreq ]]; then eerror "cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ" Any suggestions? On the web I was not able to find any help... Thanks in advance : ) davide moro |
| |||
| davide moro wrote: > Hi, > I followed step by step the guide above: > http://www.gentoo.org/doc/en/power-management-guide.xml > > but when I type /etc/init.d/cpufreqd start, > > I'll obtain: > * cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ > > My kernel config should be ok Or not? # cpufreq-info cpufrequtils 001: cpufreq-info (C) Dominik Brodowski 2004-2006 Report errors and bugs to linux@brodo.de, please. analyzing CPU 0: no or unknown cpufreq driver is active on this CPU |
| |||
| davide moro wrote: > Hi, > I followed step by step the guide above: > http://www.gentoo.org/doc/en/power-management-guide.xml > > but when I type /etc/init.d/cpufreqd start, > > I'll obtain: > * cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ > > My kernel config should be ok, infact: > > # zcat /proc/config.gz | grep CONFIG_CPU_FREQ > CONFIG_CPU_FREQ=y > CONFIG_CPU_FREQ_TABLE=y > # CONFIG_CPU_FREQ_DEBUG is not set > # CONFIG_CPU_FREQ_STAT is not set > # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set > CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y > 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=y > > From /etc/init.d/cpufreqd: > if [[ ! -e /proc/cpufreq ]] && [[ ! -e > /sys/devices/system/cpu/cpu0/cpufreq ]]; then > eerror "cpufreqd requires the kernel to be configured > with CONFIG_CPU_FREQ" > > Any suggestions? On the web I was not able to find any help... Did you boot into this kernel? What arch and what version of kernel? (there have been some arches that may report the wrong cpu number for the first cpu, which makes the check bad). //Aho |
| |||
| J.O. Aho wrote: > Did you boot into this kernel? > What arch and what version of kernel? (there have been some arches that > may report the wrong cpu number for the first cpu, which makes the check > bad). Yes, I booted into this kernel : ) pentium-m 2.6.16-r7 I'm recompiling the kernel, I've taked a look on: http://gentoo-wiki.com/HARDWARE_Gent...Dell_XPS_Gen_2 and it seems I should compile as a module the cpufreq driver... Thanks, davide |
| |||
| davide moro wrote: > I'm recompiling the kernel, I've taked a look on: > http://gentoo-wiki.com/HARDWARE_Gent...Dell_XPS_Gen_2 > > and it seems I should compile as a module the cpufreq driver... http://gentoo-wiki.com/HARDWARE_Gent...Dell_XPS_Gen_2 It works fine : ) Thanks a lot, davide moro |
| |||
| davide moro wrote: > I followed step by step the guide above: > http://www.gentoo.org/doc/en/power-management-guide.xml > but when I type /etc/init.d/cpufreqd start, > I'll obtain: > * cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ > From /etc/init.d/cpufreqd: > if [[ ! -e /proc/cpufreq ]] && [[ ! -e > /sys/devices/system/cpu/cpu0/cpufreq ]]; then > eerror "cpufreqd requires the kernel to be configured > with CONFIG_CPU_FREQ" > Any suggestions? On the web I was not able to find any help... At least one of these files is missing (which one?). What CPU do you have (cat /proc/cpuinfo)? Regards... Michael |
| |||
| CPUFREQ was broken in some 2.6.16 kernels. Either step back to 2.6.15.6 or ahead to 2.6.17-RCx... In the 2.6.17 rc's, you won't get all the possible cpu frequencies as in 2.6.15.6, but it works. davide moro wrote: > Hi, > I followed step by step the guide above: > http://www.gentoo.org/doc/en/power-management-guide.xml > > but when I type /etc/init.d/cpufreqd start, > > I'll obtain: > * cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ > > My kernel config should be ok, infact: > > # zcat /proc/config.gz | grep CONFIG_CPU_FREQ > CONFIG_CPU_FREQ=y > CONFIG_CPU_FREQ_TABLE=y > # CONFIG_CPU_FREQ_DEBUG is not set > # CONFIG_CPU_FREQ_STAT is not set > # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set > CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y > 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=y > > From /etc/init.d/cpufreqd: > if [[ ! -e /proc/cpufreq ]] && [[ ! -e > /sys/devices/system/cpu/cpu0/cpufreq ]]; then > eerror "cpufreqd requires the kernel to be configured > with CONFIG_CPU_FREQ" > > Any suggestions? On the web I was not able to find any help... > > Thanks in advance : ) > > davide moro -- Jerry McBride |
| |||
| Jerry McBride wrote: > CPUFREQ was broken in some 2.6.16 kernels. Either step back to 2.6.15.6 or > ahead to 2.6.17-RCx... In the 2.6.17 rc's, you won't get all the possible > cpu frequencies as in 2.6.15.6, but it works. Thanks a lot, davide |