You are not logged in.

#1 2010-05-11 23:31:37

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

cpufrequtils module won't load [SOLVED]

Hi All,

Am trying to get some power management working on my HTPC .

I have installed cpufrequtils and find I have the following modules available ..

ls /lib/modules/2.6.33-ARCH/kernel/arch/x86/kernel/cpu/cpufreq/
acpi-cpufreq.ko     longhaul.ko     powernow-k7.ko    speedstep-smi.ko
cpufreq-nforce2.ko  longrun.ko      powernow-k8.ko
e_powersaver.ko     p4-clockmod.ko  speedstep-ich.ko
gx-suspmod.ko       powernow-k6.ko  speedstep-lib.ko

However when I try to load any of these modules I get a failure ..

modprobe acpi-cpufreq
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.33-ARCH/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device

I have tried re-booting the box to make the modules visible .. but no difference ... I seem to remember a loader command to update the cache, can anyone remind me what it is?

NB: I have an Intel Core2 Duo E7300 CPU, and would like to underclock/undervolt it to get some power savings, as I am running at less than 20% cpu most of the time, even with 720p content. I thought I would do the frequency stuff in the OS and do the undervoltage stuff in the BIOS (unless someone can tell how to undervoltage in the OS).

Thanks.

Last edited by bmentink (2010-05-12 06:45:37)

Offline

#2 2010-05-11 23:45:09

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: cpufrequtils module won't load [SOLVED]

check (sudo) dmesg if the modprobe prints a more descriptive error there.
Have you seen
http://wiki.archlinux.org/index.php/Cpu … figuration

Offline

#3 2010-05-12 02:06:08

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: cpufrequtils module won't load [SOLVED]

All I get in dmesg is:

p4-clockmod: Warning: EST-capable CPU detected. The acpi-cpufreq module offers voltage scaling in addition of frequency scaling. You should use that instead of p4-clockmod, if possible.

I had been following that link ..

Thanks,
B

Last edited by bmentink (2010-05-12 02:07:09)

Offline

#4 2010-05-12 04:07:59

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: cpufrequtils module won't load [SOLVED]

An update:

I read somewhere that I might need to update my bios to get ptable support for my CPU. So I bit the bullet and did the upgrade ... and guess what .. it now works.

I can now modprobe acpi-cpufreq without error and I did a "cpufreq-set -g ondemand" and the ondemand profile is used. However, I notice that when I do a "cpufreq-info" that the current frequency is allways the maximum frequency .... even when the CPU is doing nothing ... any guesses to what goes on here.

On a side note, after the BIOS update, I know do not have a working WiFi adapter in the PCI slot ... dmesg shows:

p54pci 0000:06:00.0: PCI INT A disabled
p54pci: probe of 0000:06:00.0 failed with error -110

Not sure what is going on there, I did not touch any PCI/IRQ settings in the new BIOS.

Offline

#5 2010-05-12 06:20:05

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: cpufrequtils module won't load [SOLVED]

Did you have a look at /etc/conf.d/cpufreq ?

What does cpufreq-info tell us?

Offline

#6 2010-05-12 06:45:01

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: cpufrequtils module won't load [SOLVED]

toffyrn wrote:

Did you have a look at /etc/conf.d/cpufreq ?

What does cpufreq-info tell us?

Yes, I had. But I had neglected to do a "/etc.rc.d/cpufreq start", after that scaling happened ok.

Going to mark this thread as solved and open a new one on the WiFi issue.

Cheers,

Offline

#7 2011-09-24 15:32:05

fabioamd87
Member
Registered: 2008-11-22
Posts: 128

Re: cpufrequtils module won't load [SOLVED]

[fabio@hp2735b ~]$ ls /lib/modules/$(uname -r)/kernel/drivers/cpufreq/
acpi-cpufreq.ko.gz          e_powersaver.ko.gz  pcc-cpufreq.ko.gz
cpufreq_conservative.ko.gz  freq_table.ko.gz    powernow-k6.ko.gz
cpufreq-nforce2.ko.gz       gx-suspmod.ko.gz    powernow-k7.ko.gz
cpufreq_ondemand.ko.gz      longhaul.ko.gz      powernow-k8.ko.gz
cpufreq_powersave.ko.gz     longrun.ko.gz       speedstep-ich.ko.gz
cpufreq_stats.ko.gz         mperf.ko.gz         speedstep-lib.ko.gz
cpufreq_userspace.ko.gz     p4-clockmod.ko.gz   speedstep-smi.ko.gz

[fabio@hp2735b ~]$ sudo modprobe acpi-cpufreq
FATAL: Error inserting acpi_cpufreq (/lib/modules/3.0-ARCH/kernel/drivers/cpufreq/acpi-cpufreq.ko.gz): No such device

same with powernow-k7

[fabio@hp2735b ~]$ sudo /etc/rc.d/cpufreq start
:: Setting cpufreq governing rules                                       [BUSY] grep: /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors: No such file or directory
                                   , cpu 0Error setting new values. Common errors:
- Do you have proper administration rights? (super-user?)
- Is the governor you requested available and modprobed?
- Trying to set an invalid policy?
- Trying to set a specific frequency, but userspace governor is not available,
   for example because of hardware which cannot be set to a specific frequency
   or because the userspace governor isn't loaded?
                                                                         [DONE]


also updating my BIOS nothing changed.. I've a AMD Sempron processor

Last edited by fabioamd87 (2011-09-24 15:35:09)

Offline

#8 2011-09-24 16:21:12

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: cpufrequtils module won't load [SOLVED]

Hi fabioamd87, I suggest you start a new thread and please don't necro-bump: https://wiki.archlinux.org/index.php/Fo … Bumping.27
Closing.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB