* Frequency can't switch on a dual Turion 64
@ 2007-01-12 11:56 Romain Liévin
2007-01-12 15:06 ` Langsdorf, Mark
0 siblings, 1 reply; 7+ messages in thread
From: Romain Liévin @ 2007-01-12 11:56 UTC (permalink / raw)
To: davej; +Cc: cpufreq
[-- Attachment #1: Type: text/plain, Size: 931 bytes --]
Hi,
I may have detected a bug with the K8 cpu frequency driver
(powernow_k8.c). While the driver correctly
detect the 2 availables frequencies (800 & 1600 MHz), the governor always
uses the lowest one.
Even if I force Linux to use the performance governor, it still uses the
lowest frequency. Sometimes, it
enables the highest frequency. In this case, my laptop switches well
between lowest and highest frequencies on power insertion/removal.
On your site, I have read that it may be an ACPI related problem... What
do you think?
My system is a laptop (dual Turion 64 mobile) running a 64-bits
Debian/testing distro with a vanilla kernel (2.6.19.1).
I have attached a copy of my dmesg output and of the governor interface in
sysfs.
Feel free to ask me any other information which might be helpful.
Regards, Romain.
--
email: <roms@lievin.net>
web: <http://www.lievin.net>
"Linux, y'a moins bien mais c'est plus cher !"
[-- Attachment #2: cpufreq.dmesg --]
[-- Type: application/octet-stream, Size: 20927 bytes --]
Linux version 2.6.19.1 (root@porky) (gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)) #9 SMP Tue Jan 9 19:07:05 CET 2007
Command line: BOOT_IMAGE=Linux_2.6.19 root=803 cpufreq.debug=1
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009dc00 (usable)
BIOS-e820: 000000000009dc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000d0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003ff60000 (usable)
BIOS-e820: 000000003ff60000 - 000000003ff6a000 (ACPI data)
BIOS-e820: 000000003ff6a000 - 000000003ff80000 (ACPI NVS)
BIOS-e820: 000000003ff80000 - 0000000040000000 (reserved)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
Entering add_active_range(0, 0, 157) 0 entries of 256 used
Entering add_active_range(0, 256, 261984) 1 entries of 256 used
end_pfn_map = 1048576
DMI present.
ACPI: RSDP (v000 PTLTD ) @ 0x00000000000f8a80
ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0x000000003ff6549e
ACPI: FADT (v001 NVIDIA MCP51M 0x06040000 PTL_ 0x000f4240) @ 0x000000003ff69d48
ACPI: SSDT (v001 PTLTD POWERNOW 0x06040000 LTP 0x00000001) @ 0x000000003ff69dbc
ACPI: MCFG (v001 PTLTD MCFG 0x06040000 LTP 0x00000000) @ 0x000000003ff69f3e
ACPI: MADT (v001 PTLTD APIC 0x06040000 LTP 0x00000000) @ 0x000000003ff69f7a
ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0x000000003ff69fd8
ACPI: DSDT (v001 FIC PTB50 0x06040000 MSFT 0x0100000e) @ 0x0000000000000000
Entering add_active_range(0, 0, 157) 0 entries of 256 used
Entering add_active_range(0, 256, 261984) 1 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
DMA32 4096 -> 1048576
Normal 1048576 -> 1048576
early_node_map[2] active PFN ranges
0: 0 -> 157
0: 256 -> 261984
On node 0 totalpages: 261885
DMA zone: 56 pages used for memmap
DMA zone: 1238 pages reserved
DMA zone: 2703 pages, LIFO batch:0
DMA32 zone: 3525 pages used for memmap
DMA32 zone: 254363 pages, LIFO batch:31
Normal zone: 0 pages used for memmap
Nvidia board detected. Ignoring ACPI timer override.
If you got timer trouble try acpi_use_timer_override
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 (Bootup-CPU)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: BIOS IRQ0 pin2 override ignored.
ACPI: IRQ9 used by override.
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
Nosave address range: 000000000009d000 - 000000000009e000
Nosave address range: 000000000009e000 - 00000000000a0000
Nosave address range: 00000000000a0000 - 00000000000d0000
Nosave address range: 00000000000d0000 - 0000000000100000
Allocating PCI resources starting at 50000000 (gap: 40000000:a0000000)
PERCPU: Allocating 35648 bytes of per cpu data
Built 1 zonelists. Total pages: 257066
Kernel command line: BOOT_IMAGE=Linux_2.6.19 root=803 cpufreq.debug=1
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Checking aperture...
CPU 0: aperture @ c4ea000000 size 32 MB
Aperture too small (32 MB)
No AGP bridge found
Memory: 1026340k/1047936k available (2840k kernel code, 20960k reserved, 1393k data, 236k init)
Calibrating delay using timer specific routine.. 3209.72 BogoMIPS (lpj=6419453)
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
Freeing SMP alternatives: 32k freed
ACPI: Core revision 20060707
Using local APIC timer interrupts.
result 12526327
Detected 12.526 MHz APIC timer.
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 3206.92 BogoMIPS (lpj=6413842)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
AMD Turion(tm) 64 X2 Mobile Technology TL-50 stepping 02
CPU 1: Syncing TSC to CPU 0.
CPU 1: synchronized TSC with CPU 0 (last diff 0 cycles, maxerr 471 cycles)
Brought up 2 CPUs
testing NMI watchdog ... OK.
Disabling vsyscall due to use of PM timer
time.c: Using 3.579545 MHz WALL PM GTOD PM timer.
time.c: Detected 1603.368 MHz processor.
migration_cost=140
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using MMCONFIG at e0000000
PCI: No mmconfig possible on device 00:18
PCI: No mmconfig possible on device 07:06
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Boot video device is 0000:05:00.0
PCI: Transparent bridge - 0000:00:10.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.XVR0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.XVR1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.XVR2._PRT]
ACPI: PCI Interrupt Link [LNK1] (IRQs 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK2] (IRQs 5 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNK3] (IRQs 5 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNK4] (IRQs 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LK1E] (IRQs 16 17 18 19 20 21 22 23) *10
ACPI: PCI Interrupt Link [LK2E] (IRQs 16 17 18 19 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LK3E] (IRQs 16 17 18 19 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LK4E] (IRQs 16 17 18 19 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LSMB] (IRQs 16 17 18 19 20 21 22 23) *10
ACPI: PCI Interrupt Link [LPMU] (IRQs 16 17 18 19 20 21 22 23) *11
ACPI: PCI Interrupt Link [LUS0] (IRQs 16 17 18 19 20 21 22 23) *11
ACPI: PCI Interrupt Link [LUS2] (IRQs 16 17 18 19 20 21 22 23) *7
ACPI: PCI Interrupt Link [LMAC] (IRQs 16 17 18 19 20 21 22 23) *11
ACPI: PCI Interrupt Link [LAZA] (IRQs 16 17 18 19 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LPID] (IRQs 16 17 18 19 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [LTID] (IRQs 16 17 18 19 20 21 22 23) *5
ACPI: PCI Interrupt Link [LSI1] (IRQs 16 17 18 19 20 21 22 23) *0, disabled.
ACPI: Power Resource [FN10] (off)
ACPI: Power Resource [FN11] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: ACPI device : hid PNP0C01
pnp: ACPI device : hid PNP0A03
pnp: ACPI device : hid PNP0C02
pnp: ACPI device : hid PNP0C02
pnp: ACPI device : hid PNP0C02
pnp: ACPI device : hid PNP0200
pnp: ACPI device : hid PNP0800
pnp: ACPI device : hid PNP0B00
pnp: ACPI device : hid PNP0C04
pnp: ACPI device : hid PNP0303
pnp: ACPI device : hid STL3842
pnp: PnP ACPI: found 11 devices
SCSI subsystem initialized
libata version 2.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
PCI-DMA: Disabling IOMMU.
pnp: the driver 'system' has been registered
pnp: match found with the PnP device '00:00' and the driver 'system'
pnp: match found with the PnP device '00:02' and the driver 'system'
pnp: match found with the PnP device '00:03' and the driver 'system'
pnp: 00:03: ioport range 0x1000-0x107f could not be reserved
pnp: 00:03: ioport range 0x1080-0x10ff has been reserved
pnp: 00:03: ioport range 0x1400-0x147f has been reserved
pnp: 00:03: ioport range 0x1480-0x14ff could not be reserved
pnp: 00:03: ioport range 0x1800-0x187f has been reserved
pnp: 00:03: ioport range 0x1880-0x18ff has been reserved
pnp: 00:03: ioport range 0x3040-0x307f has been reserved
pnp: 00:03: ioport range 0x3000-0x303f has been reserved
pnp: match found with the PnP device '00:04' and the driver 'system'
ieee1394: Initialized config rom entry `ip1394'
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 11
ACPI: PCI Interrupt 0000:07:06.0[A] -> Link [LNK1] -> GSI 11 (level, low) -> IRQ 11
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[11] MMIO=[c3000000-c30007ff] Max Packet=[2048] IR/IT contexts=[4/8]
PCI: Bridge: 0000:00:02.0
IO window: 4000-4fff
MEM window: c0200000-c03fffff
PREFETCH window: c3200000-c33fffff
PCI: Bridge: 0000:00:03.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Failed to allocate mem resource #6:20000@e0000000 for 0000:05:00.0
PCI: Bridge: 0000:00:04.0
IO window: disabled.
MEM window: c1000000-c2ffffff
PREFETCH window: d0000000-dfffffff
PCI: Bridge: 0000:00:10.0
IO window: 5000-5fff
MEM window: c3000000-c30fffff
PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:02.0 to 64
PCI: Setting latency timer of device 0000:00:03.0 to 64
PCI: Setting latency timer of device 0000:00:04.0 to 64
PCI: Setting latency timer of device 0000:00:10.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
Simple Boot Flag at 0x36 set to 0x1
NTFS driver 2.1.27 [Flags: R/W].
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Setting latency timer of device 0000:00:02.0 to 64
pcie_portdrv_probe->Dev[02fc:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:02.0:pcie00]
Allocate Port Service[0000:00:02.0:pcie03]
PCI: Setting latency timer of device 0000:00:03.0 to 64
pcie_portdrv_probe->Dev[02fd:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:03.0:pcie00]
Allocate Port Service[0000:00:03.0:pcie03]
PCI: Setting latency timer of device 0000:00:04.0 to 64
pcie_portdrv_probe->Dev[02fb:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:04.0:pcie00]
Allocate Port Service[0000:00:04.0:pcie03]
ACPI: PCI Interrupt Link [LK1E] enabled at IRQ 23
ACPI: PCI Interrupt 0000:05:00.0[A] -> Link [LK1E] -> GSI 23 (level, low) -> IRQ 23
nvidiafb: Device ID: 10de01d8
nvidiafb: CRTC0 analog not found
nvidiafb: CRTC1 analog not found
nvidiafb: CRTC 0 is currently programmed for DFP
nvidiafb: Using DFP on CRTC 0
nvidiafb: Panel size is 1280 x 800
nvidiafb: Panel is TMDS
nvidiafb: MTRR set to ON
fbcvt: 1280x800@60: CVT Name - 1.024MA-R
nvidiafb: Flat panel dithering disabled
Console: switching to colour frame buffer device 160x50
nvidiafb: PCI nVidia NV1d framebuffer (64MB @ 0xD0000000)
ACPI: AC Adapter [ACAD] (off-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Lid Switch [LID]
ACPI: Transitioning device [FN1] to D3
ACPI: Transitioning device [FN1] to D3
ACPI: Fan [FN1] (off)
ACPI: Transitioning device [FN2] to D3
ACPI: Transitioning device [FN2] to D3
ACPI: Fan [FN2] (off)
ACPI: Thermal Zone [THRM] (39 C)
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 4096K size 4096 blocksize
loop: loaded (max 8 devices)
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.57.
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:14.0[A] -> Link [LMAC] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:14.0 to 64
forcedeth: using HIGHDMA
eth0: forcedeth.c: subsystem: 01734:10d3 bound to 0000:00:14.0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE-MCP51: IDE controller at PCI slot 0000:00:0d.0
NFORCE-MCP51: chipset revision 241
NFORCE-MCP51: not 100% native mode: will probe irqs later
NFORCE-MCP51: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE-MCP51: 0000:00:0d.0 (rev f1) UDMA133 controller
ide0: BM-DMA at 0x3080-0x3087, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x3088-0x308f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0040ca013f003543]
hda: HL-DT-ST DVD-RW GWA-4082N, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
sata_nv 0000:00:0e.0: version 2.0
PCI: Enabling device 0000:00:0e.0 (0005 -> 0007)
ACPI: PCI Interrupt Link [LTID] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:0e.0[A] -> Link [LTID] -> GSI 21 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:0e.0 to 64
ata1: SATA max UDMA/133 cmd 0x30B0 ctl 0x30A6 bmdma 0x3090 irq 21
ata2: SATA max UDMA/133 cmd 0x30A8 ctl 0x30A2 bmdma 0x3098 irq 21
scsi0 : sata_nv
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-7, max UDMA/133, 234441648 sectors: LBA48 NCQ (depth 0/1)
ata1.00: ata1: dev 0 multi count 16
ata1.00: configured for UDMA/133
scsi1 : sata_nv
ata2: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0x30AF
scsi 0:0:0:0: Direct-Access ATA WDC WD1200BEVS-0 01.0 PQ: 0 ANSI: 5
SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
usbmon: debugfs is not available
ACPI: PCI Interrupt Link [LUS2] enabled at IRQ 20
ACPI: PCI Interrupt 0000:00:0b.1[B] -> Link [LUS2] -> GSI 20 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:0b.1 to 64
ehci_hcd 0000:00:0b.1: EHCI Host Controller
ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0b.1: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:0b.1
ehci_hcd 0000:00:0b.1: irq 20, io mem 0xc0005000
ehci_hcd 0000:00:0b.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [LUS0] enabled at IRQ 19
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LUS0] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:0b.0 to 64
ohci_hcd 0000:00:0b.0: OHCI Host Controller
ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0b.0: irq 19, io mem 0xc0004000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v3.0
Initializing USB Mass Storage driver...
usb 1-3: new high speed USB device using ehci_hcd and address 2
usb 1-3: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
pnp: the driver 'i8042 kbd' has been registered
pnp: match found with the PnP device '00:09' and the driver 'i8042 kbd'
pnp: the driver 'i8042 aux' has been registered
pnp: match found with the PnP device '00:0a' and the driver 'i8042 aux'
PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: PC Speaker as /class/input/input0
i2c /dev entries driver
i2c_adapter i2c-3: nForce2 SMBus adapter at 0x3040
i2c_adapter i2c-4: nForce2 SMBus adapter at 0x3000
sdhci: Secure Digital Host Controller Interface driver, 0.12
sdhci: Copyright(c) Pierre Ossman
Advanced Linux Sound Architecture Driver Version 1.0.13 (Tue Nov 28 14:07:24 2006 UTC).
ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 18
ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [LAZA] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:10.1 to 64
input: AT Translated Set 2 keyboard as /class/input/input1
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
ALSA device list:
#0: HDA NVidia at 0xc0000000 irq 18
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ieee80211_crypt: registered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'WEP'
input: ImExPS/2 Generic Explorer Mouse as /class/input/input2
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 236k freed
Adding 2104504k swap on /dev/sda2. Priority:-1 extents:1 across:2104504k
EXT3 FS on sda3, internal journal
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
NTFS volume version 3.1.
NTFS-fs warning (device sda1): load_system_files(): Unsupported volume flags 0x4000 encountered.
NTFS-fs error (device sda1): load_system_files(): Volume has unsupported flags set. Mounting read-only. Run chkdsk and mount in Windows.
eth1: no link during initialization.
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
device eth1 entered promiscuous mode
device tap0 entered promiscuous mode
br0: port 2(tap0) entering learning state
br0: topology change detected, propagating
br0: port 2(tap0) entering forwarding state
cpufreq-core: trying to register driver acpi-cpufreq
cpufreq-core: adding CPU 0
cpufreq-core: initialization failed
cpufreq-core: adding CPU 1
cpufreq-core: initialization failed
cpufreq-core: no CPU initialized for driver acpi-cpufreq
cpufreq-core: unregistering CPU 0
cpufreq-core: unregistering CPU 1
powernow-k8: Found 2 AMD Turion(tm) 64 X2 Mobile Technology TL-50 processors (version 2.00.00)
cpufreq-core: trying to register driver powernow-k8
cpufreq-core: adding CPU 0
powernow-k8: 0 : fid 0x8 (1600 MHz), vid 0x13
powernow-k8: 1 : fid 0x0 (800 MHz), vid 0x1e
freq-table: table entry 0: 1600000 kHz, 4872 index
freq-table: table entry 1: 800000 kHz, 7680 index
freq-table: setting show_table for cpu 0 to ffff81003e866b80
cpufreq-core: CPU 1 already managed, adding link
cpufreq-core: setting new policy for CPU 0: 800000 - 1600000 kHz
freq-table: request for verification of policy (800000 - 1600000 kHz) for cpu 0
freq-table: verification lead to (800000 - 1600000 kHz) for cpu 0
freq-table: request for verification of policy (800000 - 800000 kHz) for cpu 0
freq-table: verification lead to (800000 - 800000 kHz) for cpu 0
cpufreq-core: new min and max freqs are 800000 - 800000 kHz
cpufreq-core: governor switch
cpufreq-core: __cpufreq_governor for CPU 0, event 1
cpufreq-core: target for CPU 0: 800000 kHz, relation 1
freq-table: request for target 800000 kHz (relation: 1) for cpu 0
freq-table: target is 1 (800000 kHz, 7680)
cpufreq-core: notification 0 of frequency transition to 800000 kHz
cpufreq-core: notification 0 of frequency transition to 800000 kHz
cpufreq-core: notification 1 of frequency transition to 800000 kHz
cpufreq-core: notification 1 of frequency transition to 800000 kHz
cpufreq-core: governor: change or update limits
cpufreq-core: __cpufreq_governor for CPU 0, event 3
cpufreq-core: target for CPU 0: 800000 kHz, relation 1
freq-table: request for target 800000 kHz (relation: 1) for cpu 0
freq-table: target is 1 (800000 kHz, 7680)
cpufreq-core: initialization complete
cpufreq-core: adding CPU 1
cpufreq-core: driver powernow-k8 up and running
[-- Attachment #3: cpufreq.sysfs --]
[-- Type: application/octet-stream, Size: 1055 bytes --]
1) cat * ./
0 1
800000
1600000
800000
1600000 800000
powersave performance
800000
powernow-k8
performance
800000
800000
2) ls -la in cpufreq
-r--r--r-- 1 root root 4096 2007-01-12 07:22 affected_cpus
-r-------- 1 root root 4096 2007-01-12 07:22 cpuinfo_cur_freq
-r--r--r-- 1 root root 4096 2007-01-12 07:22 cpuinfo_max_freq
-r--r--r-- 1 root root 4096 2007-01-12 07:22 cpuinfo_min_freq
-r--r--r-- 1 root root 4096 2007-01-12 07:22 scaling_available_frequencies
-r--r--r-- 1 root root 4096 2007-01-12 07:22 scaling_available_governors
-r--r--r-- 1 root root 4096 2007-01-12 07:22 scaling_cur_freq
-r--r--r-- 1 root root 4096 2007-01-12 07:22 scaling_driver
-rw-r--r-- 1 root root 4096 2007-01-12 07:22 scaling_governor
-rw-r--r-- 1 root root 4096 2007-01-12 07:22 scaling_max_freq
-rw-r--r-- 1 root root 4096 2007-01-12 07:22 scaling_min_freq
drwxr-xr-x 2 root root 0 2007-01-12 07:22 stats
3) cat * /stats
1600000 0
800000 106572
1
From : To
: 1600000 800000
1600000: 0 1
800000: 0 0
[-- Attachment #4: Type: text/plain, Size: 147 bytes --]
_______________________________________________
Cpufreq mailing list
Cpufreq@lists.linux.org.uk
http://lists.linux.org.uk/mailman/listinfo/cpufreq
^ permalink raw reply [flat|nested] 7+ messages in thread* RE: Frequency can't switch on a dual Turion 64
2007-01-12 11:56 Frequency can't switch on a dual Turion 64 Romain Liévin
@ 2007-01-12 15:06 ` Langsdorf, Mark
2007-01-13 20:21 ` Thomas Renninger
2007-01-21 10:28 ` Romain Liévin
0 siblings, 2 replies; 7+ messages in thread
From: Langsdorf, Mark @ 2007-01-12 15:06 UTC (permalink / raw)
To: Romain Liévin, davej; +Cc: cpufreq
> I may have detected a bug with the K8 cpu frequency driver
> (powernow_k8.c). While the driver correctly
> detect the 2 availables frequencies (800 & 1600 MHz), the
> governor always uses the lowest one.
It looks like the powernow-k8 driver correctly constructs
a two entry frequency table and verifies it, and then
reverifies a second frequency table with only 1 entry in
it.
I'm not familiar enough with the cpufreq code to guess
why this is happening. I don't think it's a powernow-k8
bug, but I suppose it could be doing something wrong.
-Mark Langsdorf
AMD, Inc.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Frequency can't switch on a dual Turion 64
2007-01-12 15:06 ` Langsdorf, Mark
@ 2007-01-13 20:21 ` Thomas Renninger
2007-01-13 21:55 ` Romain Liévin
2007-01-21 10:28 ` Romain Liévin
1 sibling, 1 reply; 7+ messages in thread
From: Thomas Renninger @ 2007-01-13 20:21 UTC (permalink / raw)
To: Langsdorf, Mark; +Cc: davej, Romain Liévin, cpufreq
On Fri, 2007-01-12 at 09:06 -0600, Langsdorf, Mark wrote:
> > I may have detected a bug with the K8 cpu frequency driver
> > (powernow_k8.c). While the driver correctly
> > detect the 2 availables frequencies (800 & 1600 MHz), the
> > governor always uses the lowest one.
>
> It looks like the powernow-k8 driver correctly constructs
> a two entry frequency table and verifies it, and then
> reverifies a second frequency table with only 1 entry in
> it.
>
> I'm not familiar enough with the cpufreq code to guess
> why this is happening. I don't think it's a powernow-k8
> bug, but I suppose it could be doing something wrong.
I also think this is ACPI triggered...
does:
echo 1600000 > /sys/devices/../scaling_max_freq
helps, maybe shortly?
Is this an HP laptop?
Do you have some extended powernow/cpufreq configs in BIOS?
Is it getting too hot?
Check whether there exists a passive trip point in:
/proc/acpi/thermal_zone/*/trip_points
and whether
/proc/acpi/thermal_zone/*/temperature exceeds it.
Thomas
^ permalink raw reply [flat|nested] 7+ messages in thread* RE: Frequency can't switch on a dual Turion 64
2007-01-13 20:21 ` Thomas Renninger
@ 2007-01-13 21:55 ` Romain Liévin
0 siblings, 0 replies; 7+ messages in thread
From: Romain Liévin @ 2007-01-13 21:55 UTC (permalink / raw)
To: trenn; +Cc: davej, Romain Liévin, cpufreq
[-- Attachment #1: Type: text/plain, Size: 955 bytes --]
Hi,
> I also think this is ACPI triggered...
> does:
> echo 1600000 > /sys/devices/../scaling_max_freq
> helps, maybe shortly?
I already done that some time ago: it does nothing. And echoing on
scaling_cur_freq raises a 'Permission denied'.
> Is this an HP laptop?
No, it isn't. This is a Fujitsu-Siemens Amilo Pa1538.
> Do you have some extended powernow/cpufreq configs in BIOS?
No, I haven't. The BIOS is very small.
> Is it getting too hot?
LM sensors (k8temp.c) is returning 34 & 3 °C for both CPU. Acpi is
returning 37°C.
> Check whether there exists a passive trip point in:
> /proc/acpi/thermal_zone/*/trip_points
> and whether
> /proc/acpi/thermal_zone/*/temperature exceeds it.
Trip points exist but they are not exceeded (see ouput attached).
>
> Thomas
>
>
Romain.
--
email: <roms@lievin.net>
web: <http://www.lievin.net>
"Linux, y'a moins bien mais c'est plus cher !"
[-- Attachment #2: cpufreq.acpi --]
[-- Type: application/octet-stream, Size: 345 bytes --]
cooling mode: active
<polling disabled>
state: ok
temperature: 36 C
critical (S5): 103 C
passive: 76 C: tc1=3 tc2=1 tsp=150 devices=0xffff81003ff06b30 0xffff81003ff06af0
active[0]: 75 C: devices=0xffff81003ff142d0
active[1]: 62 C: devices=0xffff81003ff14250
[-- Attachment #3: Type: text/plain, Size: 147 bytes --]
_______________________________________________
Cpufreq mailing list
Cpufreq@lists.linux.org.uk
http://lists.linux.org.uk/mailman/listinfo/cpufreq
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Frequency can't switch on a dual Turion 64
2007-01-12 15:06 ` Langsdorf, Mark
2007-01-13 20:21 ` Thomas Renninger
@ 2007-01-21 10:28 ` Romain Liévin
2007-01-21 11:46 ` Thomas Renninger
1 sibling, 1 reply; 7+ messages in thread
From: Romain Liévin @ 2007-01-21 10:28 UTC (permalink / raw)
To: Langsdorf, Mark; +Cc: davej, Romain Liévin, cpufreq
Hi,
> It looks like the powernow-k8 driver correctly constructs
> a two entry frequency table and verifies it, and then
> reverifies a second frequency table with only 1 entry in
> it.
I feel very strange that frequency range can vary ("request for
verification of policy") between 2 calls of cpufreq_driver->verify() on
the same CPU (cpufreq.c: 1386 & 1400). First call returns
800000-1600000MHz while the second one returns 800000-800000. Moreover,
both calls are done before calling set_policy() at line 1413.
I think there is either a bug, either a problem with my configuration.
Anyways, I'm investigating this by taking a look at source code.
I decided to debug this but I can load the powernow-k8 module once. I
can't unload it; I have to reboot which is very annoying. Why module is
locked?
Regards, Romain.
--
email: <roms@lievin.net>
web: <http://www.lievin.net>
"Linux, y'a moins bien mais c'est plus cher !"
^ permalink raw reply [flat|nested] 7+ messages in thread* RE: Frequency can't switch on a dual Turion 64
2007-01-21 10:28 ` Romain Liévin
@ 2007-01-21 11:46 ` Thomas Renninger
2007-01-21 15:45 ` Romain Liévin
0 siblings, 1 reply; 7+ messages in thread
From: Thomas Renninger @ 2007-01-21 11:46 UTC (permalink / raw)
To: Romain Liévin; +Cc: davej, cpufreq
On Sun, 2007-01-21 at 11:28 +0100, Romain Liévin wrote:
> Hi,
>
> > It looks like the powernow-k8 driver correctly constructs
> > a two entry frequency table and verifies it, and then
> > reverifies a second frequency table with only 1 entry in
> > it.
>
> I feel very strange that frequency range can vary ("request for
> verification of policy") between 2 calls of cpufreq_driver->verify() on
> the same CPU (cpufreq.c: 1386 & 1400). First call returns
> 800000-1600000MHz while the second one returns 800000-800000. Moreover,
> both calls are done before calling set_policy() at line 1413.
>
> I think there is either a bug, either a problem with my configuration.
> Anyways, I'm investigating this by taking a look at source code.
>
> I decided to debug this but I can load the powernow-k8 module once. I
> can't unload it; I have to reboot which is very annoying. Why module is
> locked?
In older kernels powernow-k8 could be unloaded, not sure whether this
is still the case. Switch to performance (or userspace?) governor and
try to unload all related modules, e.g. freq_tables,
maybe it still works.
I expect the limitation comes from ACPI _PPC func, so you should add
ACPI_DEBUG to your debug kernel and a printk into:
drivers/acpi/processor_perflib.c:acpi_processor_ppc_notifier()
to be sure.
Can you open a bugzilla.kernel.org bug and attach acpidump and add me
to CC, pls.
This sounds related to:
https://bugzilla.novell.com/show_bug.cgi?id=231107
You should also make sure your kernel includes this one, recently
posted here by Bruno Ducrot:
http://marc.theaimsgroup.com/?l=linux-acpi&m=116412804022222&w=2
Thomas
^ permalink raw reply [flat|nested] 7+ messages in thread* RE: Frequency can't switch on a dual Turion 64
2007-01-21 11:46 ` Thomas Renninger
@ 2007-01-21 15:45 ` Romain Liévin
0 siblings, 0 replies; 7+ messages in thread
From: Romain Liévin @ 2007-01-21 15:45 UTC (permalink / raw)
To: trenn; +Cc: davej, Romain Liévin, cpufreq
Hi,
> In older kernels powernow-k8 could be unloaded, not sure whether this is
still the case. Switch to performance (or userspace?) governor and try
to unload all related modules, e.g. freq_tables,
> maybe it still works.
I'm already using performance governator and powernow-k8 is the single
module I have.
> I expect the limitation comes from ACPI _PPC func, so you should add
ACPI_DEBUG to your debug kernel and a printk into:
> drivers/acpi/processor_perflib.c:acpi_processor_ppc_notifier()
> to be sure.
I have added printk: the function is called at module insertion.
> Can you open a bugzilla.kernel.org bug and attach acpidump and add me to
CC, pls.
I will do it.
> This sounds related to:
> https://bugzilla.novell.com/show_bug.cgi?id=231107
Yes, it does.
> You should also make sure your kernel includes this one, recently posted
here by Bruno Ducrot:
> http://marc.theaimsgroup.com/?l=linux-acpi&m=116412804022222&w=2
It is (2.6.19.2 which is the latest one).
>
> Thomas
>
>
Romain.
--
email: <roms@lievin.net>
web: <http://www.lievin.net>
"Linux, y'a moins bien mais c'est plus cher !"
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-01-21 15:45 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-12 11:56 Frequency can't switch on a dual Turion 64 Romain Liévin
2007-01-12 15:06 ` Langsdorf, Mark
2007-01-13 20:21 ` Thomas Renninger
2007-01-13 21:55 ` Romain Liévin
2007-01-21 10:28 ` Romain Liévin
2007-01-21 11:46 ` Thomas Renninger
2007-01-21 15:45 ` Romain Liévin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.