Bug 243220

Summary: What happened to cpufreq support ?
Product: [Fedora] Fedora Reporter: Allan Engelhardt <allane>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-12 20:42:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dmesg output after boot none

Description Allan Engelhardt 2007-06-07 23:56:39 UTC
Description of problem:

There does not appear to be any cpufreq support in the f7 kernel.

After loading all the cpufreq modules

for m in /lib/modules/$(uname -r)/kernel/drivers/cpufreq/*.ko; do 
mod=$(/bin/basename $m .ko);  modprobe -v $mod; done

there are no /sys/devices/system/cpu/cpu*/cpufreq/ directories (and as a
consequence cpufreq-set (from cpufreq-utils-002-1.1.41.fc6) and the gnome applet
(from gnome-applets-2.18.0-7.fc7) are not functioning.

Version-Release number of selected component (if applicable):

kernel-2.6.21-1.3194.fc7

How reproducible:

Completely.  (Reboot does not fix.)  Am I missing something obvious again?

Steps to Reproduce:
1. Load cpufreq modules as above
2. Verify no /sys/devices/system/cpu/cpu*/cpufreq/ directories
3.
  
Actual results:

No directories

Expected results:

Directories

Additional info:

This worked reliably in fc6 ...

Comment 1 Dave Jones 2007-06-11 05:01:12 UTC
dmesg output please ?


Comment 2 Allan Engelhardt 2007-06-11 05:48:41 UTC
Created attachment 156682 [details]
dmesg output after boot

dmesg output attached, as requested.  I can't see anything terribly relevant
there but then I probably do not know what to look for.

Comment 3 Allan Engelhardt 2007-06-11 22:24:10 UTC
Incidentally, not attempting to load the cpufreq modules during boot but then
doing it manually from the console (the for loop above) produces no output in
/var/log/messages.

Comment 4 Allan Engelhardt 2007-07-12 20:42:00 UTC
The interface has changed for F7.  The /etc/rc.d/init.d/cpuspeed (from
cpuspeed-1.2.1-2.fc7) script does the right thing if you set GOVERNOR in
/etc/sysconfig/cpuspeed.  Do ‘service cpuspeed start’ and you can use the usual
tools (cpufreq-utils-002-1.1.41.fc6) or the
/sys/devices/system/cpu/cpu*/cpufreq/ interfaces.

There is still a bug in cpufreq-applet (from gnome-applets-2.18.0-7.fc7) which
means you cannot change the govenor or speed from that application, but that is
not a kernel bug.

Marking this issue as closed.