You are not logged in.

#1 2011-01-22 14:58:06

Dennis Beekman
Member
From: Klippenweg 2B 7622EV Borne
Registered: 2010-06-21
Posts: 60
Website

[Solved] cpufreq won't work... wrong or unhandled cpu

I have installed Arch 86_64 on my HP Notebook DV6 2120ED with a AMD Turion II M520 2,3Ghz CPU, but it will not do frequency scaling.

I use my laptop on the go and it's not needed for it to run at 2,3ghz all the time.
I installed cpufrequtils pmutils acpi libacpi.
i set the rights in
i edited /etc/conf.d/cpufreq so that i now looks like this:

#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="1.10GHz"
max_freq="2.3GHz"

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

I did a "modprobe cpufreq_ondemand" and it gives me no errors, this is the same for performance, powersave, userspace aswell.

however when i try to "sudo /etc/rc.d/cpufreq start" it gives me this error:

grep: /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors: No such file or directory
                                   , cpu 0wrong, unknown or unhandled CPU?
Error setting new values. Common errors:
- 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?
                                           1wrong, unknown or unhandled CPU?
Error setting new values. Common errors:
- 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?

and cpufreq-info gives me

driver: powernow-k8
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 8.0 us.
  hardware limits: 800 MHz - 2.30 GHz
  available frequency steps: 2.30 GHz, 2.10 GHz, 1.50 GHz, 1.10 GHz, 800 MHz
  available cpufreq governors: ondemand, performance
  current policy: frequency should be within 800 MHz and 2.30 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 2.30 GHz (asserted by call to hardware).

Under ubuntu it works just fine so the processor supports it, what am i doing wrong here ? anyone got any suggestion ?

Last edited by Dennis Beekman (2011-01-22 16:23:20)

Offline

#2 2011-01-22 15:12:06

skywarp
Member
Registered: 2009-11-14
Posts: 23

Re: [Solved] cpufreq won't work... wrong or unhandled cpu

What does "lsmod | grep cpufreq" return.

Offline

#3 2011-01-22 15:35:52

Dennis Beekman
Member
From: Klippenweg 2B 7622EV Borne
Registered: 2010-06-21
Posts: 60
Website

Re: [Solved] cpufreq won't work... wrong or unhandled cpu

i seems to have gotten it to frequency scale... but it is not working correctly yet.

I was starting acpi_cpufreq as the driver when should have been using powernow-k8 so now it scales...
I used the command

echo "95" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold

Edit:

It turns out that the ondemand option it very unstable, i now use conservative and this seems fine for now.

So this problem has been solved !!

Last edited by Dennis Beekman (2011-01-22 16:22:55)

Offline

#4 2011-01-22 22:49:44

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved] cpufreq won't work... wrong or unhandled cpu

Did you try to comment min_freq and max_freq? They are usually not needed and correctly auto detected.

You also need to load powernow_k8, loading only cpufreq_ondemand is not enough.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB