[ltp] acpi-cpufreq with phc-controls

Tino Keitel linux-thinkpad@linux-thinkpad.org
Tue, 18 Nov 2008 07:57:13 +0100


On Tue, Nov 18, 2008 at 00:40:32 +0100, Roman Haefeli wrote:
> hi all
> 
> i am on a T61 wih ubuntu intrepid installed and i would like to
> undervolt my cpu in order to save battery power.
> 
> on hardy everything worked quite straightforward. i downloaded the
> linux sources (matching my kernel), patched the acpi-cpufreq with the
> linux-phc patch and compiled the module. now, in intrepid, the build
> process seems to work fine as well, but when i try to insert the
> module i get:
> 
> FATAL: Error inserting acpi_cpufreq
> (/lib/modules/2.6.27-3-rt/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): Invalid module format
> 
> after doing that, dmest shows:
> 
> [  333.046333] acpi_cpufreq: no symbol version for struct_module

The .config you used to compile this module doesn't match the .config
the kernel was compiled with.

Regards,
Tino