Bug 616976
| Summary: | cpuspeed does not reset MIN/MAX values when config file is emptied | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | François Cami <contribs> | ||||
| Component: | cpuspeed | Assignee: | Petr Šabata <psabata> | ||||
| Status: | CLOSED ERRATA | QA Contact: | John Brier <jbrier> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 6.0 | CC: | czhang, emcnabb, ovasik, psabata, qcai | ||||
| Target Milestone: | beta | Keywords: | Patch, RHELNAK | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | cpuspeed-1.5-17.el6 | Doc Type: | Bug Fix | ||||
| Doc Text: |
Cause: The cpuspeed does not reset MIN/MAX values, when config file is emptied.
Consequence: The MIN_SPEED or MAX_SPEED values weren't reset properly.
Fix: Conditionals in init script were added to check these values.
Result: The MIN_SPEED or MAX_SPEED values are reset properly.
|
Story Points: | --- | ||||
| Clone Of: | 616507 | Environment: | |||||
| Last Closed: | 2012-10-25 13:10:40 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 767187, 836169 | ||||||
| Attachments: |
|
||||||
|
Description
François Cami
2010-07-21 20:58:01 UTC
Created attachment 433500 [details]
patch for /etc/init.d/cpuspeed
This issue has been proposed when we are only considering blocker issues in the current Red Hat Enterprise Linux release. ** If you would still like this issue considered for the current release, ask your support representative to file as a blocker on your behalf. Otherwise ask that it be considered for the next Red Hat Enterprise Linux release. ** This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative. fyi, reproduced only while using ondemand, could not reproduce with userspace governor: [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# grep MHz /proc/cpuinfo cpu MHz : 1400.000 cpu MHz : 1400.000 cpu MHz : 1400.000 cpu MHz : 1400.000 [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies 3700000 3300000 2900000 2400000 1900000 1400000 [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# vim /etc/sysconfig/cpuspeed [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# service cpuspeed restart Disabling ondemand cpu frequency scaling: [ OK ] Enabling ondemand cpu frequency scaling: [ OK ] [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# tail /var/log/messages <snip unrelated messages> Oct 2 13:02:50 server cpuspeed: Enabling userspace cpu frequency scaling governor Oct 2 13:03:20 server cpuspeed: Enabling userspace cpu frequency scaling governor Oct 2 14:43:06 server cpuspeed: Enabling ondemand cpu frequency scaling governor Oct 2 14:43:06 server kernel: CPUFREQ: Per core ondemand sysfs interface is deprecated - ignore_nice_load Oct 2 14:49:21 server cpuspeed: Disabling ondemand cpu frequency scaling governor Oct 2 14:49:21 server cpuspeed: Enabling ondemand cpu frequency scaling governor Oct 2 14:49:21 server kernel: CPUFREQ: Per core ondemand sysfs interface is deprecated - ignore_nice_load [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# grep MHz /proc/cpuinfo cpu MHz : 1900.000 cpu MHz : 1900.000 cpu MHz : 1900.000 cpu MHz : 1900.000 [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# vim /etc/sysconfig/cpuspeed [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# service cpuspeed restart Disabling ondemand cpu frequency scaling: [ OK ] Enabling ondemand cpu frequency scaling: [ OK ] [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# vim /etc/sysconfig/cpuspeed [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# !grep grep MHz /proc/cpuinfo cpu MHz : 1900.000 cpu MHz : 1900.000 cpu MHz : 1900.000 cpu MHz : 1900.000 [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# rpm -q cpuspeed cpuspeed-1.5-15.el6.x86_64 [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# grep _SPEED /etc/sysconfig/cpuspeed MAX_SPEED= MIN_SPEED= [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# VERIFIED: [root@server cpuspeed-1.5-17.el6.x86_64.rpm-dir]# cd [root@server ~]# rpm -Uvh cpuspeed-1.5-17.el6.x86_64.rpm Preparing... ########################################### [100%] 1:cpuspeed ########################################### [100%] [root@server ~]# vim /etc/sysconfig/cpuspeed [root@server ~]# !grep grep _SPEED /etc/sysconfig/cpuspeed MAX_SPEED= MIN_SPEED= [root@server ~]# grep MHz /proc/cpuinfo cpu MHz : 1900.000 cpu MHz : 1900.000 cpu MHz : 1900.000 cpu MHz : 1900.000 [root@server ~]# service cpuspeed restart Disabling ondemand cpu frequency scaling: [ OK ] Enabling ondemand cpu frequency scaling: [ OK ] [root@server ~]# grep MHz /proc/cpuinfo cpu MHz : 1400.000 cpu MHz : 1400.000 cpu MHz : 1400.000 cpu MHz : 1400.000 [root@server ~]# Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-1404.html |