Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41825 - sys-apps/cpudyn - fixes to detect and load CPU governors
Summary: sys-apps/cpudyn - fixes to detect and load CPU governors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-16 13:54 UTC by Karl Trygve Kalleberg (RETIRED)
Modified: 2004-03-08 18:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cpudyn.init-governor-fix.diff (cpudyn.init-governor-fix.diff,1.40 KB, patch)
2004-02-16 13:55 UTC, Karl Trygve Kalleberg (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-02-16 13:54:01 UTC
The current init.d script doens't ensure that the proper CPU governors are present. The attached fix will try to load them, then ensure that they are in fact present, and bail out if not. 

This will only kick in if the script has determined that we're doing a 2.5/2.6-style CPUfreq.
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-02-16 13:55:49 UTC
Created attachment 25728 [details, diff]
cpudyn.init-governor-fix.diff

It may be that we should do something similar for ACPI, but I've not tested for
this. The modprobe -q cpufreq_powersave stuff should be harmless. No output
will be made if the module is already loaded or it's absent altogether (ie, the
user has these compiled-in).
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-03-08 18:46:56 UTC
in cvs now.