speedstep won't load even with acpi tables
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · W. Brown
Hello Jeremy, I'm having a bit of trouble getting speedstep-centrino loaded on my zt3000 notebook. The motherboard is intel 855pm based and the cpu is a pentium m 1.7ghz (dothan).
I don't really know a lot about ACPI, so nothing sticks out. You might want to try the cpufreq list (which I'm cc: on the reply), and see if someone there can help. The full output of dmesg would be useful though.
J
Quoted 325 lines
With 2.6.8.1, I got the unsupported cpu found message. I've been trying to follow the dothan developments. As I understand it was not recognized here at all.
Now with 2.6.9-rc3 I get the message:
speedstep-centrino: no table support for CPU model "Intel(R)
Pentium(R) M processor 1.70GHz":
speedstep-centrino: try compiling withCONFIG_X86_SPEEDSTEP_CENTRINO_ACPIenabled
And here, the cpu is known, I'm sure you got plenty of emails full of/proc/cpuinfo:)
It should work with ACPI tables? I saw your post on the kernel mailing list telling the one guy "...should be fine in 2.6.9-rc2..."So, I compiled with
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI, and the module just fails quietly. Not helpful output in/var/log/messages.I tried:
(Get current frequency)
# cat /proc/cpuinfo | grep "cpu MHz"(Lists supported frequencies. This might fail.)
# cd /sys/devices/system/cpu/cpu0/cpufreq/ # cat scaling_available_frequencies(Change frequency to 1 GHz (1000000 KHz)
Replace with a frequency your laptop supports.)# echo -n userspace > scaling_governor # echo -n 1000000 > scaling_setspeed(Verify frequency was changed)
# cat /proc/cpuinfo | grep "cpu MHz"And it works fine. Apparently I can change speed manually, so ACPI must be working okay.
I'll provide all I know here... If I can provide more debugging info somehow, I'd be glad to help.
Thanks,
WillInfo:
///////////////////////////////////////////////////proc/cpuinfo
processor : 0vendor_id: GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.70GHz
stepping : 6
cpu MHz : 1695.229
cache size : 2048 KBfdiv_bug: nohlt_bug: nof00f_bug: nocoma_bug: no
fpu : yesfpu_exception: yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov
pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe est tm2
bogomips : 3350.52//////////////////////////////////////////////////
/proc/modulesipt_NOTRACK1600 0 - Live0xe09f5000iptable_raw1536 0 - Live0xe09f1000
libcrc32c 2304 0 - Live0xe09ea000
ac 3340 0 - Live0xe09e8000
thermal 10512 0 - Live0xe09ed000
button 4888 0 - Live0xe09e5000
fan 2892 0 - Live0xe09b6000
battery 7244 0 - Live0xe09c9000
acpi 4684 0 - Live0xe09cc000
processor 13936 2 thermal,acpi, Live0xe09cf000non_fatal1540 0 [permanent], Live0xe09b8000
radeon 128164 0 - Live0xe0a07000firmware_class7616 0 - Live0xe09ba000
ds 14020 0 - Live0xe09c4000pcmcia_core50764 1 ds, Live0xe09d4000
8139too 20352 0 - Live0xe09be000////////////////////////////////////////////////// relevant .config portion
#
# ACPI (Advanced Configuration and Power Interface) Support #CONFIG_ACPI=yCONFIG_ACPI_BOOT=yCONFIG_ACPI_INTERPRETER=yCONFIG_ACPI_SLEEP=yCONFIG_ACPI_SLEEP_PROC_FS=yCONFIG_ACPI_AC=mCONFIG_ACPI_BATTERY=mCONFIG_ACPI_BUTTON=mCONFIG_ACPI_FAN=mCONFIG_ACPI_PROCESSOR=mCONFIG_ACPI_THERMAL=m
#CONFIG_ACPI_ASUSis not set
#CONFIG_ACPI_TOSHIBAis not set
#CONFIG_ACPI_DEBUGis not setCONFIG_ACPI_BUS=yCONFIG_ACPI_EC=yCONFIG_ACPI_POWER=yCONFIG_ACPI_PCI=yCONFIG_ACPI_SYSTEM=y
#CONFIG_X86_PM_TIMERis not set#
# APM (Advanced Power Management) BIOS Support
#
#CONFIG_APMis not set#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=y
#CONFIG_CPU_FREQ_PROC_INTFis not set
#CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCEis not setCONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=yCONFIG_CPU_FREQ_GOV_PERFORMANCE=yCONFIG_CPU_FREQ_GOV_POWERSAVE=yCONFIG_CPU_FREQ_GOV_USERSPACE=yCONFIG_CPU_FREQ_GOV_ONDEMAND=y
#CONFIG_CPU_FREQ_24_APIis not setCONFIG_CPU_FREQ_TABLE=y#
# CPUFreq processor drivers
#CONFIG_X86_ACPI_CPUFREQ=m
#CONFIG_X86_ACPI_CPUFREQ_PROC_INTFis not set
#CONFIG_X86_POWERNOW_K6is not set
#CONFIG_X86_POWERNOW_K7is not set
#CONFIG_X86_POWERNOW_K8is not set
#CONFIG_X86_GX_SUSPMODis not setCONFIG_X86_SPEEDSTEP_CENTRINO=mCONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=yCONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
#CONFIG_X86_SPEEDSTEP_ICHis not set
#CONFIG_X86_SPEEDSTEP_SMIis not set
#CONFIG_X86_P4_CLOCKMODis not set
#CONFIG_X86_LONGRUNis not set
#CONFIG_X86_LONGHAULis not set////////////////////////////////////////////////// relevant modules autoload #cpu
non-fatal
acpi#acpi
battery
fan
button
processor
thermal
ac#cpu freq
speedstep-centrino////////////////////////////////////////////////// x86info 1.11 output Found 1 CPU
eax in:0x00000000, eax = 00000002 ebx =756e6547ecx =6c65746eedx =49656e69
eax in:0x00000001, eax =000006d6ebx = 00000816 ecx = 00000180 edx =afe9f9bf
eax in:0x00000002, eax =02b3b001ebx =000000f0ecx = 00000000 edx =2c04307deax in:
0x80000000, eax = 80000004 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in:0x80000001, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in:0x80000002, eax = 20202020 ebx = 20202020 ecx =65746e49edx =2952286c
eax in:0x80000003, eax =6e655020ebx =6d756974ecx = 20295228 edx =7270204d
eax in:0x80000004, eax =7365636febx =20726f73ecx =30372e31edx =007a4847Family: 6 Model: 13 Stepping: 6 Type: 0
CPU Model: Unknown CPU Original OEM
Feature flags:
Onboard FPU
Virtual Mode Extensions
Debugging Extensions
Page Size Extensions
Time Stamp Counter
Model-Specific Registers
Machine Check Architecture
CMPXCHG8 instruction
SYSENTER/SYSEXIT
Memory Type Range Registers
Page Global Enable
Machine Check Architecture
CMOV instruction
Page Attribute Table
CLFLUSH instruction
Debug Trace Store
ACPI via MSR
MMX support
FXSAVE and FXRESTORE instructions
SSE support
SSE2 support
CPU self snoop
Automatic clock Control
Pending Break Enableunknown TLB/cache descriptor:
0xb0 unknown TLB/cache descriptor: 0xb3 Instruction TLB: 4MB pages, fully associative, 2 entries unknown TLB/cache descriptor: 0xf0 unknown TLB/cache descriptor: 0x7d unknown TLB/cache descriptor: 0x30 Data TLB: 4MB pages, 4-way associative, 8 entries unknown TLB/cache descriptor: 0x2cNumber of reporting banks : 5
Erk,
MCG_CTLnot present! :5:Bank: 0 (
0x400)
MC0CTL: 00000000 00000000 00000000 0000000001000100 01001000 00000000 00000000 MC0STATUS: 00010000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 MC0ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000Bank: 1 (
0x404)
MC1CTL: 00000000 00000000 00000000 0000000000000000 00000000 00000000 00000001 MC1STATUS: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 MC1ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000Bank: 2 (
0x408)
MC2CTL: 00000000 00000000 00000000 0000000000000000 00000000 00000000 00000000 MC2STATUS: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 MC2ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000Bank: 3 (
0x40c)
MC3CTL: 00000000 00000000 00000000 0000000100000000 00000000 00000000 00000001 MC3STATUS: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000MC3ADDR: Couldn't read MSR
0x40eBank: 4 (
0x410)
MC4CTL: 00000000 00000000 00000000 0000100000000000 00000000 00000000 00001000 MC4STATUS: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00010001 MC4ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000MTRR registers:
MTRRcap (0xfe):0x0000000000000508
MTRRphysBase0 (0x200):0x0000000000000006
MTRRphysMask0 (0x201):0x0000000fe0000800
MTRRphysBase1 (0x202):0x00000000b0000001
MTRRphysMask1 (0x203):0x0000000ff0000800
MTRRphysBase2 (0x204):0x0000000000000000
MTRRphysMask2 (0x205):0x0000000f00000000
MTRRphysBase3 (0x206):0x0000000000000000
MTRRphysMask3 (0x207):0x0000000f00000000
MTRRphysBase4 (0x208):0x0000000000000000
MTRRphysMask4 (0x209):0x0000000f00000000
MTRRphysBase5 (0x20a):0x0000000000000000
MTRRphysMask5 (0x20b):0x0000000f00000000
MTRRphysBase6 (0x20c):0x0000000000000000
MTRRphysMask6 (0x20d):0x0000000f00000000
MTRRphysBase7 (0x20e):0x0000000000000000
MTRRphysMask7 (0x20f):0x0000000f00000000MTRRfix64K_00000(0x250):0x0606060606060606MTRRfix16K_80000(0x258):0x0606060606060606MTRRfix16K_A0000(0x259):0x0000000000000000MTRRfix4K_C8000(0x269):0x0000050505050505MTRRfix4K_D00000x26a:0x0000000000000000MTRRfix4K_D80000x26b:0x0000000000000000MTRRfix4K_E00000x26c:0x0000000000000000MTRRfix4K_E80000x26d:0x0000000000000000MTRRfix4K_F00000x26e:0x0505050505050505MTRRfix4K_F80000x26f:0x0505050505050505
MTRRdefType (0x2ff):0x0000000000000c00//////////////////////////////////////////////////
/var/log/messagessnipOct 5 12:30:29 shake ACPI: Processor [CPU0] (supports C1 C2 C3, 8 throttling states) Oct 5 12:30:29 shake cpufreq: CPU0 - ACPI performance management activated. Oct 5 12:30:29 shake cpufreq: *P0: 1700 MHz, 21000 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P1: 1400 MHz, 17500 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P2: 1200 MHz, 15000 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P3: 1000 MHz, 12500 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P4: 800 MHz, 10000 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P5: 600 MHz, 7500 mW, 100 uS Oct 5 12:30:29 shake ACPI: Battery Slot [C11F] (battery present) Oct 5 12:30:29 shake ACPI: Power Button (FF) [PWRF] Oct 5 12:30:29 shake ACPI: Lid Switch [C136] Oct 5 12:30:29 shake ACPI: AC Adapter [C134] (on-line)
Signature · 1 line
Jeremy Fitzhardinge <[email protected]>
Hi,
You already got speedstep up and running using the ACPI cpufreq driver:
Quoted 7 lines
Quoted 7 lines
acpi 4684 0 - Live
0xe09cc000
CONFIG_X86_ACPI_CPUFREQ=m#cpu
non-fatal
acpi
you load it _before_ speedstep-centrino, even. disabling it should allow you to load the (faster) speedstep-centrino module...
Quoted 7 lines
Quoted 7 lines
Oct 5 12:30:29 shake cpufreq: CPU0 - ACPI performance management activated. Oct 5 12:30:29 shake cpufreq: *P0: 1700 MHz, 21000 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P1: 1400 MHz, 17500 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P2: 1200 MHz, 15000 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P3: 1000 MHz, 12500 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P4: 800 MHz, 10000 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P5: 600 MHz, 7500 mW, 100 uS
... with which you should get 10uS latencies instead of 100 uS.
Dominik
Ah, thanks Dominik, that was an easy fix.
I incorrectly assumed that that was a helper for the cpu specific module. I was going by the Gentoo Power management guide <http://www.gentoo.org/doc/en/power-management-guide.xml> which says to configure:
<M> ACPI Processor P-States driver
and
<*> CPUFreq driver for your processor
It goes on to say...
"Compile your kernel, make sure the right modules get loaded at startup and boot into your new ACPI-enabled kernel." They didn't explain what the "right modules" are though. My bad.
Will
Quoted 45 lines · Dominik Brodowski
Hi,
You already got speedstep up and running using the ACPI cpufreq driver:
Quoted 12 lines
Quoted 9 lines
acpi 4684 0 - Live
0xe09cc000
CONFIG_X86_ACPI_CPUFREQ=mQuoted 5 lines
Quoted 5 lines
#cpu
non-fatal
acpiyou load it _before_ speedstep-centrino, even. disabling it should allow you to load the (faster) speedstep-centrino module...
Quoted 9 lines
Quoted 9 lines
Oct 5 12:30:29 shake cpufreq: CPU0 - ACPI performance management activated. Oct 5 12:30:29 shake cpufreq: *P0: 1700 MHz, 21000 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P1: 1400 MHz, 17500 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P2: 1200 MHz, 15000 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P3: 1000 MHz, 12500 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P4: 800 MHz, 10000 mW, 100 uS Oct 5 12:30:29 shake cpufreq: P5: 600 MHz, 7500 mW, 100 uS... with which you should get 10uS latencies instead of 100 uS.
Dominik