Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Wrong CPU speeds assigned with cpufreq
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
DDMask
n00b
n00b


Joined: 10 Jun 2008
Posts: 4

PostPosted: Sat Jul 12, 2008 1:55 pm    Post subject: [solved] Wrong CPU speeds assigned with cpufreq Reply with quote

So I'm fairly new to Gentoo, and I've gotten 2 computers up and running without resorting to postingon the gentoo forums, until now. I have a hand-me-down Toshiba Satellite M50 which is basically fully functional, except for the fact that with the p4-clockmod cpu scaling module, My 2.0Ghz centrino CPU is limited to 1.5Ghz. Not that big of a deal, but when emerging things, that 25% decrease makes a big difference.

Code:
cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family   : 6
model      : 13
model name   : Intel(R) Pentium(R) M processor 2.00GHz
stepping   : 8
cpu MHz      : 187.500
cache size   : 2048 KB
fdiv_bug   : no
hlt_bug      : no
f00f_bug   : no
coma_bug   : no
fpu      : yes
fpu_exception   : yes
cpuid level   : 2
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe bts est tm2
bogomips   : 3993.12
clflush size   : 64


Code:
cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: p4-clockmod
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 188 MHz - 1.50 GHz
  available frequency steps: 188 MHz, 375 MHz, 563 MHz, 750 MHz, 938 MHz, 1.13 GHz, 1.31 GHz, 1.50 GHz
  available cpufreq governors: conservative, userspace, powersave, ondemand, performance
  current policy: frequency should be within 188 MHz and 1.50 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 188 MHz (asserted by call to hardware).

Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
187500 375000 562500 750000 937500 1125000 1312500 1500000


So is there any way to go about allowing 2.0Ghz as the maximum frequency?


Last edited by DDMask on Sat Jul 12, 2008 7:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
Carsomyr
n00b
n00b


Joined: 24 Mar 2008
Posts: 36
Location: Pretoria, South-Africa

PostPosted: Sat Jul 12, 2008 6:22 pm    Post subject: Reply with quote

For a Centrino cpu you should not be using the p4-clockmod driver.

You should be using the ACPI Procesor P-states driver which is acpi-cpufreq.

If it is compiled as a module you should only need to
Code:
modprobe -r p4-clockmod
modprobe acpi-cpufreq


otherwise you may need to check your kernel config to make sure that you enabled it. Compiling it into the kernel (Y instead of M) is the easiest as then it will always be loaded
Back to top
View user's profile Send private message
DDMask
n00b
n00b


Joined: 10 Jun 2008
Posts: 4

PostPosted: Sat Jul 12, 2008 7:22 pm    Post subject: Reply with quote

That got it, thanks bud.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum