Problem loading cpufreq module

I'd like to install cpufreq modules on my server .
I tried

    sudo modprobe acpi-cpufreq

but got the error

    FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.18-238.12.1.el5xen/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko): No such device
cat /proc/cpuinfo gives this

    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 15
    model           : 6
    model name      :               Intel(R) Pentium(R) D CPU 3.20GHz
    stepping        : 4
    cpu MHz         : 3200.542
    cache size      : 2048 KB
    physical id     : 0
    siblings        : 1
    core id         : 0
    cpu cores       : 1
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 6
    wp              : yes
    flags           : fpu tsc msr pae cx8 apic mtrr cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni vmx est cid cx16 lahf_lm
    bogomips        : 8005.14
    clflush size    : 64
    cache_alignment : 128
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
    
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 15
    model           : 6
    model name      :               Intel(R) Pentium(R) D CPU 3.20GHz
    stepping        : 4
    cpu MHz         : 3200.542
    cache size      : 2048 KB
    physical id     : 1
    siblings        : 1
    core id         : 0
    cpu cores       : 1
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 6
    wp              : yes
    flags           : fpu tsc msr pae cx8 apic mtrr cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni vmx est cid cx16 lahf_lm
    bogomips        : 8005.14
    clflush size    : 64
    cache_alignment : 128
    address sizes   : 36 bits physical, 48 bits virtual
    power management:

And uname -r gives `2.6.18-238.12.1.el5xen`

ls /lib/modules/2.6.18-238.12.1.el5xen/kernel/arch/x86_64/kernel/cpufreq/

gives

acpi-cpufreq.ko  mperf.ko  powernow-k8.ko  speedstep-centrino.ko

Do I have everything required to install cpufreq ?
Is my system compatible to have cpufreq ?
If yes, what steps sshould I follow to install cpufreq ?

When I entered BIOS settings, I was not able to view option to change CPU performance settings either.

Kindly tell me what to do.

Does your processor support this? Perhaps you need a new BIOS version? What does dmesg say?

Also look at this
HOWTO: CPU Frequency Scaling w/ Kernel Module - Ubuntu Forums

1 Like

I think the processor supports it (Pentium D).
I'm sorry but I don't know how to read the dmesg output. :frowning:
All i could do was this :
dmesg|grep acpi

Bootdata ok (command line is ro root=/dev/VolGroup00/LogVol00 acpi=off)
Kernel command line: ro root=/dev/VolGroup00/LogVol00 acpi=off

---------- Post updated at 08:37 PM ---------- Previous update was at 08:34 PM ----------

Also got this . If that helps

[root@kyi ~]# dmesg|grep ACPI

ACPI: Interpreter disabled.
pnp: PnP ACPI: disabled
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
PCI quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]
ACPI Error (tbget-0168): Invalid address flags 8 [20060707]

Try this on the shell. Paste output from below:

sudo modprobe acpi-cpufreq;dmesg

I cannot post url's, I have an excellent URL from ubuntu forums. Maybe search there directly.

Hi vishwamitra, well there is your answer. Your kernel command line says acpi=off , so then you cannot use acpi-cpufreq as long as you use acpi=off .

What should I do in that case ?

I don't know what the reason is that you have acpi disabled, there might be a good reason. If you want to experiment you could make a copy of the current boot line in grub (and give it the same title plus "with acpi" for example) and remove the acpi=off option. When you reboot the computer you can select that option to see how that goes. If all goes well you could make that the default boot option.

What should I do to turn acpi ON ?
I checked BIOS settings and acpi was enabled

Vishwa, try booting your kernel with acpi=on option. You can edit your grub conf file to add the option to the kernel line. Google it if any confusion.

But let me warn you, if your hardware does not like the acpi=on setting, it may fail to boot and you may have to boot into failsafe and take it out. So do this only if you are comfortable into booting into rescue/failsafe mode.

Remove the 'acpi=off' from the kernel commandline. (But keep a backup as they say -- acpi may have been disabled because it didn't work for you!)

Edited grub.conf file where acpi=off was changed to acpi=on..
ta-da