Hi all, I am a fairly recent convert to Suse Linux from Windows and am quite impressed so far, but have an issue which is puzzling me. Please bear in mind that I have no programming or scripting experience at all, so be gentle with me. I am running Suse 10 OSS (fully updated via YOU) on a Dell Dimension 4300, 1.7 Intel P4 Processor, 256Mb Memory, as a non-networked desktop system. For some time now I have been getting the following in /var/log/messages: linux kernel: powernow: This module only works with AMD K7 CPUs Jan 28 14:53:18 linux rcpowersaved: CPU frequency scaling is not supported by your processor. linux rcpowersaved: enter 'CPUFREQD_MODULE=off' in /etc/sysconfig/powersave/cpufreq to avoid this warning. linux rcpowersaved: Cannot load cpufreq governors - No cpufreq driver available linux [powersave]: ERROR (CPUFreq_Kernel:21) Can not set ondemand governor, maybe your cpufreq driver is too slow. linux [powersave]: ERROR (CPUFreq_Kernel:23) Try CPUFREQ_CONTROL=userspace in /etc/sysconfig/powersave/cpufreq. linux [powersave]: ERROR (PM_Interface:231) Cannot create cpufreq objects I decided to do as advised and, via Yast, changed CPUFREQ_MODULE to off, and set CPUFREQ_CONTROL to userspace. I didn't know what to do about the ondemand governor, but guessed that this may be connected to the first line, "CPU frequency scaling not supported" After this, on startup, I now get the following in the log: linux [powersave]: ERROR (CPUFreq_Userspace:42) Could not set userspace governor, seems as if the cpufreq_userspace module is not loaded. linux [powersave]: ERROR (read_line:43) Could not open file for reading: '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies' linux [powersave]: ERROR (read_line:43) Could not open file for reading: '/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq' linux [powersave]: ERROR (read_value:82) Could not read value in file /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq: error: No such file or directory! linux [powersave]: ERROR (read_line:43) Could not open file for reading: '/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq' linux [powersave]: ERROR (read_value:82) Could not read value in file /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: error: No such file or directory! linux [powersave]: WARNING (getMinMaxSpeeds:349) Speedstepping not supported! Was the correct cpufreq module loaded? linux [powersave]: WARNING (initFreqsViaTesting:377) Could not read min and max speed linux [powersave]: ERROR (PM_Interface:231) Cannot create cpufreq objects I have looked in /sys/devices/system/cpu/cpu0 and there is nothing in there. I did a Modprobe -v cpufreq_userspace and this was loaded. How would I add this to the system to load on boot? It would appear that in trying to solve two issues, I have created several more. Do I undo the changes made earlier or is there anything else I could do to solve this? The computer and system do not appear to be adversely affected by any of these "errors", apart from very occasionally, probably every fifth or sixth bootups, the bootup process will fail and various things like the firewall and other processes will not start, I then have to reboot and all is well. (This may not be connected with the above at all.) Nothing is indicated in any logs as to why this happens. I hope I have given enough information, if not, please ask and I will try to supply anything further required. Regards Ian
On Saturday, February 04, 2006 Ian wrote:
Hi all, I am a fairly recent convert to Suse Linux from Windows and am quite
impressed so far, but have an issue which is puzzling me. Please bear in mind that I have no programming or scripting experience at all, so be gentle with me.
I am running Suse 10 OSS (fully updated via YOU) on a Dell Dimension 4300, 1.7 Intel P4 Processor, 256Mb Memory, as a non-networked desktop system.
For some time now I have been getting the following in /var/log/messages:
linux kernel: powernow: This module only works with AMD K7 CPUs Jan 28 14:53:18 linux rcpowersaved: CPU frequency scaling is not supported by your processor. linux rcpowersaved: enter 'CPUFREQD_MODULE=off' in /etc/sysconfig/powersave/cpufreq to avoid this warning. linux rcpowersaved: Cannot load cpufreq governors - No cpufreq driver available linux [powersave]: ERROR (CPUFreq_Kernel:21) Can not set ondemand governor, maybe your cpufreq driver is too slow. linux [powersave]: ERROR (CPUFreq_Kernel:23) Try CPUFREQ_CONTROL=userspace in /etc/sysconfig/powersave/cpufreq. linux [powersave]: ERROR (PM_Interface:231) Cannot create cpufreq objects
I decided to do as advised and, via Yast, changed CPUFREQ_MODULE to off, and set CPUFREQ_CONTROL to userspace. I didn't know what to do about the ondemand governor, but guessed that this may be connected to the first line, "CPU frequency scaling not supported"
After this, on startup, I now get the following in the log:
linux [powersave]: ERROR (CPUFreq_Userspace:42) Could not set userspace governor, seems as if the cpufreq_userspace module is not loaded. linux [powersave]: ERROR (read_line:43) Could not open file for reading: '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies' linux [powersave]: ERROR (read_line:43) Could not open file for reading: '/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq' linux [powersave]: ERROR (read_value:82) Could not read value in file /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq: error: No such file or directory! linux [powersave]: ERROR (read_line:43) Could not open file for reading: '/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq' linux [powersave]: ERROR (read_value:82) Could not read value in file /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: error: No such file or directory! linux [powersave]: WARNING (getMinMaxSpeeds:349) Speedstepping not supported! Was the correct cpufreq module loaded? linux [powersave]: WARNING (initFreqsViaTesting:377) Could not read min and max speed linux [powersave]: ERROR (PM_Interface:231) Cannot create cpufreq objects
I have looked in /sys/devices/system/cpu/cpu0 and there is nothing in there.
I did a Modprobe -v cpufreq_userspace and this was loaded. How would I add this to the system to load on boot?
It would appear that in trying to solve two issues, I have created several more.
Do I undo the changes made earlier or is there anything else I could do to solve this?
The computer and system do not appear to be adversely affected by any of these "errors", apart from very occasionally, probably every fifth or sixth bootups, the bootup process will fail and various things like the firewall and other processes will not start, I then have to reboot and all is well. (This may not be connected with the above at all.) Nothing is indicated in any logs as to why this happens.
I hope I have given enough information, if not, please ask and I will try to supply anything further required.
Regards
Ian
I had problems with this also, though I never had anything fail (just kept getting similar error messages in the log file). I'm running a Dell Optiplex desktop computer. I didn't think I needed powersave so I took the following steps 1) Turned powersaved off for all run levels using Yast System Services. 2) Uninstalled the KPowerSave package. I had to do this because I'm using KDE and, after doing step 1), I kept getting an error dialog every time I logged on warning me that powersaved was not running. Uninstalling Kpowersave got rid of that message. So, if you don't think you need powersaved, this approach should work for you also. Greg Wallace
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2006-02-04 at 15:02 -0000, Ian wrote:
For some time now I have been getting the following in /var/log/messages:
linux kernel: powernow: This module only works with AMD K7 CPUs Jan 28 14:53:18 linux rcpowersaved: CPU frequency scaling is not supported by your processor.
That's not important, it is just a message. However, if you don't want to see it, the solution is given in the next line:
linux rcpowersaved: enter 'CPUFREQD_MODULE=off' in /etc/sysconfig/powersave/cpufreq to avoid this warning.
Simply log in or "su -" to root in a console, edit that file with your prefered editor (joe, pico, emacs, vi, whatever), change that setting. Done. It should be possible to do that with Yast as well.
linux rcpowersaved: Cannot load cpufreq governors - No cpufreq driver available
Forget the rest of the messagses, they come from the first one.
linux [powersave]: ERROR (CPUFreq_Kernel:21) Can not set ondemand governor, maybe your cpufreq driver is too slow. linux [powersave]: ERROR (CPUFreq_Kernel:23) Try CPUFREQ_CONTROL=userspace in /etc/sysconfig/powersave/cpufreq. linux [powersave]: ERROR (PM_Interface:231) Cannot create cpufreq objects
I decided to do as advised and, via Yast, changed CPUFREQ_MODULE to off, and set CPUFREQ_CONTROL to userspace.
No, do only one change at a time. Undo the second one, leave it as it was.
It would appear that in trying to solve two issues, I have created several more.
You only need the 'CPUFREQD_MODULE=off' setting. Undo the rest. Try. Then ask; but probably not important, that thing is too verbose in the logs. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFD5ezutTMYHG2NR9URAmJHAKCJm2NkFCDP3UKzQGCfztROY5RF7gCfeCOx FcNaYedssoZjq/GefvSs3w4= =gFeY -----END PGP SIGNATURE-----
Carlos E. R. wrote:
You only need the 'CPUFREQD_MODULE=off' setting. Undo the rest. Try. Then ask; but probably not important, that thing is too verbose in the logs.
Many thanks to Greg and Carlos for their help. I have tried Carlos' suggestion as below: I have reset "CPUFREQ_CONTROL=userspace" to "CPUFREQ_CONTROL=kernel" (original setting), and left "CPUFREQ_MODULE=off" but am still getting this: linux [powersave]: ERROR (CPUFreq_Kernel:21) Can not set ondemand governor, maybe your cpufreq driver is too slow. linux [powersave]: ERROR (CPUFreq_Kernel:23) Try CPUFREQ_CONTROL=userspace in /etc/sysconfig/powersave/cpufreq. linux [powersave]: ERROR (PM_Interface:231) Cannot create cpufreq objects This leaves me with the last three "errors" in my original posting. Are they anything I need to worry about? Ian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2006-02-05 at 19:13 -0000, Ian wrote:
Many thanks to Greg and Carlos for their help.
I have tried Carlos' suggestion as below:
I have reset "CPUFREQ_CONTROL=userspace" to "CPUFREQ_CONTROL=kernel" (original setting), and left "CPUFREQ_MODULE=off" but am still getting this:
I have myself (SuSE 9.3): POWERSAVE_CPUFREQD_MODULE="off" I don't know if the variable has changed name in SuSE 10.
linux [powersave]: ERROR (CPUFreq_Kernel:21) Can not set ondemand governor, maybe your cpufreq driver is too slow. linux [powersave]: ERROR (CPUFreq_Kernel:23) Try CPUFREQ_CONTROL=userspace in /etc/sysconfig/powersave/cpufreq. linux [powersave]: ERROR (PM_Interface:231) Cannot create cpufreq objects
This leaves me with the last three "errors" in my original posting.
Are they anything I need to worry about?
I don't have those settings in 9.3, I think they must be newer. But I wouldn't worry about them. In any case, the message is absurd: setting CPUFREQ_CONTROL to anything doesn't make sense once the module was set to "off" previously. Maybe you have some other variable like "ondemand governor" you can set to off as well. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFD5pkwtTMYHG2NR9URAnoYAJ4oMU+BHqaupTwm0fp+gIKw9aN6MwCfaO42 zr5JA4uJSCZJeBhOt7Uoma0= =qjt4 -----END PGP SIGNATURE-----
Carlos E. R. wrote:
I don't have those settings in 9.3, I think they must be newer. But I wouldn't worry about them.
In any case, the message is absurd: setting CPUFREQ_CONTROL to anything doesn't make sense once the module was set to "off" previously.
Maybe you have some other variable like "ondemand governor" you can set to off as well.
Thanks again Carlos, I had a good look but can't find anything like "ondemand governor". Perhaps when I'm feeling brave I may follow Gregs suggestion to turn off powersaved and uninstall Kpowersave;-) I have a couple more questions on 'errors' which I will post shortly, after 'Googling'. Ian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2006-02-07 at 19:13 -0000, Ian wrote:
I had a good look but can't find anything like "ondemand governor". Perhaps when I'm feeling brave I may follow Gregs suggestion to turn off powersaved and uninstall Kpowersave;-)
¿Why? Just ignore them. Just because you see some verbose error messages doesn't mean that powersaved doesn't work. For example, instead of halting my system I suspend to disk, which is much faster than booting up later. The daemon is necesary for that. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFD6U4htTMYHG2NR9URAmLYAJ4rwTyJHVCT1EwPY/3ikYGtkSlWIwCcDfUw wW8W0v6npv6LM4lCWyJ46V0= =aWjA -----END PGP SIGNATURE-----
participants (3)
-
Carlos E. R.
-
Greg Wallace
-
Ian