Gentoo Archives: gentoo-user

From: "Holger Hoffstätte" <holger.hoffstaette@××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: cpufrequtils can't find expected /sys/devices/system/cpu/cpufreq
Date: Thu, 24 Apr 2014 09:35:57
Message-Id: pan.2014.04.24.09.35.27@googlemail.com
In Reply to: Re: [gentoo-user] cpufrequtils can't find expected /sys/devices/system/cpu/cpufreq by Neil Bothwick
1 On Thu, 24 Apr 2014 10:13:39 +0100, Neil Bothwick wrote:
2
3 > On Thu, 24 Apr 2014 02:27:05 -0400, Walter Dnes wrote:
4 >
5 >> [aa1][root][/usr/src/linux] /etc/init.d/cpufrequtils start
6 >> * Caching service dependencies ... [ ok ]
7 >> * Running cpufreq-set --governor conservative -- ...
8 >> /usr/libexec/cpufrequtils-change.sh: line 26: cd:
9 >> /sys/devices/system/cpu/cpufreq: No such file or directory [ !! ]
10 >> * ERROR: cpufrequtils failed to start
11 >
12 > I get a similar message, it appears to be looking in the wrong place.
13 >
14 > /sys/devices/system/cpu/cpufreq does not exist but
15 > /sys/devices/system/cpu/cpu{0..3}/cpufreq do
16
17 It depends on the CPU frequency governor. If CONFIG_X86_INTEL_PSTATE is
18 set and active (depending on your CPU model), the traditional governors
19 (like ondemand) and their correspondig sysfs entries are disabled.
20 For example I have the former (cpufreq) entry on my old core2 laptop,
21 but no such entry on my machines with i5/i7 with pstate despite the same
22 3.12.x kernel everywhere.
23 Generally pstate is much better than ondemand for both performance and
24 especially powersave mode.
25
26 Also AFAIK cpufrequtils are unmaintained/deprecated/dead, you should
27 migrate to sys-power/cpupower. It's slightly different but IIRC easy
28 to switch to.
29
30 -h

Replies

Subject Author
Re: [gentoo-user] Re: cpufrequtils can't find expected /sys/devices/system/cpu/cpufreq Walter Dnes <waltdnes@××××××××.org>