View Full Version : Cpuspeed daemon wont start
Kitaran
2004-07-22, 09:10 PM CDT
When I run serviceconf and try to start the cpuspeed daemon it says that it was started successfully, however the window still says it is stopped.
I'm not sure where to start looking to solve a problem like this and any help would be appreciated. Thanks
djf_jeff
2004-07-22, 09:35 PM CDT
Try
ps aux | grep cpuspeed
And if you see cpuspeed -d in the result, the service in started
Kitaran
2004-07-22, 09:42 PM CDT
Nope, its not listed. My /proc/cpuinfo says my processer is always running at max.
Viro
2004-07-22, 10:54 PM CDT
You need to edit /etc/cpuspeed.conf and make sure that your CPU driver is loaded. Also, you might need to uncomment the last 2 lines in the file.
Failing that, you might want to take a look at the powernowd daemon. It doesn't come with Fedora core 2, but its easy enough to install. I installed it instead of using cpuspeed because I found cpuspeed a pain to configure on my Athlon64 notebook.
djf_jeff
2004-07-23, 12:01 AM CDT
Viro has it right, you need to specify a driver in cpuspeed.cond, here is mine
VMAJOR=1
VMINOR=1
DRIVER="speedstep-centrino"
#DRIVER="powernow-k7"
#OPTS="-a /proc/acpi/ac_adapter/*/state -t /proc/acpi/thermal_zone/*/temperature 75"
I have just change the driver...
You must also be sure that your cpu support scaling. It's not all CPU that do this
Kitaran
2004-07-23, 12:32 AM CDT
I have an intel pentium M 1.6ghz. It supports scaling and ACPI shows that it recognizes this. I uncommented the last two lines in my cpuspeed.conf, but i dont know if that is the correct driver for my processor. When i booted up WITH the last two lines commented my cpu ran at 600mhz, and never scaled up. With them uncommented my cpu runs at max, and never scales down ;)
djf_jeff
2004-07-23, 01:21 AM CDT
If you have a centrino (yes, it's what you have!), just copy my cpuspeed.conf in your and you will be up!
I have the same thing as you (except it's 1.5ghz) and it scale between 600 and 1500 easily and rapidly.
I have add
acpi=on
in /etc/grub.conf at the kernel line. Here is my grub.conf :
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/hda2
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.6-1.435.2.3)
root (hd0,1)
kernel /boot/vmlinuz-2.6.6-1.435.2.3 ro root=LABEL=/ acpi=on rhgb quiet
initrd /boot/initrd-2.6.6-1.435.2.3.img
Kitaran
2004-07-23, 01:23 AM CDT
That is also in my grub.conf, the script to dynamically change it is not working aka cpuspeed
djf_jeff
2004-07-23, 02:19 AM CDT
Can you paste here the cpuspeed.conf and grub.conf please?
I think we misunderstand each other...
Kitaran
2004-07-23, 05:29 AM CDT
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
title Fedora Core (2.6.6-1.435.2.3)
root (hd0,2)
kernel /vmlinuz-2.6.6-1.435.2.3 ro root=LABEL=/ acpi=on rhgb quiet
initrd /initrd-2.6.6-1.435.2.3.img
VMAJOR=1
VMINOR=1
DRIVER="powernow-k7"
OPTS="-a /proc/acpi/ac_adapter/*/state -t /proc/acpi/thermal_zone/*/temperature 75"
Kitaran
2004-07-23, 11:54 AM CDT
[root@localhost sbin]# ./cpuspeed -d
Error: Could not open file for writing: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
I get that error when i try to run /usr/sbin/cpuspeed -d
djf_jeff
2004-07-23, 07:19 PM CDT
Ok, so, copy this text in /etc/cpuspeed.conf overwritting all the you have :
VMAJOR=1
VMINOR=1
DRIVER="speedstep-centrino"
#DRIVER="powernow-k7"
#OPTS="-a /proc/acpi/ac_adapter/*/state -t /proc/acpi/thermal_zone/*/temperature 75"
After that do : service cpuspeed restart
The problem is that you have the powernow driver, that is made for AMD processor...
Kitaran
2004-07-23, 09:10 PM CDT
Thanks, getting closer, however it says FATAL: Module speedstep_centrino not found.
I'm using the FC2 Kernel 2.6.6-1.435.2.3, I havent touched it besides to install the ipw2100 packages.
micha
2004-07-23, 09:17 PM CDT
Thanks, getting closer, however it says FATAL: Module speedstep_centrino not found.
Try DRIVER="centrino"It works great with my Pentium M 1.7GHz.
Kitaran
2004-07-23, 09:26 PM CDT
It says FATAL: Module centrino not found ;) What is going on?! hehe
Kitaran
2004-07-23, 09:50 PM CDT
I think my problem might stem from the cpufreq module. When I try to use the gnome-cpufreq-applet, it says that i dont have cpufreq. Is there anything I can do to check this out further?
khokho
2004-08-10, 09:36 PM CDT
what's the output of the following in your machine?
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
erikhagg
2004-09-14, 08:52 AM CDT
I might be having the same problem as Kitaran is describing and i have a 1,6 Ghz Pentium M Dothan.
My /sys/devices/system/cpu/cpu0 directory is empty. And thats the main issue of the problem. There is no cpufreq record at all.
On this page http://pmw.org/~gardnerj/Thinkpad/Install.html (see quote below) I read that some kernels doesn't support Dothan processors. Could this possibly be the reason why i don't have the cpufreq directory?
Originally I could not get CPUFREQ and speedstep-centrino working in FC2. I figured that this was because they were not included for some strange reason (even though they were in FC1). I have now been told that they both are actually compiled straight into the FC2 stock kernel, but do not work with the Dothan processor. However, getting the latest FC2 errata kernel from RedHat will fix that. I have not tried this myself, but if you do not want to recompile your kernel, try getting the latest FC2 kernel and see how that works.
Since my knowledge in compiling my own kernel is limited I am just upgrading using up2date. My present kernel is 2.6.8-1.512. Looking through the /boot/config.2.6.8-1.512 kernel config file I can see that the settings under CPU_FREQ and CPU_SCALING seems to be okay. (i can examine this more fully if someone belives that the problem might be discovered here). This is what I know the most resent kernel avaliable for FC2, throgh up2date anyway...
Is there someone who knows exaclty what config options i should be setting if I whould compile my own kernel, with speedstepping support, compared to what i get from the automated installation? Perhaps there are someone with a Dothan processor who has got this to work who could show his/her config file?
Or is there something else i need to do except dealing with the kernel?
I hate Windows being quite n cool while FC2 is noisy and hot! :)
erikhagg
2004-09-14, 10:51 AM CDT
...just a follow up to my above post.
I checked with dmesg command to see what happens during startup. There i found this line:
#dmesg
.
speedstep-centrino: found unsupported CPU with Enhanced SpeedStep.
#
So it seems like my Dothan processor is unsupported in the code of speedstep-centrino module compiled for my kernel (which is .rpm from up2date 2.6.8-1.512). I think this is described on this page: http://www.ccd.uab.es/~jordicj/linux/inspiron510m.php3 under the section "Dothan Speedstep".
So this is probably why I don't have the directory cpufreq then? Is it created upon succesfull loading of speedstep-centrino perhaps...?
oryan_dunn
2007-04-13, 04:05 PM CDT
I seem to be having the same problem as others here. I've just installed FC6 on a P4M laptop. The CPU scaling worked just fine, that is untill I ran the updater and updated all my packages. Now, I get the message that my system doesn't support CPU frequency scaling and the status of cpuspeed remains at "stopped" even though the services configuration reports that it starts successfully. What package update would cause this to stop working? I've tried booting into my older kernel in which the cpu scaling worked, but it doesn't work in that kernel now either. My cpu0 directory under /sys is empty with no cpufreq directory. I've got an older P3 laptop will the same OS and the same updates, and it's cpu scaling still works just fine. Where do I go from here?
Thanks,
Ryan
Dan
2007-04-13, 04:23 PM CDT
Please check the following link for common bugs and issues. Make sure you have not been given the i586 kernel by Anaconda. If you have, follow the procedures on that page to correct that problem first.
http://fedoraproject.org/wiki/Bugs/FC6Common
Dan
oryan_dunn
2007-04-13, 04:54 PM CDT
Thanks for the quick reply. I installed fc6 with "linux i686" to prevent that from happening.
I have, however, fixed the problem. I added "modprobe acpi-cpufreq" to my rc.local script. Now cpu frequency scaling works as it should.
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.