Red Hat Bugzilla – Bug 115595
cpuspeed message during system startup
Last modified: 2007-11-30 17:10:36 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
During system startup I get get an error message referring to a
problem with cpuspeed. Please have a look at the attached screenshot.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Watch the system startup messages
Created attachment 97659 [details]
cpuspeed error message screen shot
Kudzu needs to configure /etc/cpuspeed.conf with the correct module.
On a particular Dell and an IBM A22m, this was the change needed:
This should get rid of your error at boot, it also seems to set the
CPU to the lowest CPU speed (650Mhz on mine) even if the computer is
clean install fc2t1
model name : Celeron (Mendocino)
stepping : 5
cpu MHz : 300.747
# rpm -qf /etc/init.d/cpuspeed `which cpuspeed`
i could not find a working module under
which module should it be ?
# chkconfig --list cpuspeed
cpuspeed 0:Aus 1:Ein 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus
# chkconfig cpuspeed off
solved for me the error while booting
I am seeing the same error message during boot. I have a Tyan Tiger
1832DL (P3 850Mhz).
Same thing here. Athlon Xp 1800+ on a Asus A7n8x deluxe (nforce 2
Maybe adding some checks on kudzu to see if the processor supports
*** Bug 115720 has been marked as a duplicate of this bug. ***
*** Bug 115669 has been marked as a duplicate of this bug. ***
I have the same problem with an Athlon XP 2000+ with kernel 2.6 on FC2
I had the same problem on my IBM ThinkPad T30 with P4 2.4GHz processor.
I edited /etc/cpuspeed.conf (uncommented driver and opts statements
and put p4-clockmod as driver. "service cpuspeed restart and
everything is working fine.
But I would like the ability to set a on_battery_policy as well as an
on_ac_policy(or something along those lines) in the
/etc/cpuspeed.conf, to allow be to specity to ALWAYS run full-throttle
when on AC and ALLWAYS run as-slow-as-possible when on battery or
whatever the user thinks is better for his system (hope i'm making
Perhaps my idea for adding on_batt and on_ac policies should really be
added as a bug to acpid? if acpid could throw a signal to cpuspeed in
the event of going on AC or going on BATTERY, that could pretty easily
be implemented! Please advise me on this, I'll create the bugrepport
if you guys deem nessecery!
*** Bug 116082 has been marked as a duplicate of this bug. ***
adding [ -f /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ] ||
to the cpuspeed init script
would this be a good way to fix it?
*** Bug 116130 has been marked as a duplicate of this bug. ***
not really, no! since the error is not that the file is missing but
rather that the module that's responsible for putting the files there
are not loaded!
Not true. I have a laptop with a Athlon 2500+ mobile cpu in it. If I
tell cpuspeed to load the powernow-k7 module, it says its already
loaded and I still get
the /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor error
that could be a problem with the k7 driver?!?
Anyways, the p4-clockmod driver is what did it for me. Ignoring that
important files are missing from the sys filesystem (indicating that
not all requirements are met) is not the way to go! There's a very
good chance that cpuspeed will not work properly if those files are
Created attachment 97967 [details]
cpuspeed initscript cleanup?
I've made a patch for the cpuspeed initscript from the kernel-utils-18.104.22.168.120
This is an attempt to handle the running processes better, make sure multiple
cpuspeed daemons are not started and printing [ OK ] style messages correctly.
Also eliminates error-messages from attempting to reload an already inserted
please try it out and let me know what you think.
the script might need to be a little more verbose in event of an
error, let me know what you think!
[root@skotti init.d]# patch cpuspeed
patching file cpuspeed
[root@skotti init.d]# ls -l | grep cpuspeed
-rwxr-xr-x 1 root root 1109 24. Feb 17:27 cpuspeed
[root@skotti init.d]# ./cpuspeed restart
Stopping cpuspeed: [ OK ]
I hopefully patched the file correctly (looking at it your changes
apparently are merged into the file).
Restarting cpuspeed right after patching ends with a failure to start
After restart, the the "starting cpuspeed" message as well as
[FEHLGESCHLAGEN] are printed twice during bootup. However, the "no
such file or directory" warning is gone.
Please note that you still have to make sure /etc/cpuspeed.conf is
setup correctly for this to work. I know that you won't get any
indication right now, as to what's going on when it fails - that's
what I meant when I said that it should probably be more verbose. The
patching seems to have gone just fine. The "stop" command succeeds
because there's no cpuspeed processes left running. The "start"
command most likely fails because the proper module has not been loaded!
Please note that this patch has nothing to do with the errors returned
from cpuspeed. If it wouldn't start before, it won't start now! What
it will do, is make sure that things are started/stopped correctly
before returning success, and also makes sure that the cpuspeed daemon
is never started twice!
I'll see what I can do about the messages!
Created attachment 98010 [details]
patch2 (requires the first patch to be applied first)
output from cpuspeed are put in /var/log/messages as well as any module errors.
currently this will mean some Module xxx is already in the kernel messages will
go in there (could be removed if required)
however i'm a little uncertain if there's a "policy" for when a service should
"fail" and when it should "succeed"
this cpuspeed script will return "success" for start as long as the cpuspeed
process is left running. On the other hand it will return success for stop as
long as there is no cpuspeed process left running. I find that this makes sence
- however given httpd as example it will return "success" when it successfully
launches httpd... Any attempt to start again will return "failed". This kinda
makes sense too. So what is the policy on this?
I also have this error. I'm on a dell laptop an Insprion 5000e to be
exact. Heres my /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 547.597
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr sse
bogomips : 1081.34
It seems like you guys got this one down packed. Just wanted to add a
comment about the specific machine im using.
Created attachment 98031 [details]
last patch for the cpuspeed initscript (hopefully)
this patch follows the feel of most of the other initscripts in that it will
fail upon start if already started and fail upon stop if already stopped. In
addition to this, output from cpuspeed an modprobe is removed from stdout and
put into /var/log/messages. (patch against original cpuspeed initscript). out!
*** Bug 117103 has been marked as a duplicate of this bug. ***
*** Bug 117356 has been marked as a duplicate of this bug. ***
same on FC2test1 on Athlon XP 2500
Same on FC2test1 on Celeron 2.0 GHz
The change from comment #12 seems to have been applied.