LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-15-2009, 02:20 AM   #1
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Rep: Reputation: 55
cpu frequency scaling with Pentium(R) Dual-Core CPU E5200 @ 2.50GHz


Hello!
I am configuring the 2.6.30.4 kernel for the hardware on my system. The
problem is that I cannot determine whether the cpufrequency scaling
driver for my processor is supported. Here is some info on my processor:

Code:
cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz
stepping        : 6
cpu MHz         : 2499.990
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 4999.98
clflush size    : 64
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz
stepping        : 6
cpu MHz         : 2499.990
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 4999.94
clflush size    : 64
power management:
My question is whether my processor is supported by the linux kernel and if yes, which option I need to enable?

Thank you very much for your attention.
Regards,
Martin
 
Old 08-15-2009, 06:06 AM   #2
easuter
Member
 
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 538

Rep: Reputation: 62
Hi tramni1980,

Try inserting the kernel module and see if any errors occur:

Code:
modprobe acpi_cpufreq
If you get no error messages then you should be ok.
Then you must install cpufreq-utils to actually fiddle with the CPU clock/mode. You can download the Slackbuild here: http://slackbuilds.org/repository/12.../cpufrequtils/

Hope that helps
 
Old 08-15-2009, 06:33 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
This page may be helpful too. Please update this thread with your experience; I'm planning on following it myself some time.
 
Old 08-15-2009, 11:00 PM   #4
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
You don't need cpufrequtils for cpu frequency scaling anymore.
The modern linux desktops do it through HAL, pm-utils and the desktop enviroments power manager.
I think all modern processors support it.
 
Old 08-16-2009, 01:16 AM   #5
chuckie
LQ Newbie
 
Registered: Jul 2009
Location: Blm. IL. USA
Distribution: slackware
Posts: 13

Rep: Reputation: 0
The Pentium Dual-Core looks similar to the Core2 I use. Here is how I configured cpu scaling. In kernel configuration under "Power management and APCI options"

enable ACPI
enable CPU Frequency scaling
set "ondemand" as Default CPUFreq governor
enable as module "ACPI Processor P-States driver"

then build new kernel and install.
Edit file /etc/rc.d/rc.modules, near the bottom uncomment the line
/sbin/modprobe acpi-cpufreq

reboot computer.
 
Old 08-16-2009, 08:29 AM   #6
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Thumbs up

Thank you all very much for your advice.
The module acpi-cpufreq did the job.

Now I have a working ondemand cpu frequency scaling.

Thank you all very much again.

Regards,
Martin
 
  


Reply



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
which CPUFreq processor driver for Pentium(R) Dual-Core CPU E5200 @ 2.50GHz ? tramni1980 Linux - Kernel 0 08-08-2009 07:40 AM
cpu frequency scaling tramni1980 Slackware 5 12-27-2008 11:51 AM
P4 and CPU Frequency scaling tkalfaoglu Linux - Kernel 3 05-31-2006 09:56 AM
Kernel Upgrade seems to have killed cpu frequency scaling on a Pentium M Laptop xpromisex Linux - Laptop and Netbook 0 04-23-2006 07:07 PM
CPU frequency scaling on Pentium M Khang Linux - Laptop and Netbook 2 03-23-2005 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:24 PM.

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