You are not logged in.
Hi all,
I have a problem. When I trying set up the CPU Frequency Scaling with cpupower, I stuck a problem. The acpi_cpufreq module is not loading. Digging the google and try dozen of tips, but I could not solve, so ask for the guru's Here is some info:
[root@archie ~]# modprobe acpi-cpufreq
modprobe: ERROR: could not insert 'acpi_cpufreq': No such device
[root@archie ~]# uname -a
Linux archie 3.9.2-1-ARCH #1 SMP PREEMPT Sat May 11 20:31:08 CEST 2013 x86_64 GNU/Linux
[root@archie ~]# cat /etc/default/cpupower
# Define CPUs governor
# valid governors: ondemand, performance, powersave, conservative, userspace.
governor='ondemand'
# Limit frequency range
# Valid suffixes: Hz, kHz (default), MHz, GHz, THz
min_freq="1.2GHz"
max_freq="2.92GHz"
# Specific frequency to be set.
# Requires userspace governor to be available.
# Do not set governor field if you use this one.
#freq=
# Utilizes cores in one processor package/socket first before processes are
# scheduled to other processor packages/sockets.
# See man (1) CPUPOWER-SET for additional details.
#mc_scheduler=
# Utilizes thread siblings of one processor core first before processes are
# scheduled to other cores. See man (1) CPUPOWER-SET for additional details.
#smp_scheduler=
# Sets a register on supported Intel processore which allows software to convey
# its policy for the relative importance of performance versus energy savings to
# the processor. See man (1) CPUPOWER-SET for additional details.
#perf_bias=
# vim:set ts=2 sw=2 ft=sh et:
cpuinfo : http://pastebin.com/MWkczBjk
lshw : http://pastebin.com/ghDrJmhw
I tried the p4_clockmod module, and some success, but doesn't change the the frequency, just fixed the factory 2.4 Ghz. I don't want use this, because not exactly to my CPU.
Please, help me...
Last edited by chuck79 (2013-05-19 13:55:26)
Offline
The 3.9 kernel has a new driver to manage Intel processors, it doesn't use acpi_cpufreq anymore. I think if you run dmesg, you should see "intel pstate" somewhere. That's the new driver which replaces acpi_cpufreq.
Offline
https://bbs.archlinux.org/viewtopic.php … 3#p1270143 says
For now, the driver only runs on sandybridge Cpu's.
Offline
it's true, I not found any clue to this module:
[root@archie ~]# ls -1 /usr/lib/modules/`uname -r`/kernel/drivers/cpufreq
acpi-cpufreq.ko.gz
cpufreq_conservative.ko.gz
cpufreq_powersave.ko.gz
cpufreq_stats.ko.gz
cpufreq_userspace.ko.gz
mperf.ko.gz
p4-clockmod.ko.gz
pcc-cpufreq.ko.gz
powernow-k8.ko.gz
speedstep-lib.ko.gz
Offline
it's true, I not found any clue to this module...
It's not a module; it's hard-coded into 2.9.3-1-ARCH:
% zgrep PSTATE /proc/config.gz
CONFIG_X86_INTEL_PSTATE=y
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thanks, you're right, and active to my kernel:
[root@archie ~]# zcat /proc/config.gz | grep PSTATE
CONFIG_X86_INTEL_PSTATE=y
Unfortunetly, my CPU is not *bridge..
Offline
Solved. Update the BIOS and problem gone.
Thank you!
Offline
Well, I do have an IvyBridge CPU, but how do I set the desired scaling behaviour?
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors shows only performance and powersave, and trying to load the 'cpufreq_ondemand' kernel module does not have any effect. Strange thing is that the module is not even listed by `lsmod` although `modprobe` returns 0...
Last edited by lynix (2013-05-22 07:14:01)
Offline
I isn't a module, it's hard coded into the the kernel. You need to use the pstate patch currently to get pstates working with ivy CPUs. See the patch in the linux-ck package for an example, or search these forums.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I isn't a module, it's hard coded into the the kernel. You need to use the pstate patch currently to get pstates working with ivy CPUs. See the patch in the linux-ck package for an example, or search these forums.
I'm using linux-ck-ivybridge from your repo, so I should already be using a patched kernel, shouldn't I?
Offline