You are not logged in.

#1 2010-06-14 17:57:47

dare023
Member
Registered: 2010-04-21
Posts: 64

[SOLVED] Cpufreq not loading after reboot

I followed wiki on this ,but after reboot cpufreq is not loading from /etc/rc.conf as module
This is message on boot

:: Setting cpufreq governing rules , cpu 0 1wrong, unknown or unhandled CPU?
Error setting new values. Common errors:eq/scaling_available_governors: No such - 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?

But if I do a modprobe acpi-cpufreq got this

[root@laptop ~]# modprobe acpi-cpufreq
[root@laptop ~]# /etc/rc.d/cpufreq start
:: Setting cpufreq governing rules , cpu 0 1                             [DONE]

This is a /etc/rc.conf/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="2.01GHz"

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

Similar happens when I want to load governors as modules.
Laptop is acer with C2D T5800 and min and max values are  from cpufreq-info.
Can this be solved?
Thanks in advance!

Last edited by dare023 (2010-06-15 05:44:18)

Offline

#2 2010-06-14 19:20:27

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

Re: [SOLVED] Cpufreq not loading after reboot

And what's your

cpufreq-info

?

Offline

#3 2010-06-14 19:28:10

dare023
Member
Registered: 2010-04-21
Posts: 64

Re: [SOLVED] Cpufreq not loading after reboot

Here it is without modprobe acpi-cpufreq

[root@laptop ~]# cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.
analyzing CPU 1:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.

And with modprobe acpi-cpufreq

[root@laptop ~]# modprobe acpi-cpufreq
[root@laptop ~]# cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 800 MHz - 2.00 GHz
  available frequency steps: 2.00 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: ondemand, performance
  current policy: frequency should be within 800 MHz and 2.00 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 2.00 GHz (asserted by call to hardware).
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 10.0 us.
  hardware limits: 800 MHz - 2.00 GHz
  available frequency steps: 2.00 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: ondemand, performance
  current policy: frequency should be within 800 MHz and 2.00 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 2.00 GHz (asserted by call to hardware).

Offline

#4 2010-06-14 19:49:03

benob
Member
Registered: 2008-11-11
Posts: 187

Re: [SOLVED] Cpufreq not loading after reboot

is acpi-cpufreq in your MODULES list in /etc/rc.conf?

do you see anything in dmesg and other logs?

Offline

#5 2010-06-14 20:28:15

dare023
Member
Registered: 2010-04-21
Posts: 64

Re: [SOLVED] Cpufreq not loading after reboot

benob wrote:

is acpi-cpufreq in your MODULES list in /etc/rc.conf?

do you see anything in dmesg and other logs?

Yes, when I put it in daemons , got something like

/etc/rc.d/functions/ :line 192 /etc/rc.d/acpi-cpufreq :no such file or directory

and repeats for governors if they are in "daemons"
I dont know how to look for logs...And what to look for in them...

Offline

#6 2010-06-14 20:34:44

benob
Member
Registered: 2008-11-11
Posts: 187

Re: [SOLVED] Cpufreq not loading after reboot

Maybe I am misunderstanding you, but acpi-cpufreq should be in MODULES, while cpufreq is in DAEMONS.

MODULES=(... acpi-cpufreq ...)
DAEMONS=(... cpufreq ...)

Offline

#7 2010-06-15 05:43:48

dare023
Member
Registered: 2010-04-21
Posts: 64

Re: [SOLVED] Cpufreq not loading after reboot

Yes,that was mistake : acpi-cpufreq was not in modules.
Thank you verry much for help!

Offline

Board footer

Powered by FluxBB