WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [solved] Cpu frequency [solved]  (Read 3898 times)

Offline storckm

  • Newbie
  • *
  • Posts: 10
[solved] Cpu frequency [solved]
« on: March 18, 2010, 10:56:29 PM »
When I boot up the computer, the minimum frequence is 163MHz, the maximum 1.30GHz. The minimum should be 75MHz and the maximum 1.73GHz. Rebooting seems to solve the problem. I have no idea why, and I'd like not to have to reboot.

bootlocal.sh includes:

sudo modprobe p4-clockmod
sudo cpufreq-set -g ondemand

boot options in grub:

home=sda1 tce=sda1 opt=sda1

installed apps include:

coreutils.tcz
conky.tcz
cpufreq-2.6.29.1-tinycore.tcz
cpufrequtils.tcz
cpufreqd.tcz

I'd appreciate any help, or pointers to a relevant thread, if I've missed it.
« Last Edit: March 26, 2010, 09:10:40 AM by storckm »
IBM Thinkpad R52, pentium M, 1.73GHz, 1Gb RAM.
I've used linux for a year and a bit. I started with Puppy, have tried Zenwalk and Xubuntu. I'm currently using TC 2.10rc1, Puppy, Crunchbang, and Slackware.
Primary use: document editing.
Also internet, movies, music, midi.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Cpu frequency
« Reply #1 on: March 19, 2010, 01:37:57 AM »
I don't have the hardware to try, but is p4-clockmod the correct module for your cpu? What cpu do you have?

If p4-clockmod is the correct module for your cpu, what does "modinfo p4-clockmod" say - maybe there are some options to set?

Offline storckm

  • Newbie
  • *
  • Posts: 10
Re: Cpu frequency
« Reply #2 on: March 20, 2010, 12:26:41 PM »
I'm pretty sure it's the right module. At least, after rebooting, it works perfectly, and it at least sort of works on startup. Although my CPU is Pentium M, which was based on Pentium 3. Would that be a problem?  It seems strange to me that it only works right after rebooting.
modinfo says:

filename: /lib/modules/2.6.29.1-tinycore/kernel.tclocal/arch/x86/kernel/cpu/cpufreq/p4-clockmod.ko.gz
license: GPL
description: cpufreq driver for Pentium(TM) 4/Xeon(TM)
author: Zwane Mwaikambo
depends: freq_table,speedstep-lib
vermagic: 2.6.29.1-tinycore SMP mod_unload 486
IBM Thinkpad R52, pentium M, 1.73GHz, 1Gb RAM.
I've used linux for a year and a bit. I started with Puppy, have tried Zenwalk and Xubuntu. I'm currently using TC 2.10rc1, Puppy, Crunchbang, and Slackware.
Primary use: document editing.
Also internet, movies, music, midi.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Cpu frequency
« Reply #3 on: March 20, 2010, 02:29:13 PM »
You could try acpi-cpufreq instead of p4-clockmod for the pentium m, maybe?

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Cpu frequency
« Reply #4 on: March 20, 2010, 05:48:44 PM »
Could run cpufreq-info?

Offline storckm

  • Newbie
  • *
  • Posts: 10
Re: Cpu frequency
« Reply #5 on: March 23, 2010, 08:54:21 PM »
Acpi-cpufreq gave an even narrower and more inadequate range of available frequencies.
Cpufreq-info gives:

cpufrequtils 006: cpufreq-info  . . .
analyzing CPU 0:
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 0.00 ms.
hardware limits: 163MHz - 1.30 GHz
available frequency steps: 163 MHz, 325 MHz, 488 MHz, 650 MHz, 813 MHz, 975 MHz, 1.14 GHz, 1.30 GHz
available cpufreq governors: ondemand, performance
current policy: frequency should be within 163MHz and 1.30 GHz.
The governor "ondemand" may decide which speed to use within this range.
current CPU frequency is 163 MHz

I'll run it again after I've restarted.
Mike
IBM Thinkpad R52, pentium M, 1.73GHz, 1Gb RAM.
I've used linux for a year and a bit. I started with Puppy, have tried Zenwalk and Xubuntu. I'm currently using TC 2.10rc1, Puppy, Crunchbang, and Slackware.
Primary use: document editing.
Also internet, movies, music, midi.

Offline storckm

  • Newbie
  • *
  • Posts: 10
Re: Cpu frequency
« Reply #6 on: March 23, 2010, 09:05:18 PM »
After rebooting (same settings and everything), cpufreq-info has this difference:

hw limits: 75.0MHz - 600 MHz

and trying out acpi-cpufreq:

hw limits: 800MHz - 1.73 GHz

and with no cpu modules the frequency seems stuck at 798MHz
IBM Thinkpad R52, pentium M, 1.73GHz, 1Gb RAM.
I've used linux for a year and a bit. I started with Puppy, have tried Zenwalk and Xubuntu. I'm currently using TC 2.10rc1, Puppy, Crunchbang, and Slackware.
Primary use: document editing.
Also internet, movies, music, midi.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Cpu frequency
« Reply #7 on: March 24, 2010, 12:38:34 AM »
do you have a manufacturers data sheet or similar that states conclusively what the available frequency steps should be for your cpu?

Offline storckm

  • Newbie
  • *
  • Posts: 10
Re: Cpu frequency
« Reply #8 on: March 25, 2010, 04:54:06 PM »
Right.
It seems like 800MHz is the lower limit. 75MHz sounds nice, but I guess acpi-cpufreq is right after all.
Thanks
IBM Thinkpad R52, pentium M, 1.73GHz, 1Gb RAM.
I've used linux for a year and a bit. I started with Puppy, have tried Zenwalk and Xubuntu. I'm currently using TC 2.10rc1, Puppy, Crunchbang, and Slackware.
Primary use: document editing.
Also internet, movies, music, midi.