LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   P4 CPU-frequency won't work (https://www.linuxquestions.org/questions/linux-hardware-18/p4-cpu-frequency-wont-work-525572/)

steevols 02-04-2007 03:57 PM

P4 CPU-frequency won't work
 
I've tried for the last week to get CPU-frequency gov's working on my Toshiba 2435 laptop. I've read all the documentation and gone over the kernel config several dozen times and recompiled at least that many, but I can't get it to work. I found a blog post (can't remember the link, of course) in which a guy said that he got it working on the 2.6.5 sources. Before I invest all the time in reconfiguring my entire kernel, though, I figured I'd ask if anyone else had any ideas. The spec's of my machine are:

Toshiba Satellite 2435-S255
2.4 Pentium 4 (not P4-M, just plain P4)
40GB HD (IDE)
512 RAM (DDR? Not sure)
Slackware 11.0, using the 2.6.18 kernel from the install DVD.

StargateSteve 02-05-2007 09:36 AM

Do you have model number for the CPU?

FYI, not all CPUs can scale their frequencies. You might want to look at intel's site, and read some documentation to make sure that you can do what you're trying to do.

steevols 02-05-2007 09:59 AM

Umm, no I don't, where could I get that? Thanks for the response, though.

StargateSteve 02-06-2007 09:07 AM

What kernel are you running?

And in the future, I would recomend that you do a quick Google search on this stuff. I just did, and came across several people having the same problem, and they all show how to fix it.

Try using a newer kernel. If that doesn't work, you could try to over/under clock it.

Crito 02-06-2007 11:00 AM

Quote:

Originally Posted by steevols
.. where could I get that?

Code:

$ cat /proc/cpuinfo

nx5000 02-06-2007 11:10 AM

Could be the support in the kernel not activated You seem to have checked this.
Could also be the module is not loaded. modprobe speedstep_centrino (for PentiumM and M4, don't know for 4)
At this point, you should have the procfs or sysfs interface visible:
Code:

find {/proc,/sys} -name "*freq*" 2> /dev/null
Then you will need the userspace programs to influence the frequency
Quote:

debian:/proc# LANG=C cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to removed, please.
analyzing CPU 0:
driver: centrino
CPUs which need to switch frequency at the same time: 0
hardware limits: 600 MHz - 1.60 GHz
available frequency steps: 600 MHz, 800 MHz, 1000 MHz, 1.20 GHz, 1.40 GHz, 1.60 GHz
available cpufreq governors: performance
current policy: frequency should be within 600 MHz and 1.60 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 1.60 GHz (asserted by call to hardware).

steevols 02-07-2007 07:56 PM

Thanks...
 
Thanks for all the help guys, to all appearances I've got it working now.


All times are GMT -5. The time now is 08:41 AM.