You are not logged in.

#1 2007-08-26 10:47:26

PavelZh
Member
From: Russia
Registered: 2006-08-04
Posts: 31

pm-utils: how to use cpufreq after powersave replacement [SOLVED]

How I can load cpufreq module without powersave? I try lo load p4-clockmod.ko (this module was used by powersave) manually via rc.local, but I got the error

insmod: error inserting '/lib/modules/2.6.22-ARCH/kernel/arch/i386/kernel/cpu/cpufreq/p4-clockmod.ko': -1 Unknown symbol in module

As was mentioned in http://bugs.archlinux.org/task/7651 , the cpufreq module can be loaded from rc.local or via MODULES list in rc.conf. What I do wrong?

Last edited by PavelZh (2007-08-26 19:22:00)

Offline

#2 2007-08-26 11:06:54

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: pm-utils: how to use cpufreq after powersave replacement [SOLVED]

Insmod does not probe modules 'intelligently', like modprobe does. Use modprobe, it will load the modules the p4 one depends on. The 'unknown symbol' error probably refers to a module it depends on.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2007-08-26 18:24:23

PavelZh
Member
From: Russia
Registered: 2006-08-04
Posts: 31

Re: pm-utils: how to use cpufreq after powersave replacement [SOLVED]

Module loaded, but dynamic scaling frequency doesn't work more sad

#cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: p4-clockmod
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 175 MHz - 1.40 GHz
  available frequency steps: 175 MHz, 350 MHz, 525 MHz, 700 MHz, 875 MHz, 1.05 GHz, 1.23 GHz, 1.40 GHz
  available cpufreq governors: performance
  current policy: frequency should be within 175 MHz and 1.40 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.40 GHz (asserted by call to hardware).

Why only 'performance' governor is available? With powersave I can switch between 'performance' and 'dynamic' via kpowersave, but now I can set only 'performance' sad

UPDATED: governor name is 'dynamic', but kernel module name is 'cpufreq_ondemand'.
After loading 'cpufreq_ondemand' module kpowersave works again

Last edited by PavelZh (2007-08-26 18:55:28)

Offline

#4 2007-08-28 17:11:24

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: pm-utils: how to use cpufreq after powersave replacement [SOLVED]

For reference purposes, the appropriate steps are now laid out in the Cpufrequtils wiki: http://wiki.archlinux.org/index.php/Cpufrequtils


thayer williams ~ cinderwick.ca

Offline

Board footer

Powered by FluxBB