Gentoo Archives: gentoo-user

From: Joost Roeleveld <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cpufrequtils can't find expected /sys/devices/system/cpu/cpufreq
Date: Thu, 24 Apr 2014 09:28:43
Message-Id: 1538337.Q2LouCSYvm@eve
In Reply to: Re: [gentoo-user] cpufrequtils can't find expected /sys/devices/system/cpu/cpufreq by Neil Bothwick
1 On Thursday 24 April 2014 10:13:39 Neil Bothwick wrote:
2 > On Thu, 24 Apr 2014 02:27:05 -0400, Walter Dnes wrote:
3 > > [aa1][root][/usr/src/linux] /etc/init.d/cpufrequtils start
4 > >
5 > > * Caching service dependencies ... [ ok ]
6 > > * Running cpufreq-set --governor conservative -- ...
7 > >
8 > > /usr/libexec/cpufrequtils-change.sh: line 26: cd:
9 > > /sys/devices/system/cpu/cpufreq: No such file or directory [ !! ]
10 > >
11 > > * ERROR: cpufrequtils failed to start
12 >
13 > I get a similar message, it appears to be looking in the wrong place.
14 >
15 > /sys/devices/system/cpu/cpufreq does not exist but
16 > /sys/devices/system/cpu/cpu{0..3}/cpufreq do
17
18 Strange, on my system it does exist:
19
20 # ls -lsa /sys/devices/system/cpu/cpufreq*
21 total 0
22 0 drwxr-xr-x 2 root root 0 Apr 24 11:19 .
23 0 drwxr-xr-x 10 root root 0 Apr 24 07:06 ..
24 0 -r--r--r-- 1 root root 4096 Apr 24 11:19 boost
25
26 along with the cpu{0..3} options.
27
28 When going through the CPUFREQ options in menuconfig, the following option
29 mentions a "boost" entry:
30 **********
31 CONFIG_X86_ACPI_CPUFREQ_CPB:
32 The powernow-k8 driver used to provide a sysfs knob called "cpb"
33 to disable the Core Performance Boosting feature of AMD CPUs. This
34 file has now been superseeded by the more generic "boost" entry.
35
36 By enabling this option the acpi_cpufreq driver provides the old
37 entry in addition to the new boost ones, for compatibility reasons.
38
39 Symbol: X86_ACPI_CPUFREQ_CPB [=y]
40 Type : boolean
41
42 Prompt: Legacy cpb sysfs knob support for AMD CPUs
43 *********
44
45 --
46 Joost

Replies

Subject Author
Re: [gentoo-user] cpufrequtils can't find expected /sys/devices/system/cpu/cpufreq Neil Bothwick <neil@××××××××××.uk>