Author Topic: cpufreq problems.  (Read 4136 times)

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: cpufreq problems.
« Reply #30 on: June 23, 2011, 07:07:45 PM »
Code: [Select]
[root@localhost home]# ls --full /lib/modules/2.6.38.8-pclos1.bfs/kernel/arch/x86/kernel/cpu/cpufreq/
total 88
-rw-r--r-- 1 root root 5570 2011-06-04 04:14:53.000000000 -0500 acpi-cpufreq.ko.gz
-rw-r--r-- 1 root root 3287 2011-06-04 04:14:53.000000000 -0500 cpufreq-nforce2.ko.gz
-rw-r--r-- 1 root root 3254 2011-06-04 04:14:53.000000000 -0500 e_powersaver.ko.gz
-rw-r--r-- 1 root root 3226 2011-06-04 04:14:53.000000000 -0500 gx-suspmod.ko.gz
-rw-r--r-- 1 root root 8269 2011-06-04 04:14:53.000000000 -0500 longhaul.ko.gz
-rw-r--r-- 1 root root 2391 2011-06-04 04:14:53.000000000 -0500 longrun.ko.gz
-rw-r--r-- 1 root root 1554 2011-06-04 04:14:53.000000000 -0500 mperf.ko.gz
-rw-r--r-- 1 root root 3117 2011-06-04 04:14:53.000000000 -0500 p4-clockmod.ko.gz
-rw-r--r-- 1 root root 3396 2011-06-04 04:14:53.000000000 -0500 pcc-cpufreq.ko.gz
-rw-r--r-- 1 root root 2566 2011-06-04 04:14:53.000000000 -0500 powernow-k6.ko.gz
-rw-r--r-- 1 root root 5443 2011-06-04 04:14:53.000000000 -0500 powernow-k7.ko.gz
-rw-r--r-- 1 root root 9668 2011-06-04 04:14:53.000000000 -0500 powernow-k8.ko.gz
-rw-r--r-- 1 root root 4087 2011-06-04 04:14:53.000000000 -0500 speedstep-centrino.ko.gz
-rw-r--r-- 1 root root 3157 2011-06-04 04:14:53.000000000 -0500 speedstep-ich.ko.gz
-rw-r--r-- 1 root root 3289 2011-06-04 04:14:53.000000000 -0500 speedstep-lib.ko.gz
-rw-r--r-- 1 root root 3253 2011-06-04 04:14:53.000000000 -0500 speedstep-smi.ko.gz
[root@localhost home]#

Yup that's Your list.

Andy

Offline redjama

  • Sr. Member
  • ****
  • Posts: 350
Re: cpufreq problems.
« Reply #31 on: June 23, 2011, 07:11:26 PM »
Code: [Select]
[root@localhost home]# modprobe speedstep-lib
[root@localhost home]# cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: p4-clockmod
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.00 ms.
  hardware limits: 233 MHz - 1.87 GHz
  available frequency steps: 233 MHz, 467 MHz, 700 MHz, 933 MHz, 1.17 GHz, 1.40 GHz, 1.63 GHz, 1.87 GHz
  available cpufreq governors: ondemand, conservative, powersave, userspace, performance
  current policy: frequency should be within 700 MHz and 1.87 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 700 MHz (asserted by call to hardware).
[root@localhost home]#
Still shows the p4-clockmod, is that right or should it say the other 1?

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: cpufreq problems.
« Reply #32 on: June 23, 2011, 07:13:19 PM »
This means that speedstep-lib will not work with Your CPU. Try next one till You exclude all of them or till one works.

I am not even sure any other then p4-clockmod will...

Andy

Offline redjama

  • Sr. Member
  • ****
  • Posts: 350
Re: cpufreq problems.
« Reply #33 on: June 23, 2011, 07:15:30 PM »
ok, well some of them wont even let me modprobe them, say some type of error

Code: [Select]
[root@localhost home]# modprobe speedstep-smi
FATAL: Error inserting speedstep_smi (/lib/modules/2.6.38.8-pclos1.bfs/kernel/arch/x86/kernel/cpu/cpufreq/speedstep-smi.ko.gz): No such device

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: cpufreq problems.
« Reply #34 on: June 23, 2011, 07:20:06 PM »
That's correct. They are designed for another type of CPU. If they modprobed on Your CPU... I would run away ;)...

It checks for a certain type of CPU and if it's found and if it won't break the machine - it will modprobe. If CPU type is incompatible - no such device error will occur. It's like trying to configure a banana with an mango driver... There is only one type of driver for mango and there are one of two for banana. So You can try modprobing banana drivers for Your banana CPU but the mango drivers are sure not going to work. Now some banana drivers will work only for some bananas and some banana drivers have limited options available due to the type of banana.

Andy
« Last Edit: June 23, 2011, 07:29:25 PM by AndrzejL »

Offline redjama

  • Sr. Member
  • ****
  • Posts: 350
Re: cpufreq problems.
« Reply #35 on: June 23, 2011, 07:22:30 PM »
Ok well I went through all of them only 2 didnt come up with the error but didnt show up in the cpufreq-info only the p4-clockmod.  So im assuming im stuck with it and the rediculous heat and battery drain due to it.  Sux  :(

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: cpufreq problems.
« Reply #36 on: June 23, 2011, 07:24:42 PM »
It does indeed... Sorry to hear it. I did the best I could to help You.

You could always try the laggy powersave mode... Bit slower but no heat and no battery draining. Maybe more googling will give You some other ideas.

Regards.

Andy
« Last Edit: June 23, 2011, 07:28:31 PM by AndrzejL »

Offline redjama

  • Sr. Member
  • ****
  • Posts: 350
Re: cpufreq problems.
« Reply #37 on: June 23, 2011, 07:32:45 PM »
how would i set the script up in the power profile to run the powersave governor when unplugged?  It ha to have rot permission to apply it.  So how would I write the script to allow it??

Offline redjama

  • Sr. Member
  • ****
  • Posts: 350
Re: cpufreq problems.
« Reply #38 on: June 23, 2011, 07:40:14 PM »
Where in PCC is the cpufreq setting to check off???

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12525
Re: cpufreq problems.
« Reply #39 on: June 23, 2011, 07:42:33 PM »
Where in PCC is the cpufreq setting to check off???

System -> Manage System Services to start at boot.

Thanks to everyone who donates. You keep the servers running.

Offline redjama

  • Sr. Member
  • ****
  • Posts: 350
Re: cpufreq problems.
« Reply #40 on: June 23, 2011, 07:48:22 PM »
OK well thank you for everyones help here.  Im only able to use either powersave or performance.  I guess ill be using the power save to try and cool the laptop down some.  Thanks again

Offline redjama

  • Sr. Member
  • ****
  • Posts: 350
Re: cpufreq problems.
« Reply #41 on: June 23, 2011, 07:57:20 PM »
OK well the start at boot was checked, i changed the gov to the powersaver and did a reboot.  The governor did not aply automatically, I had to go into the pcc and click start. Not sure why it didnt load at boot.