Bug 616507
Summary: | cpuspeed does not reset MIN/MAX values when config file is emptied | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | François Cami <fdc> | ||||
Component: | cpuspeed | Assignee: | Petr Šabata <psabata> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | psabata | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | cpuspeed-1.5-14.fc13 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 616524 616976 (view as bug list) | Environment: | |||||
Last Closed: | 2010-07-27 02:21:20 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: | 616524 | ||||||
Attachments: |
|
cpuspeed-1.5-14.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/cpuspeed-1.5-14.fc13 Thank you for the patch. This should now be fixed in 1:1.5-14 in both Fedora 13 and Rawhide. Petr, You are welcome. The koji build: http://koji.fedoraproject.org/koji/buildinfo?buildID=184831 fixes the bug on my Athlon X2. I suppose bodhi will close this bug once the package is pushed to updates. (In reply to comment #3) > Petr, > > You are welcome. > > The koji build: > http://koji.fedoraproject.org/koji/buildinfo?buildID=184831 > fixes the bug on my Athlon X2. > > I suppose bodhi will close this bug once the package is pushed to updates. Yes, it does so once the maximum positive karma (three in this case) is reached or certain amount of time passes. cpuspeed-1.5-14.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cpuspeed'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/cpuspeed-1.5-14.fc13 cpuspeed-1.5-14.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 433207 [details] patch for /etc/init.d/cpuspeed Description of problem: When MIN_SPEED (resp. MAX_SPEED) is set in /etc/sysconfig/cpuspeed, and then removed, /etc/init.d/cpuspeed does not reset the value to the CPU minimum (resp. maximum) frequency. Version-Release number of selected component (if applicable): cpuspeed-1.5-13.fc13.x86_64 How reproducible: Always Steps to Reproduce: 0. check CPU frequency using cat /proc/cpuinfo 1. Set MIN_SPEED in /etc/sysconfig/cpuspeed to a suitable value superior to the CPU's minimum frequency 2. restart cpuspeed 3. Unset MIN_SPEED (restore configuration file) 4. restart cpuspeed 5. check CPU frequency using cat /proc/cpuinfo Actual results: CPU frequency in step 5 is equal to the MIN_SPEED set at step 1. Expected results: CPU frequency in steps 0 and 5 are identical. Additional info: This is because the cpuspeed script does not reset the values when the {MIN_SPEED,MAX_SPEED} variables are empty. A (crude) patch to do that is attached.