You are not logged in.

#1 2009-01-11 08:00:11

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

[SOLVED] Cpufreq not working

I have a 64bit install and i'm trying to get cpufreq working. I had it working just fine in 32 bit before. I followed the steps in the wiki and I get this:

:: Setting cpufreq governing rules , cpu 0 1Error setting new values. Common errors:                                     [BUSY] 
- Do you have proper administration rights? (super-user?)
- Is the governor you requested available and modprobed?
- Trying to set an invalid policy?
- Trying to set a specific frequency, but userspace governor is not available,
   for example because of hardware which cannot be set to a specific frequency
   or because the userspace governor isn't loaded?
                                                                                                                         [DONE]

what could be the problem?

Later edit: I use ondemand governor

Last edited by RaisedFist (2009-01-12 06:32:48)

Offline

#2 2009-01-11 12:05:13

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Cpufreq not working

Well,

Is the governor you requested available and modprobed?

Wat does cpufreq-info say?

What doet lsmod |grep cpu say?


ᶘ ᵒᴥᵒᶅ

Offline

#3 2009-01-11 17:50:38

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: [SOLVED] Cpufreq not working

[radu@ursache ~]$ lsmod | grep cpu
cpufreq_powersave       4096  0 
cpufreq_ondemand       10128  0 
acpi_cpufreq           10384  1 
freq_table              6272  2 cpufreq_ondemand,acpi_cpufreq
processor              40760  4 thermal,acpi_cpufreq
[radu@ursache ~]$ cpufreq-info 
cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0 1
  hardware limits: 800 MHz - 1.80 GHz
  available frequency steps: 1.80 GHz, 1.80 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: powersave, ondemand, performance
  current policy: frequency should be within 800 MHz and 1.80 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.80 GHz.
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0 1
  hardware limits: 800 MHz - 1.80 GHz
  available frequency steps: 1.80 GHz, 1.80 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: powersave, ondemand, performance
  current policy: frequency should be within 800 MHz and 1.80 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.80 GHz.

any more info needed?

Offline

#4 2009-01-11 22:18:58

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Cpufreq not working

everything looks good, you probably didn't have superuser rights when you issued the original command. this should work:

sudo cpufreq-set -g ondemand

to make it permanent you can put this in /etc/conf.d/cpufreq

#configuration for cpufreq control

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

# valid suffixes: Hz, kHz (default), MHz, GHz, THz
min_freq="800MHz"
max_freq="1.80GHz"

ᶘ ᵒᴥᵒᶅ

Offline

#5 2009-01-12 06:32:06

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: [SOLVED] Cpufreq not working

Thanks a lot... the problem was in /etc/conf.d/cpufreq .. I had the default config - stupid me!

Offline

Board footer

Powered by FluxBB