[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

No cpufreq interface in kernel 2.6.3?



Hello,

I'm using Debian "testing" on a Dell Latitude D800 (Pentium M). I
installed kernel-image-2.6.3-1-686, acpi, acpid, and cpufreqd. When I
try to start cpufreqd, I get the following message:

 find_cpufreq_interface(): no cpufreq interface found. 
 Unable to find a cpufreq interface, please ensure to have cpufreq
 enabled in the running kernel.

I'm no kernel expert, but I thought that ACPI (including the cpufreq
interface?) was included in the 2.6 kernels? 

The kernel configuration contains the following lines:

 #
 # CPU Frequency scaling 
 #
 CONFIG_CPU_FREQ=y
 CONFIG_CPU_FREQ_PROC_INTF=m
 CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
 # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
 CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
 CONFIG_CPU_FREQ_GOV_POWERSAVE=m
 CONFIG_CPU_FREQ_GOV_USERSPACE=m
 # CONFIG_CPU_FREQ_24_API is not set
 CONFIG_CPU_FREQ_TABLE=m 

 #
 # CPUFreq processor drivers
 #
 CONFIG_X86_ACPI_CPUFREQ=m
 # CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
 CONFIG_X86_POWERNOW_K6=m
 CONFIG_X86_POWERNOW_K7=m
 CONFIG_X86_POWERNOW_K8=m
 CONFIG_X86_GX_SUSPMOD=m
 CONFIG_X86_SPEEDSTEP_CENTRINO=m
 CONFIG_X86_SPEEDSTEP_ICH=m
 CONFIG_X86_SPEEDSTEP_SMI=m
 CONFIG_X86_P4_CLOCKMOD=m
 CONFIG_X86_SPEEDSTEP_LIB=m
 CONFIG_X86_LONGRUN=m
 CONFIG_X86_LONGHAUL=m

Is this sufficient to enable CPU frequency scaling? The kernel prints
the following ACPI-related messages:

 Dell Latitude with broken BIOS detected. Refusing to enable the local
APIC.

 ACPI: RSDP (v000 DELL                                      ) @
0x000fdf00
 ACPI: RSDT (v001 DELL    CPi R   0x27d3091e ASL  0x00000061) @
0x3fff0000
 ACPI: FADT (v001 DELL    CPi R   0x27d3091e ASL  0x00000061) @
0x3fff0400
 ACPI: ASF! (v016 DELL    CPi R   0x27d3091e ASL  0x00000061) @
0x3fff0800
 ACPI: DSDT (v001 INT430 SYSFexxx 0x00001001 MSFT 0x0100000e) @
0x00000000
 ACPI: Subsystem revision 20040116
 ACPI: IRQ9 SCI: Edge set to Level Trigger.
 ACPI: Interpreter enabled
 ACPI: Using PIC for interrupt routing
 ACPI: PCI Root Bridge [PCI0] (00:00)
 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
 ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
 ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7)
 ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 *11)
 ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 9 10 *11)
 ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
 ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIE._PRT]
 ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
 ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
 ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
 PCI: Using ACPI for IRQ routing
 ACPI: (supports S0 S1 S3 S4 S4bios S5)
 ACPI: AC Adapter [AC] (on-line)
 ACPI: Processor [CPU0] (supports C1 C2 C3, 8 throttling states)
 ACPI: Thermal Zone [THM] (31 C)
 ACPI: Lid Switch [LID]
 ACPI: Power Button (CM) [PBTN]
 ACPI: Sleep Button (CM) [SBTN]
 ACPI: Battery Slot [BAT0] (battery present)
 ACPI: Battery Slot [BAT1] (battery absent)

What does "Refusing to enable the local APIC." mean? 

The kernel recognizes that the cpu has throttling states. So, why does
cpufreqd not work?

Is there a way to enable the cpufreq interface without recompiling a
kernel? Do I have to apply the patches from ACPI4Linux (I thought that
they have already been integrated in the 2.6 kernels)? 

Thank you,

Holger




Reply to: