LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-20-2006, 08:39 PM   #1
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Rep: Reputation: 30
ACPI and cpufreq question


i compiled 2.6 kernel - all modules of ACPI and trying to
use cpufreq...

i looked in LQ and found this:
http://thinkwiki.org/wiki/How_to_mak...quency_Scaling

l /sys/devices/system/cpu/cpu0/cpufreq/
total 0

modprobe cpufreq_performance cpufreq_ondemand cpufreq_conservative cpufreq_powersave cpufreq_userspace
FATAL: Error inserting cpufreq_performance (/lib/modules/2.6.122/kernel/drivers/cpufreq/cpufreq_performance.ko): Unknown symbol in module, or unknown parameter (see dmesg)

l /lib/modules/2.6.122/kernel/drivers/cpufreq total 24
-rw-r--r-- 1 root root 3239 2006-08-21 03:38 cpufreq_performance.ko
-rw-r--r-- 1 root root 2783 2006-08-21 03:38 cpufreq_powersave.ko
-rw-r--r-- 1 root root 6244 2006-08-21 03:38 cpufreq_stats.ko
-rw-r--r-- 1 root root 4914 2006-08-21 03:38 freq_table.ko

cpufreq_ondemand is built as part of the kernel

/proc/acpi/processor/CPU0]# cat info
processor id: 0
acpi id: 1
bus mastering control: no
power management: no
throttling control: yes
limit interface: yes

/proc/acpi/processor/CPU0]# cat limit \
>
active limit: P0:T0
user limit: P0:T0
thermal limit: P0:T0

/proc/acpi/processor/CPU0]# cat power
active state: C0
max_cstate: C8
bus master activity: 00000000
states:

/proc/acpi/processor/CPU0]# cat throttling
state count: 8
active state: T0
states:
*T0: 00%
T1: 12%
T2: 25%
T3: 37%
T4: 50%
T5: 62%
T6: 75%
T7: 87%

Last edited by ygloo; 08-20-2006 at 08:51 PM.
 
Old 08-21-2006, 01:05 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
On my Gentoo system I have to start a "cpufreqd" service before I can load the module successfully. If you have a similar service in /etc/init.d or /etc/rc.d (depending on your distro, which you fail to mention) I suggest you start it...
 
Old 08-21-2006, 05:51 AM   #3
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
cpufreq_ondemand is built as part of the kernel
 
Old 08-21-2006, 02:03 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
cpufreq_ondemand is built as part of the kernel
Right, that's the kernel module. What I am saying is you may also have to start a userspace daemon to get this to work. I am saying this because on my laptop, if I do not start this cpufreqd before modprobing the kernel module I get the exact same error as you posted.
 
Old 08-21-2006, 02:22 PM   #5
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
cpufreq_ondemand is not compiled as a module...
i chose <*> option in menuconfig... it is part of the kernel...
do i have to modprobe cpufreq_ondemand to acivate it??

i saw in http://thinkwiki.org/wiki/How_to_mak...quency_Scaling
that all i have to do is:
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Last edited by ygloo; 08-21-2006 at 02:56 PM.
 
Old 08-22-2006, 08:27 PM   #6
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
Linux supports dynamic frequency scaling for systems with the following processors:

* Intel Mobile Pentium III
* Intel Mobile Pentium III-M
* Intel Mobile Pentium 4
* Intel Mobile Pentium 4-M
* Intel Pentium M (Banias)
* Intel Pentium M (Dothan)
* Intel Core Solo (Yonah)
* Intel Core Duo (Yonah)
* Mobile Athlon
* AMD64
* Opteron
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I know if my system supports ACPI and cpufreq? [KIA]aze Linux - Kernel 2 11-07-2006 04:12 PM
FATAL: Error inserting acpi cpufreq in fedora 4 CapCavernaX Linux - Newbie 14 10-21-2006 01:01 PM
cpufreq and acpi thermal zones Nic+Tux+Duke Linux - General 3 05-04-2006 07:32 PM
Changing ACPI cpufreq when running on battery Yalla-One Slackware 4 12-12-2005 08:15 AM
What's the deal with ACPI, cpufreq, and powernow-k7 on Emachines m5310 adamis Linux - Laptop and Netbook 10 02-14-2004 01:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:20 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