LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   CPU frequency scaling on Pentium M (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/cpu-frequency-scaling-on-pentium-m-304820/)

Khang 03-22-2005 03:42 PM

CPU frequency scaling on Pentium M
 
Hi, I'm trying to get speedstepping working correctly on my new laptop which contains a 1.6 Pentium M CPU. I figured I'd give cpudyn a try (though if there are better alternatives, ideally ones available as debian packages, please inform me). I found this page and took its advice. I compiled the module speedstep-centrino ("Intel Enhanced Speedstep") instead of speedstep-ich, along with the ones recommended by that page.

Code:

root@bunny:~# modprobe cpufreq-performance
root@bunny:~# modprobe cpufreq-powersave

No errors so far...

Code:

root@bunny:~# modprobe speedstep-centrino
FATAL: Error inserting speedstep_centrino (/lib/modules/2.6.10-jez/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko): No such device

D'oh.

Code:

root@bunny:~# tail /var/log/kern.log
Mar 22 21:14:10 bunny kernel: [fglrx] total AGP = 65536
Mar 22 21:15:59 bunny kernel: speedstep-centrino: invalid ACPI data
Mar 22 21:15:59 bunny kernel: speedstep-centrino: no table support for CPU model "Intel(R) Pentium(R) M processor 1.60GHz":
Mar 22 21:15:59 bunny kernel: speedstep-centrino: try compiling with CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI enabled
Mar 22 21:16:01 bunny kernel: speedstep-centrino: invalid ACPI data
Mar 22 21:16:01 bunny kernel: speedstep-centrino: no table support for CPU model "Intel(R) Pentium(R) M processor 1.60GHz":
Mar 22 21:16:01 bunny kernel: speedstep-centrino: try compiling with CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI enabled
Mar 22 21:16:02 bunny kernel: speedstep-centrino: invalid ACPI data
Mar 22 21:16:02 bunny kernel: speedstep-centrino: no table support for CPU model "Intel(R) Pentium(R) M processor 1.60GHz":
Mar 22 21:16:02 bunny kernel: speedstep-centrino: try compiling with CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI enabled

(Yeah, I tried modprobing it 3 times just for good measure)

Guess what? I already DID compile with CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI enabled...

I've also tried with CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE ("Built-in tables for Banias CPUs") compiled in too, even though my CPU is a Dothan, not a Banias.

As it stands, I can insert the module acpi-cpufreq instead of speedstep-centrino, and this is loaded successfully. I can then load cpudyn and the frequency scaling does appear to work to an extent, however the CPU seems to drop to its minimum frequency for a second then immediately rise up to full again, then a few seconds later it'll drop again for only a second. This is when the system is under a very light load and the CPU is certainly not busy. I'm not sure whether this is cpudyn's fault, or perhaps it's because I'm using acpi-cpufreq rather than speedstep-centrino.

So what this comes down to is:

Q1. If this is just cpudyn being a little too simple for my tastes, could you recommend an alternative?

Q2. If this is down to my use of acpi-cpufreq instead of speedstep-centrino, could you suggest a reason for the errors I'm receiving?

I'm running Debian Sarge on kernel 2.6.10.

Thanks for your time :)

jwn7 03-22-2005 05:53 PM

apt-get install powernowd

try that:cool:

Khang 03-23-2005 06:16 PM

In the end I actually tried cpufreqd and it's working quite nicely for me. I read something about powernowd which suggested checking whether the CPU supports it with a simple 'dmesg | grep powernow', and that produced no results for me, so can I assume it isn't worth trying powernowd? If it might still work, is there any reason why I should use it when cpufreqd is working fine for me?


All times are GMT -5. The time now is 09:12 AM.