LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-27-2006, 05:51 PM   #1
LinLenLap
LQ Newbie
 
Registered: Aug 2006
Distribution: Ubuntu 6.06
Posts: 4

Rep: Reputation: 0
Celeron M CPU won't scale frequency


Hi,

I'm running Ubuntu 6.06 (2.6.15-26-686) on a Lenovo laptop. I've been trying to enable CPU scaling on my Celeron M processor. I want to use the ondemand governor. At this point I'd settle for it just working, but the ondemand governor seems much preferable to userspace solutions like powernowd.

I found a possible solution at this locatino on the web, plenz.com/thinkpad_R50e#cpufreq (can't post url's yet, sorry) which seems to be a solution, but I don't understand it.

For instance, I'm told to "load the following kernel modules: p4_clockmod, cpufreq_userspace and speedstep_lib. Best is to add these modules to /etc/modules."

How do I do that? Should I really do that? Then the writer suggests I "set the CPU frequency manually, by echo'ing the MHz values in one of the files placed under /sys/devices/system/cpu/cpu0/cpufreq. It is however much handier to use a governor or a daemon for this. I used to use cpufreqd to do that. Now I use the kernel governor ondemand to do that job."

Again, this sounds like what I want to do, but how?

There is also a script on that site, but I didn't think ondemand needed one. I'm very unsure about all of this.

I would have attached the file I made with my lscip and dmesg but I can't seem to attach files. I'm going to post an edited version of both. I'm those things which I know aren't related, because they work fine. If someone could tell me how to do this better I would appreciate that as well.

Best,

UPDATE:

Ok, so I removed the LSPCI and DMSG outputs because I have since rebuilt my kernel, compiling the 2.6-17-11 version. In it I selected a Celeron M processor and added all the possibilities for powermanagement, enabling powernowd and governors in the kernel. However, it still doesn't want to scale back my CPU speed. I think, however, that it is set to use "performance" as the default. How do i change that, because I think that's all I have left to do at this point.

Last edited by LinLenLap; 08-29-2006 at 05:25 PM.
 
Old 09-03-2006, 03:45 PM   #2
LinLenLap
LQ Newbie
 
Registered: Aug 2006
Distribution: Ubuntu 6.06
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, so I found one solution.

I recompiled my kernel, enabled ondemand, and changed my processor to celeron (petium M compatible). Restarted, changed the default governor to ondemand, uninstalled powernowd.

Then I was in scaling heaven. The downside is that celeron M's don't get the battery improvement's that pentium m's do from this. Though, I get the sense that my fan kicks in less often and last less time when the CPU is running lower.

I'll post better instructions if someone requires it, for now, I just want you to know that it's possible. What would be ideal is if those changes could be made against a running kernel. Since making your own non-vanilla means the forums are less useful for troubleshooting anytime someone says the command "uname -r" is needed.

Best,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU frequency problem septanla Linux - Hardware 1 04-20-2006 09:59 PM
cpu frequency scaling....anyone? alaios Linux - General 3 06-07-2005 10:51 AM
wrong cpu frequency dresnu Mandriva 12 03-08-2005 05:11 PM
Celeron CPU? Asger Linux - Hardware 7 09-14-2004 05:41 PM
celeron cpu alaios Linux - General 4 09-22-2003 01:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration