Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] cpufreqd: requires the kernel to be configured
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pesenti
n00b
n00b


Joined: 22 Sep 2005
Posts: 37
Location: Switzerland

PostPosted: Sat Nov 03, 2007 3:45 pm    Post subject: [Solved] cpufreqd: requires the kernel to be configured Reply with quote

I'm working with a 2.6.20-gentoo-r8 kernel on a DELL D820. Since I bought it a year ago, I never figured out how to have the power management working because of the cpufreqd complaining:


Code:

> /etc/init.d/cpufreqd start
 * cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ


whereas the CONFIG_CPU_FREQ is actually set:
Code:

> grep CONFIG_CPU /usr/src/linux/.config
CONFIG_CPUSETS=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=m
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=m
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=m
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m


On the other hand, the cpufreq-info command says that "there is no known driver for cpufreq"

Code:

> cpufreq-info 
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Veuillez rapportez les erreurs et les bogues à linux@brodo.de, s'il vous plait.
analyse du CPU 0 :
  pas de pilotes cpufreq reconnu pour ce CPU
analyse du CPU 1 :
  pas de pilotes cpufreq reconnu pour ce CPU


There has to be something missing in my kernel configuration. Could anybody make a suggestion?


Last edited by pesenti on Sat Nov 10, 2007 3:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Sat Nov 03, 2007 5:37 pm    Post subject: Reply with quote

you need to enable in kernel config a cpufreq driver, not only the governors! read their helps to find the right one for your cpu
Back to top
View user's profile Send private message
pesenti
n00b
n00b


Joined: 22 Sep 2005
Posts: 37
Location: Switzerland

PostPosted: Sat Nov 10, 2007 3:35 pm    Post subject: Reply with quote

I clumsily tried the following setting in kernel configuration an it worked:
Code:

[*] CPU Frequency scaling
[ ]   Enable CPUfreq debugging
<*>   CPU frequency translation statistics
[ ]     CPU frequency translation statistics details
      Default CPUFreq governor (performance)  --->
---   'performance' governor
<*>   'powersave' governor
<*>   'userspace' governor for userspace frequency scaling
<*>   'ondemand' cpufreq policy governor
<*>   'conservative' cpufreq governor
---   CPUFreq processor drivers
<M>   ACPI Processor P-States driver
< >   AMD Mobile K6-2/K6-3 PowerNow!
< >   AMD Mobile Athlon/Duron PowerNow!
< >   AMD Opteron/Athlon64 PowerNow!x
< >   Cyrix MediaGX/NatSemi Geode Suspend Modulation
<*>   Intel Enhanced SpeedStep
---     Built-in tables for Banias CPUs
<*>   Intel Speedstep on ICH-M chipsets (ioport interface)
<*>   Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)
<*>   Intel Pentium 4 clock modulation
< >   nVidia nForce2 FSB changing
< >   Transmeta LongRun
< >   VIA Cyrix III Longhaul
---   shared options
[ ]   /proc/acpi/processor/../performance interface (deprecated)
[ ]   Relaxed speedstep capability checks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum