Subject: Re: Please test POWERNOW_K[78]
To: <>
From: Eric Schnoebelen <eric@cirr.com>
List: port-i386
Date: 09/01/2006 18:14:45
Juan RP writes:
- On Tue, 29 Aug 2006 00:05:52 -0500
- eric@cirr.com (Eric Schnoebelen) wrote:
- > Juan RP writes:
- > - The latest code for POWERNOW_K[78] is now in -current, if you have
- > - any AMD Athlon Mobile or Athlon 64 cpu, please try it out and
- > - report success/failure, etc.
- > 
- > 	I know this to be a bit late, but..
- > 
- > 	I have to report failure.. I've got an HP Pavilion
- > ze4500 Laptop with an AMD Atholon XP2500+ processor.
- > 
- > 	Under previous versions of the PowerNow support, it
- > would report being a PowerNow processor, but provide garbage
- > speed values.
- > 
- > 	Under the current PowerNow support, it reports as
- > having TS, FID, and VID, but doesn't offer up the PowerNow speed
- > control support.
- 
- Can you please rebuild your kernel with "options POWERNOW_DEBUG"?

	Done.  No additional output.. :(

	I've included the output from a 3.99.17 kernel (just the
CPU portion), followed by the full dmesg of the 4.0_BETA kernel.

-- CPU portion of dmesg from NetBSD 3.99.17 using modified GENERIC_LAPTOP:
    Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
	The NetBSD Foundation, Inc.  All rights reserved.
    Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

    NetBSD 3.99.17 (ARGONAUT) #6: Sun Mar 26 20:10:52 CST 2006
	    root@argonaut.cirr.com:/usr/src/sys/arch/i386/compile/ARGONAUT
    total memory = 702 MB
    avail memory = 682 MB
    BIOS32 rev. 0 found at 0xfd730
    PCI BIOS rev. 2.1 found at 0xfd87b
    pcibios: config mechanism [1][x], special cycles [x][x], last bus 2
    PCI IRQ Routing Table rev. 1.0 found at 0xfdf10, size 208 bytes (11 entries)
    PCI Interrupt Router at 000:07:0 (Acer Labs M1543 PCI-ISA Bridge compatible)
    ------------------------------------------
      device vendor product pin PIRQ IRQ stage
    ------------------------------------------
    000:06:0 0x10b9 0x5451   A  0x07   5  0    already assigned
    000:08:0 0x10b9 0x5457   A  0x06   3  0    already assigned
    000:09:0 0x168c 0x0013   A  0x03   9  0    already assigned
    000:10:0 0x1217 0x6972   A  0x05  10  0    already assigned
    000:12:0 0x104c 0x8026   A  0x02  10  0    already assigned
    000:18:0 0x100b 0x0020   A  0x01  11  0    already assigned
    001:05:0 0x1002 0x4336   A  0x00  10  0    already assigned
    ------------------------------------------
    mainbus0 (root)
    pci_addr_fixup: 000:10:0 0x1217 0x6972 new address 0x2bf00000
    cpu0 at mainbus0: (uniprocessor)
    cpu0: AMD Athlon XP2500+ (686-class), 1855.35 MHz, id 0x6a0
    cpu0: features c3cbf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
    cpu0: features c3cbf9ff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMXX,MMX>
    cpu0: features c3cbf9ff<FXSR,SSE,3DNOW2,3DNOW>
    cpu0: "mobile AMD Athlon(tm) XP2500+"
    cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
    cpu0: L2 cache 512 KB 64B/line 16-way
    cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associative
    cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
    cpu0: AMD Power Management features: TS FID VID
    cpu0: AMD PowerNow! Technology
    cpu0: available frequencies (MHz): PM^]-M-AM^?M^?M-oM^?M^?M^?M^?M^?M^?M^?M^?M^?@M-MZM-A
    cpu0: current frequency (MHz): -1
    cpu0: 8 page colors
    acpi0 at mainbus0: Advanced Configuration and Power Interface
    acpi0: using Intel ACPI CA subsystem version 20060217
    acpi0: X/RSDT: OemId <PTLTD ,  RSDT  ,06040000>, AslId < LTP,00000000>
    acpi0: SCI interrupting at int 9
    acpi0: fixed-feature power button present

-- dmesg of NetBSD 4.0_BETA with POWERNOW_DEBUG:
    Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
	The NetBSD Foundation, Inc.  All rights reserved.
    Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

    NetBSD 4.0_BETA (GENERIC_LAPTOP) #3: Wed Aug 30 21:11:07 CDT 2006
	    root@argonaut.cirr.com:/usr/obj/sys/arch/i386/compile/GENERIC_LAPTOP
    total memory = 702 MB
    avail memory = 682 MB
    timecounter: Timecounters tick every 10.000 msec
    timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
    timecounter: selected timecounter "i8254" frequency 1193182 Hz quality 100
    BIOS32 rev. 0 found at 0xfd730
    PCI BIOS rev. 2.1 found at 0xfd87b
    pcibios: config mechanism [1][x], special cycles [x][x], last bus 2
    PCI IRQ Routing Table rev. 1.0 found at 0xfdf10, size 208 bytes (11 entries)
    PCI Interrupt Router at 000:07:0 (Acer Labs M1533 PCI-ISA Bridge compatible)
    ------------------------------------------
      device vendor product pin PIRQ IRQ stage
    ------------------------------------------
    000:06:0 0x10b9 0x5451   A  0x07   5  0    already assigned
    000:08:0 0x10b9 0x5457   A  0x06   3  0    already assigned
    000:09:0 0x168c 0x0013   A  0x03   9  0    already assigned
    000:10:0 0x1217 0x6972   A  0x05  10  0    already assigned
    000:12:0 0x104c 0x8026   A  0x02  10  0    already assigned
    000:18:0 0x100b 0x0020   A  0x01  11  0    already assigned
    001:05:0 0x1002 0x4336   A  0x00  10  0    already assigned
    ------------------------------------------
    mainbus0 (root)
    pci_addr_fixup: 000:10:0 0x1217 0x6972 new address 0x2bf00000
    cpu0 at mainbus0: (uniprocessor)
    cpu0: AMD Athlon XP2500+ (686-class), 1855.31 MHz, id 0x6a0
    cpu0: features c3cbf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
    cpu0: features c3cbf9ff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMXX,MMX>
    cpu0: features c3cbf9ff<FXSR,SSE,3DNOW2,3DNOW>
    cpu0: "mobile AMD Athlon(tm) XP2500+"
    cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
    cpu0: L2 cache 512 KB 64B/line 16-way
    cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associative
    cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
    cpu0: AMD Power Management features: TS FID VID
    cpu0: 8 page colors
    acpi0 at mainbus0: Advanced Configuration and Power Interface
    acpi0: using Intel ACPI CA subsystem version 20060217
    acpi0: X/RSDT: OemId <PTLTD ,  RSDT  ,06040000>, AslId < LTP,00000000>
    acpi0: SCI interrupting at int 9
    acpi0: fixed-feature power button present
    timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
    timecounter: selected timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
    ACPI-Safe 32-bit timer
    LNKU: ACPI: Found matching pin for 0.2.INTA at func 0: 9
    LNKG: ACPI: Found matching pin for 0.8.INTA at func 0: 3
    LNKH: ACPI: Found matching pin for 0.6.INTA at func 0: 5
    LNKB: ACPI: Found matching pin for 0.18.INTA at func 0: 11
    LNKD: ACPI: Found matching pin for 0.9.INTA at func 0: 9
    LNKC: ACPI: Found matching pin for 0.12.INTA at func 0: 10
    LNKF: ACPI: Found matching pin for 0.10.INTA at func 0: 10
    LNKF: BIOS IRQ 10 for 0.10.INTA is invalid
    LNKC: ACPI: Found matching pin for 1.5.INTA at func 0: 10
    ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
    PNP0A03 at acpi0 not configured
    PNP0C0F at acpi0 not configured
    PNP0C0F at acpi0 not configured
    PNP0C0F at acpi0 not configured
    PNP0C0F at acpi0 not configured
    PNP0C0F at acpi0 not configured
    PNP0C0F at acpi0 not configured
    PNP0C0F at acpi0 not configured
    PNP0C0F at acpi0 not configured
    PNP0C0F at acpi0 not configured
    PNP0200 at acpi0 not configured
    PNP0000 at acpi0 not configured
    PNP0100 at acpi0 not configured
    PNP0B00 at acpi0 not configured
    PNP0C04 at acpi0 not configured
    PNP0800 at acpi0 not configured
    PNP0303 at acpi0 not configured
    SYN0105 at acpi0 not configured
    PNP0C02 at acpi0 not configured
    PNP0C01 at acpi0 not configured
    PNP0A05 at acpi0 not configured
    PNP0700 at acpi0 not configured
    PNP0401 at acpi0 not configured
    PNP0501 at acpi0 not configured
    acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
    acpiec0: io 0x62,0x66
    HWPC209 at acpi0 not configured
    acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
    acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
    acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
    acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
    acpitz0 at acpi0: ACPI Thermal Zone
    acpitz0: polling interval is 0.0s
    acpitz0: passive cooling mode only
    acpitz0: critical 100.0C passive 76.0C
    apm0 at acpi0: Power Management spec V1.2
    acpiacad0: AC adapter online.
    pci0 at mainbus0 bus 0: configuration mode 1
    pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
    pchb0 at pci0 dev 0 function 0
    pchb0: ATI Technologies product 0xcab0 (rev. 0x13)
    agp at pchb0 not configured
    ppb0 at pci0 dev 1 function 0: ATI Technologies product 0x700f (rev. 0x01)
    pci1 at ppb0 bus 1
    pci1: i/o space, memory space enabled
    vga1 at pci1 dev 5 function 0: ATI Technologies Radeon IGP320M (U1) 4336 (rev. 0x00)
    wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
    wsmux1: connecting to wsdisplay0
    ohci0 at pci0 dev 2 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
    ohci0: interrupting at irq 9
    ohci0: OHCI version 1.0, legacy support
    usb0 at ohci0: USB revision 1.0
    uhub0 at usb0
    uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub0: 4 ports with 4 removable, self powered
    autri0 at pci0 dev 6 function 0: Acer Labs M5451 AC-Link Controller Audio Device (rev. 0x02)
    autri0: interrupting at irq 5
    autri0: ac97: Conexant unknown (0x43585429) codec; reserved, headphone, 18 bit DAC, 18 bit ADC, no 3D stereo
    audio0 at autri0: full duplex, mmap, independent
    midi0 at autri0: 4DWAVE MIDI UART (CPU-intensive output)
    pcib0 at pci0 dev 7 function 0
    pcib0: Acer Labs M1533 PCI-ISA Bridge (rev. 0x00)
    Acer Labs product 0x5457 (modem communications) at pci0 dev 8 function 0 not configured
    ath0 at pci0 dev 9 function 0
    ath0: interrupting at irq 9
    ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
    ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
    ath0: mac 5.6 phy 4.1 radio 1.7
    cbb0 at pci0 dev 10 function 0: O2 Micro OZ6912/OZ6972 PCI-CardBus Bridge (rev. 0x00)
    Texas Instruments TSB43AA21 IEEE 1394 Host Controller (Firewire serial bus, interface 0x10) at pci0 dev 12 function 0 not configured
    aceride0 at pci0 dev 16 function 0
    aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc4)
    aceride0: bus-master DMA support present
    aceride0: primary channel wired to compatibility mode
    aceride0: primary channel interrupting at irq 14
    atabus0 at aceride0 channel 0
    aceride0: secondary channel wired to compatibility mode
    aceride0: secondary channel interrupting at irq 15
    atabus1 at aceride0 channel 1
    Acer Labs M7101 Power Management Controller (miscellaneous bridge) at pci0 dev 17 function 0 not configured
    sip0 at pci0 dev 18 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
    sip0: interrupting at irq 11
    sip0: Ethernet address 00:0b:cd:7a:a4:cf
    nsphyter0 at sip0 phy 0: DP83815 10/100 media interface, rev. 1
    nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    isa0 at pcib0
    lpt0 at isa0 port 0x378-0x37b irq 7
    com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
    pckbc0 at isa0 port 0x60-0x64
    pckbd0 at pckbc0 (kbd slot)
    pckbc0: using irq 1 for kbd slot
    wskbd0 at pckbd0: console keyboard, using wsdisplay0
    pms0 at pckbc0 (aux slot)
    pms0: Synaptics touchpad version 5.9
    pms0: Palm detect, Multi-finger
    pckbc0: using irq 12 for aux slot
    wsmouse0 at pms0 mux 0
    attimer0 at isa0 port 0x40-0x43: AT Timer
    pcppi0 at isa0 port 0x61
    midi1 at pcppi0: PC speaker (CPU-intensive output)
    sysbeep0 at pcppi0
    isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
    npx0 at isa0 port 0xf0-0xff
    npx0: using exception 16
    fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
    pcppi0: attached to attimer0
    isapnp0: no ISA Plug 'n Play devices found
    LNKF: Picked IRQ 11 with weight 1
    cbb0: interrupting at irq 11
    cardslot0 at cbb0 slot 0 flags 0
    cardbus0 at cardslot0: bus 2
    pcmcia0 at cardslot0
    WARNING: Callback scheduled before sysmon task queue thread present.
    timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
    Kernelized RAIDframe activated
    acpibat0: battery info: SMP, LION, 01KT, 7
    wd0 at atabus0 drive 0: <FUJITSU MHV2040AT>
    wd0: drive supports 16-sector PIO transfers, LBA addressing
    wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
    wd0: 32-bit data port
    wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
    wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
    atapibus0 at atabus1: 2 targets
    cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-R2312, X342416849, 1905> cdrom removable
    cd0: 32-bit data port
    cd0: drive supports PIO mode 4, DMA mode 2
    cd0(aceride0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
    boot device: wd0
    root on wd0a dumps on wd0b
    root file system type: ffs
    wsdisplay0: screen 1 added (80x25, vt100 emulation)
    wsdisplay0: screen 2 added (80x25, vt100 emulation)
    wsdisplay0: screen 3 added (80x25, vt100 emulation)
    wsdisplay0: screen 4 added (80x25, vt100 emulation)

--
Eric Schnoebelen		eric@cirr.com		http://www.cirr.com
	Seen in PC&Pixel comic strip:
		Sure, I'm financially set for life...
			...so long as I die tomorrow.