Pentium M 1.4 GHz (Centrino) detekovano jako 600 MHz CPU
Kotrla Vitezslav
kotrla na ceb.cz
Úterý Prosinec 7 12:11:43 CET 2004
V notebooku Gericom Hollywood 1460 mam 1.4 GHz Pentium M (Centrino).
Při startu je ale vetsinou (vlastne s vyjimkou prvniho restartu po
kompilaci jadra) detekovan jako 600 MHz CPU
$ cat /var/log/messages | grep "Detected"
Dec 7 15:32:17 localhost kernel: Detected 597.714 MHz processor.
Dec 7 16:02:52 localhost kernel: Detected 1394.489 MHz processor.
Dec 7 20:24:02 localhost kernel: Detected 597.761 MHz processor.
Dec 7 20:30:24 localhost kernel: Detected 597.707 MHz processor.
a moc se potom neda regulovat vykon, protoze scaling_max_freq == scaling_min_freq.
Informace o frekvenci procesoru postaru
# cat /proc/cpufreq // !!!
minimum CPU frequency - maximum CPU frequency - policy
CPU 0 600000 kHz ( 42 %) - 600000 kHz ( 42 %) - performance
a ponovu ze /sys/devices/system/cpu/cpu0/cpufreq/
$ cat scaling_governor
userspace
$ cat scaling_driver
centrino
$ cat scaling_min_freq
600000
$ cat scaling_max_freq // !!! NOTE !!!
600000
$ cat scaling_available_frequencies
1400000 1200000 1000000 800000 600000
$ cat cpuinfo_max_freq
1400000
$ cat cpuinfo_min_freq
600000
Provozuji zatim vanilla 2.6.8.1, protoze muj notebook se moc nesnasi
s ACPI z 2.6.9.
Konfigurace jadra
$ grep CPU linux/.config
...
CONFIG_X86_CPUID=y
# CPU Frequency scaling
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_PROC_INTF=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
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_24_API=y
CONFIG_CPU_FREQ_TABLE=y
# CPUFreq processor drivers
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
$ grep SPEED linux/.config
...
CONFIG_X86_SPEEDSTEP_CENTRINO=y
CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
CONFIG_X86_SPEEDSTEP_ICH=m
# CONFIG_X86_SPEEDSTEP_SMI is not set
CONFIG_X86_SPEEDSTEP_LIB=m
# CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK is not set
Napsal jsem Dominiku Brodowskemu, ktery by mel byt autorem kodu speedstepu,
treba se ozve. Pokud ma nekdo podobne zkusenosti nebo tomu vic rozumi, urcite
se prosim ozvete!
Vitezslav Kotrla
P.S.: Detailni vypis dmesg (hodne smeti z debugu ACPI):
version 3.3.4 (Debian 1:3.3.4-9ubuntu5)) #1 Tue Dec 7 15:55:28 CET 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fffffc0 (ACPI data)
BIOS-e820: 000000001fffffc0 - 0000000020000000 (ACPI NVS)
BIOS-e820: 00000000ffb80000 - 00000000ffc00000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126960 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 OID_00 ) @ 0x000e6010
ACPI: RSDT (v001 INSYDE RSDT_000 0x00000001 _CSI 0x00010101) @ 0x1fffb256
ACPI: FADT (v001 INSYDE FACP_000 0x00000100 _CSI 0x00010101) @ 0x1ffffb00
ACPI: BOOT (v001 INSYDE SYS_BOOT 0x00000100 _CSI 0x00010101) @ 0x1ffffb90
ACPI: DBGP (v001 INSYDE DBGP_000 0x00000100 _CSI 0x00010101) @ 0x1ffffbc0
ACPI: SSDT (v001 INTEL EISTRef 0x00002000 INTL 0x20021002) @ 0x1fffb28a
ACPI: DSDT (v001 INSYDE Canyon 0x00001004 INTL 0x02002036) @ 0x00000000
Built 1 zonelists
Kernel command line: root=/dev/hda5 ro vga=773
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 597.721 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 515056k/524224k available (2014k kernel code, 8404k reserved, 953k data, 168k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1179.64 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: a7e9fbbf 00000000 00000000 00000000
CPU: After vendor identify, caps: a7e9fbbf 00000000 00000000 00000000
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
CPU: After all inits, caps: a7e9fbbf 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel(R) Pentium(R) M processor 1400MHz stepping 05
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 597.0486 MHz.
..... host bus clock speed is 99.0580 MHz.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xe99e4, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
tbxface-0117 [03] acpi_load_tables : ACPI Tables successfully acquired
Parsing all Control Methods:...................................................................................................................................................
Table [DSDT](id F005) - 569 Objects with 54 Devices 145 Methods 14 Regions
Parsing all Control Methods:....
Table [SSDT](id F003) - 7 Objects with 0 Devices 4 Methods 0 Regions
ACPI Namespace successfully loaded at root c04264dc
ACPI: IRQ9 SCI: Edge set to Level Trigger.
evxfevnt-0093 [04] acpi_enable : Transition to ACPI mode successful
evgpeblk-0867 [06] ev_create_gpe_block : GPE 00 to 31 [_GPE] 4 regs at 0000000000001028 on int 9
evgpeblk-0925 [06] ev_create_gpe_block : Found 0 Wake, Enabled 10 Runtime GPEs in this block
Completing Region/Field/Buffer/Package initialization:........................................................................
Initialized 14/14 Regions 5/5 Fields 28/28 Buffers 24/24 Packages (585 nodes)
Executing all Device _STA and_INI methods:................................[ACPI Debug] String: Length 0x0A, "LINK-A STA"
.[ACPI Debug] String: Length 0x0A, "LINK-B STA"
.[ACPI Debug] String: Length 0x0A, "LINK-C-STA"
.[ACPI Debug] String: Length 0x0A, "LINK-D-STA"
..[ACPI Debug] String: Length 0x0A, "LINK-F-STA"
...............[ACPI Debug] String: Length 0x07, "ECP_STA"
.[ACPI Debug] String: Length 0x07, "LPT_STA"
.[ACPI Debug] String: Length 0x08, "IRDA_STA"
.[ACPI Debug] String: Length 0x07, "FIR_STA"
.
56 Devices found containing: 56 _STA, 1 _INI methods
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI2._PRT]
[ACPI Debug] String: Length 0x0A, "LINK-A STA"
[ACPI Debug] String: Length 0x0A, "LINK-A STA"
[ACPI Debug] String: Length 0x09, "LINKA-CRS"
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 5 7 9 *10 11)
[ACPI Debug] String: Length 0x0A, "LINK-A DIS"
[ACPI Debug] String: Length 0x0A, "LINK-B STA"
[ACPI Debug] String: Length 0x0A, "LINK-B STA"
[ACPI Debug] String: Length 0x0A, "LINK-B-CRS"
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 *5 7 9 10 11)
[ACPI Debug] String: Length 0x0A, "LINK-B DIS"
[ACPI Debug] String: Length 0x0A, "LINK-C-STA"
[ACPI Debug] String: Length 0x0A, "LINK-C-STA"
[ACPI Debug] String: Length 0x09, "LINKC-CRS"
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 5 7 9 10 *11)
[ACPI Debug] String: Length 0x0A, "LINK-C-DIS"
[ACPI Debug] String: Length 0x0A, "LINK-D-STA"
[ACPI Debug] String: Length 0x0A, "LINK-D-STA"
[ACPI Debug] String: Length 0x0A, "LINK-D-CRS"
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 5 7 *11)
[ACPI Debug] String: Length 0x0A, "LINK-D-DIS"
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 *11)
[ACPI Debug] String: Length 0x0A, "LINK-F-STA"
[ACPI Debug] String: Length 0x0A, "LINK-F-STA"
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 9 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 5 7 9 10 *11)
[ACPI Debug] String: Length 0x07, "ECP_STA"
[ACPI Debug] String: Length 0x07, "ECP_STA"
[ACPI Debug] String: Length 0x07, "LPT_STA"
[ACPI Debug] String: Length 0x08, "IRDA_STA"
[ACPI Debug] String: Length 0x07, "FIR_STA"
[ACPI Debug] String: Length 0x07, "FIR_STA"
ACPI: Power Resource [PUT2] (on)
ACPI: Embedded Controller [EC0] (gpe 24)
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
[ACPI Debug] String: Length 0x09, "LINKA-SRS"
[ACPI Debug] String: Length 0x0A, "LINK-A STA"
[ACPI Debug] String: Length 0x09, "LINKA-CRS"
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 10 (level, low) -> IRQ 10
[ACPI Debug] String: Length 0x0A, "LINK-D-STA"
[ACPI Debug] String: Length 0x0A, "LINK-D-CRS"
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 11 (level, low) -> IRQ 11
[ACPI Debug] String: Length 0x09, "LINKC-SRS"
[ACPI Debug] String: Length 0x0A, "LINK-C-STA"
[ACPI Debug] String: Length 0x09, "LINKC-CRS"
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 11 (level, low) -> IRQ 11
[ACPI Debug] String: Length 0x0A, "LINK-B-SRS"
[ACPI Debug] String: Length 0x0A, "LINK-B STA"
[ACPI Debug] String: Length 0x0A, "LINK-B-CRS"
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
ACPI: PCI interrupt 0000:00:1f.3[B] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
ACPI: PCI interrupt 0000:02:01.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:02:03.0[A] -> GSI 11 (level, low) -> IRQ 11
[ACPI Debug] String: Length 0x0A, "LINK-F-STA"
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 11
ACPI: PCI interrupt 0000:02:03.1[B] -> GSI 11 (level, low) -> IRQ 11
vesafb: framebuffer at 0xa0000000, mapped to 0xe080e000, size 1536k
vesafb: mode is 1024x768x8, linelength=1024, pages=3
vesafb: protected mode interface info at c000:df90
vesafb: scrolling: redraw
fb0: VESA VGA frame buffer device
Simple Boot Flag at 0x37 set to 0x80
Machine check exception polling timer started.
ACPI: AC Adapter [AC] (off-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Processor [CPU0] (supports C1 C2, 8 throttling states)
Console: switching to colour frame buffer device 128x48
lp: driver loaded but no devices found
Real Time Clock Driver v1.12
hw_random hardware driver 1.0.0 loaded
Linux agpgart interface v0.100 (c) Dave Jones
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 5 (level, low) -> IRQ 5
parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
parport0: irq 7 detected
lp0: using parport0 (polling).
Using anticipatory io scheduler
floppy0: no floppy controllers found
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 11 (level, low) -> IRQ 11
ICH4: chipset revision 3
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x1108-0x110f, BIOS settings: hdc:DMA, hdd:pio
hda: TOSHIBA MK6021GAS, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: MATSHITAUJ-815A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 117210240 sectors (60011 MB), CHS=65535/16/63, UDMA(100)
hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(66)
Uniform CD-ROM driver Revision: 3.20
mice: PS/2 mouse device common for all mice
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
Synaptics Touchpad, model: 1
Firmware: 5.9
180 degree mounted touchpad
Sensor: 37
new absolute packet format
Touchpad has extended capability bits
-> multifinger detection
-> palm detection
input: SynPS/2 Synaptics TouchPad on isa0060/serio2
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
Advanced Linux Sound Architecture Driver Version 1.0.4 (Mon May 17 14:31:44 2004 UTC).
ALSA device list:
No soundcards found.
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
ip_conntrack version 2.1 (4095 buckets, 32760 max) - 296 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost na snowman.net>. http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S3 S4 S5)
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 168k freed
Adding 499956k swap on /dev/hda3. Priority:-1 extents:1
EXT3 FS on hda5, internal journal
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 10 (level, low) -> IRQ 10
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-6111 Tue Jul 27 07:55:38 PDT 2004
cdrom: open failed.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:1d.0: Intel Corp. 82801DB (ICH4) USB UHCI #1
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: irq 10, io base 00001200
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:1d.1: Intel Corp. 82801DB (ICH4) USB UHCI #2
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: irq 11, io base 00001600
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:1d.2: Intel Corp. 82801DB (ICH4) USB UHCI #3
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: irq 11, io base 00001700
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 11 (level, low) -> IRQ 11
ehci_hcd 0000:00:1d.7: Intel Corp. 82801DB (ICH4) USB2 EHCI Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 11, pci mem e09ff000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 6 ports detected
ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 49364 usecs
intel8x0: clocking to 48000
8139too Fast Ethernet driver 0.9.27
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 11 (level, low) -> IRQ 11
eth0: RealTek RTL8139 at 0xe0a4d000, 00:40:d0:43:e6:68, IRQ 11
eth0: Identified 8139 chip type 'RTL-8101'
ohci1394: $Rev: 1223 $ Ben Collins <bcollins na debian.org>
ACPI: PCI interrupt 0000:02:03.1[B] -> GSI 11 (level, low) -> IRQ 11
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[11] MMIO=[d0000000-d00007ff] Max Packet=[2048]
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0040d00100173755]
...
Další informace o konferenci Linux