PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 03:46:40 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: [Solved] cpufreq not working  (Read 1230 times)
kolosus
Hero Member
*****
Offline Offline

Posts: 761

I don't have blue eyes


« on: December 27, 2010, 08:42:13 AM »

I've recently installed 2010.12. It is a fresh install on a HP TC4400. Intel 2.0 dual processor. Nothing fancy.

cpufreq doesn't seem to be working. I've tried setting cpufreq to not start at boot in pcc. I will unselect the "start at boot" option but at next boot up it is ticked again. I tried stopping it and restarting it... but I cannot seem to stop it. Clicking on start gives me the stop=ok, start=ok dialog... but freq stays at 2.0. In 2009 and other iterations of 2010 it would drop to 1.0 and go up to 2.0 as necessary.

I tried
[root@localhost ~]# 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.

Any ideas folks?
Logged

Linux User # 435130

For what is evil but good tortured by its own hunger and thirst?
Verily when good is hungry it seeks food even in dark caves, and when it thirsts, it drinks even of dead waters.
The PROPHET, by Kahlil Gibran
coffeetime
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 3301


Send me an Angel


« Reply #1 on: December 27, 2010, 11:28:34 AM »

Driver problem. Mine [using 2.6.33.7-pclos5.pae]:

Quote
$ 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.67 GHz                                                                                                                                                  
  available frequency steps: 2.67 GHz, 2.67 GHz, 2.13 GHz, 1.60 GHz, 800 MHz                                                                                                            
  available cpufreq governors: ondemand, conservative, powersave, userspace, performance                                                                                                
  current policy: frequency should be within 800 MHz and 2.67 GHz.                                                                                                                      
                  The governor "ondemand" may decide which speed to use                                                                                                                
                  within this range.                                                                                                                                                    
  current CPU frequency is 800 MHz.                                                                                                                                                    
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.67 GHz
  available frequency steps: 2.67 GHz, 2.67 GHz, 2.13 GHz, 1.60 GHz, 800 MHz
  available cpufreq governors: ondemand, conservative, powersave, userspace, performance
  current policy: frequency should be within 800 MHz and 2.67 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz.



Konsole/su:

Code:
modprobe acpi-cpufreq


Try again cpufreq-info.
Logged

PCLinuxOS e17 Club member/e17 video/Wifi problems?
those who complain rarely read. those who read rarely complain
 
kolosus
Hero Member
*****
Offline Offline

Posts: 761

I don't have blue eyes


« Reply #2 on: December 27, 2010, 11:57:59 AM »

Thanks coffeetime. That worked.

unfortunately it doesn't survive reboots. Suggestions?

Add "modprobe acpi-cpufreq" to rc.local?
Logged

Linux User # 435130

For what is evil but good tortured by its own hunger and thirst?
Verily when good is hungry it seeks food even in dark caves, and when it thirsts, it drinks even of dead waters.
The PROPHET, by Kahlil Gibran
menotu
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11986

┌∩┐(◕_◕)┌∩┐


« Reply #3 on: December 27, 2010, 12:04:30 PM »

There is an updated version of - cpufrequtils 007-2 - in the testing section of the repos which you may want to try.

Remember of course that as it's still in the testing section it may not be fully functional
Logged

If you can keep you head while all around you are losing theirs, then you have misunderstood the situation.

PCLinuxOS 32bit & 64bit; 3.2.17bfs kernel, KDE 4.8.3; nvidia 295.53, Athlon 64 X2 4200+; 4GB Ram; NVidia GeForce 8400GS 1GB; x.org 1.10.4 ; 500GB/320GB
coffeetime
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 3301


Send me an Angel


« Reply #4 on: December 27, 2010, 12:25:50 PM »

Konsole:

Code:
kdesu dolphin /etc/modprobe.preload

and add acpi-cpufreq
Save! Reboot.

If it won't work, try to add in /etc/modprobe.preload:

Quote
acpi-cpufreq
cpufreq_ondemand
cpufreq_powersave
cpufreq_conservative

Go to /etc/sysconfig/cpufreq and uncomment #GOVERNOR=.... [remove the ”#” character from the beginning of the line]. It should read like this:

Quote
GOVERNOR=ondemand

Save! Reboot.
Logged

PCLinuxOS e17 Club member/e17 video/Wifi problems?
those who complain rarely read. those who read rarely complain
 
kolosus
Hero Member
*****
Offline Offline

Posts: 761

I don't have blue eyes


« Reply #5 on: December 27, 2010, 05:40:33 PM »

Thanks again Coffeetime. Adding the line acpi-cpufreq to modprobe.preload worked. I didn't try the next.

Menotu. I didn't try your suggestion from the testing section of the repo. Thanks anyway.
Logged

Linux User # 435130

For what is evil but good tortured by its own hunger and thirst?
Verily when good is hungry it seeks food even in dark caves, and when it thirsts, it drinks even of dead waters.
The PROPHET, by Kahlil Gibran
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM