Cpuspeed Reboot Loop on Dual Opteron



I recently had a problem with a dual Opteron system going into an infinite reboot situation after upgrading to Fedora Core 6 from Fedora Core 4. It turns out the culprit is the cpuspeed package – as soon as this service was starting, the system would reboot instantly. My guess is that there is some incompatibility with the Dual Opteron CPU, as I have seen some posts in bugzilla about this. Here is information on the cpuspeed package:

---------------------------------------------------------------------
Fedora Update Notification
FEDORA-2007-045
2007-01-10
---------------------------------------------------------------------

Product : Fedora Core 6
Name : cpuspeed
Version : 1.2.1
Release : 1.43.fc6
Summary : CPU frequency adjusting daemon
Description :
cpuspeed is a daemon that dynamically changes the speed
of your processor(s) depending upon its current workload
if it is capable (needs Intel Speedstep, AMD PowerNow!,
or similar support).

---------------------------------------------------------------------
Update Information:

This update contains numerous fixes for long-standing
cpuspeed bugs, including a config file overhaul and enhanced
support for in-kernel cpu frequency scaling methods, along
with some actual documentation.
---------------------------------------------------------------------
* Wed Jan 10 2007 Jarod Wilson
- Turn on ia64 builds (#216702)
- Fix status on xen kernels
- Manify 'cpuspeed --help' along with other details (#172655)
- Tweak cpuspeed default thresholds (#147565)
- Let non-centrino/powernow-k8 systems also use other
validated governors (#219926)
- Fix cpuspeed daemon options settings (#221829)
- Fix status and condrestart for centrino/powernow-k8 (#219926)
- Give feedback when loading/unloading a cpufreq governor
- Rework config file and initscript to make it much easier
for end-users to adjust frequency scaling setup (#151761)
- Log start/stop events with useful info
- Don't start on xen kernels (freq scaling not supported)
* Thu Dec 14 2006 Jarod Wilson
- Set lock file for centrino/powernow-k8 so status
indicates we do have scaling working
- Fix up centrino/powernow-k8 stop function (#213999)

---------------------------------------------------------------------
This update can be downloaded from:
http://download.fedora.redhat.com/pub/fedora/linux/core/u...

bdc6f00965089fb37b8f4dcb585238061baf7b03 SRPMS/cpuspeed-1.2.1-1.43.fc6.src.rpm
bdc6f00965089fb37b8f4dcb585238061baf7b03 noarch/cpuspeed-1.2.1-1.43.fc6.src.rpm
a953114b8fb0d3fa1d08257638d161627d0b703c ppc/debug/cpuspeed-debuginfo-1.2.1-1.43.fc6.ppc.rpm
689e52f747f281d8466f9ae13bf128785e22c567 ppc/cpuspeed-1.2.1-1.43.fc6.ppc.rpm
913d717e45d1c97ae336ab4e75c06e69e1514cdc x86_64/cpuspeed-1.2.1-1.43.fc6.x86_64.rpm
ebe664e8d0b5321bc5118f54c9c661cba2afa031
x86_64/debug/cpuspeed-debuginfo-1.2.1-1.43.fc6.x86_64.rpm
3a8824baab216c2074266e0416dae63bdb3902a7 i386/debug/cpuspeed-debuginfo-1.2.1-1.43.fc6.i386.rpm
34c451f50cd1ce88086fbcbd4ca66db6371f83c4 i386/cpuspeed-1.2.1-1.43.fc6.i386.rpm

This update can be installed with the 'yum' update program. Use 'yum update
package-name' at the command line. For more information, refer to 'Managing
Software with yum,' available at http://fedora.redhat.com/docs/yum/.
---------------------------------------------------------------------

In order to fix your system, boot into single user mode, and disable cpuspeed:

chkconfig --level 123456 cpuspeed off

alternatively you can uninstall the package:

rpm -e cpuspeed

Your system should now boot properly.