2.6.18-mm1 -- CPUFreq not working
From: Miles Lane
Date: Tue Sep 26 2006 - 13:51:49 EST
This looks like a kernel config logic problem. I shouldn't be able to
build ondemand support into the kernel, if all the other CPU power
management code is built as modules. I suspect this problem applies
to the other governers (powersave, performance, conservative).
drivers/built-in.o: In function `ondemand_powersave_bias_init':
cpufreq_ondemand.c:(.text+0x6f78f): undefined reference to
`cpufreq_frequency_get_table'
drivers/built-in.o: In function `powersave_bias_target':
cpufreq_ondemand.c:(.text+0x6f8e7): undefined reference to
`cpufreq_frequency_table_target'
cpufreq_ondemand.c:(.text+0x6f925): undefined reference to
`cpufreq_frequency_table_target'
cpufreq_ondemand.c:(.text+0x6f949): undefined reference to
`cpufreq_frequency_table_target'
I am wondering whether the following warning indicates a problem that
prevents CPUFreq from working, because no matter how I play with the
CPUFreq kernel config options, I always get a message from the power
management applet that CPUFreq isn't working.
WARNING: arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.o - Section
mismatch: reference to .init.data:sw_any_bug_dmi_table from .text
between 'acpi_cpufreq_cpu_init' (at offset 0x360) and
'acpi_cpufreq_target'
WARNING: arch/i386/kernel/cpu/cpufreq/speedstep-centrino.o - Section
mismatch: reference to .init.text: from .data between
'sw_any_bug_dmi_table' (at offset 0x40) and 'models
Here's my current .config settings:
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=m
CONFIG_CPU_FREQ_DEBUG=y
CONFIG_CPU_FREQ_STAT=m
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=m
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
CONFIG_X86_SPEEDSTEP_CENTRINO=m
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y
CONFIG_X86_SPEEDSTEP_ICH=m
CONFIG_X86_SPEEDSTEP_SMI=m
CONFIG_X86_SPEEDSTEP_LIB=m
CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK=y
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/