You are not logged in.

#1 2011-08-21 13:19:48

Wolmari
Member
Registered: 2011-08-21
Posts: 6

[SOLVED] cpufreq don't boot up and change governor to ondemand

Hi!
I got tiny problem that I can't solve by myself. I've googled and everything but I don't find solution. So, everytime that I boot or trying to start cpufreq from console I get this message:

:: Setting cpufreq governing rules , cpu 0cpufrequtils 008: cpufreq-set (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
invalid or unknown argument
Usage: cpufreq-set [options]
Options:
  -c CPU, --cpu CPU        number of CPU w 1cpufrequtils 008: cpufreq-set (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.overnor may select
invalid or unknown argumentnew maximum CPU frequency the governor may select
Usage: cpufreq-set [options]ew cpufreq governor
Options:Q, --freq FREQ     specific frequency to be set. Requires userspace
  -c CPU, --cpu CPU        number of CPU whe 2cpufrequtils 008: cpufreq-set (C) Dominik Brodowski 2004-2009Switches all hardware-related CPUs
Report errors and bugs to cpufreq@vger.kernel.org, please.overnor may select
invalid or unknown argumentnew maximum CPU frequency the governor may select
Usage: cpufreq-set [options]ew cpufreq governor
Options:Q, --freq FREQ     specific frequency to be set. Requires userspace
  -c CPU, --cpu CPU        number of CPU where 3cpufrequtils 008: cpufreq-set (C) Dominik Brodowski 2004-2009itches all hardware-related CPUs
Report errors and bugs to cpufreq@vger.kernel.org, please.overnor may select
invalid or unknown argumentnew maximum CPU frequency the governor may select
Usage: cpufreq-set [options]ew cpufreq governor name, without any space
Options:Q, --freq FREQ     specific frequency to be set. Requires userspace
  -c CPU, --cpu CPU        number of CPU where cpufreq settings shall be modified -r, --related            Switches all hardware-related CPUs
  -d FREQ, --min FREQ      new minimum CPU frequency the governor may select
  -u FREQ, --max FREQ      new maximum CPU frequency the governor may select
  -g GOV, --governor GOV   new cpufreq governor name, without any space
  -f FREQ, --freq FREQ     specific frequency to be set. Requires userspace
                           governor to be available and loadedany other paramete  -r, --related            Switches all hardware-related CPUs
  -h, --help               Prints out this screen
3. FREQuencies can be passed in Hz, kHz (default), MHz, GHz, or THz
Notes:postfixing the value with the wanted unit name, without any space
1. Omitting the -c or --cpu argument is equivalent to setting it to zero
2. The -f FREQ, --freq FREQ parameter cannot be combined with any other parameter
   except the -c CPU, --cpu CPU parameter
3. FREQuencies can be passed in Hz, kHz (default), MHz, GHz, or THz
   by postfixing the value with the wanted unit name, without any space
   (FREQuency in kHz =^ Hz * 0.001 =^ MHz * 1000 =^ GHz * 1000000).

and mine /etc/conf.d/cpufreq

#configuration for cpufreq control

# valid governors:
#  ondemand, performance, powersave,
#  conservative, userspace
governor="ondemand"

# limit frequency range (optional)
# valid suffixes: Hz, kHz (default), MHz, GHz, THz
min_freq="800MHz"
max_freq="3,20GHz"

# use freq to set up the exact cpu frequency using it with userspace governor
#freq=

I would be thankful if some of you gurus can help me!

Last edited by Wolmari (2011-08-21 17:00:36)

Offline

#2 2011-08-21 13:51:57

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: [SOLVED] cpufreq don't boot up and change governor to ondemand

Do you have acpi-cpufreq cpufreq_ondemand modules loaded?
You can achieve this with rc.conf modules array. Or with modprobe.

Offline

#3 2011-08-21 14:05:32

Wolmari
Member
Registered: 2011-08-21
Posts: 6

Re: [SOLVED] cpufreq don't boot up and change governor to ondemand

Oh sorry I forgot paste those

MODULES=(...powernow-k8 cpufreq_ondemand...)

yes I have those on my modules array (I have AMD Phenom processor)

Offline

#4 2011-08-21 15:28:28

rk700
Member
Registered: 2011-08-21
Posts: 9
Website

Re: [SOLVED] cpufreq don't boot up and change governor to ondemand

Wolmari wrote:

Oh sorry I forgot paste those

MODULES=(...powernow-k8 cpufreq_ondemand...)

yes I have those on my modules array (I have AMD Phenom processor)

Maybe you should also add acpi-cpufreq? I'm not sure:-)

Offline

#5 2011-08-21 15:53:31

Wolmari
Member
Registered: 2011-08-21
Posts: 6

Re: [SOLVED] cpufreq don't boot up and change governor to ondemand

rk700 wrote:
Wolmari wrote:

Oh sorry I forgot paste those

MODULES=(...powernow-k8 cpufreq_ondemand...)

yes I have those on my modules array (I have AMD Phenom processor)

Maybe you should also add acpi-cpufreq? I'm not sure:-)

I tried modprobe that in first place when I installed cpufreq and gave a error and in wiki says for AMD Phenom processor you have to use powernow-k8 driver instead. I have managed many times to get that work properly and this is first time I count this error on my archlinux and it happened when I reinstalled it because I wanted to start from fresh. Well I always can make script to do that after boot.

Offline

#6 2011-08-21 15:59:52

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: [SOLVED] cpufreq don't boot up and change governor to ondemand

max_freq="3,20GHz"

Try with a dot instead of a comma...

Offline

#7 2011-08-21 16:03:20

Wolmari
Member
Registered: 2011-08-21
Posts: 6

Re: [SOLVED] cpufreq don't boot up and change governor to ondemand

stqn wrote:
max_freq="3,20GHz"

Try with a dot instead of a comma...

Thank you! I didn't noticed that small detail big_smile I feel so dumb now big_smile

Offline

#8 2011-08-21 16:24:20

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: [SOLVED] cpufreq don't boot up and change governor to ondemand

You're welcome. If it's now working, don't forget to mark the thread as solved by editing your first post!

Offline

Board footer

Powered by FluxBB