amdpm0: could not map i/o space

From: Mikhail Teterin (mi+mxmoz_at_aldan.algebra.com)
Date: 09/21/04

  • Next message: Tim Pushor: "Crystalfontz LCD display from kernel?"
    Date: Tue, 21 Sep 2004 11:41:30 -0400
    To: freebsd-hackers@FreeBSD.org, Jeremy Messenger <mezz7@cox.net>
    
    
    

    Hello!

    A Google search for the Subject brought up a recent thread on this list.

    We have an amd64 system running 5.3-BETA5, with almost-working amdpm0:

    amdpm0: <AMD 756/766/768/8111 Power Management Controller> port
    0xe0-0xff,0xb400-0xb41f irq 19 at device 7.2 on pci0
    amdpm0: could not map i/o space
    device_attach: amdpm0 attach returned 6

    The pciconf -lv lists:

    amdpm0@pci0:7:2: class=0x0c0500 card=0x746a1022 chip=0x746a1022
    rev=0x02 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8111 SMBus 2.0 Controller'
        class = serial bus
        subclass = SMBus
    none0@pci0:7:3: class=0x068000 card=0x746b1022 chip=0x746b1022
    rev=0x05 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8111 ACPI System Management Controller'
        class = bridge
        subclass = PCI-unknown

    Why is it failing? Am I missing something obvious? Thanks a lot!

        -mi

    P.S. Full dmesg.boot and the output of `pciconf -lv' can be found at,
    respectively:

        http://aldan.algebra.com/~mi/pandora.dmesg.boot.txt
        http://aldan.algebra.com/~mi/pandora.pciconf.txt

    
    

    Copyright (c) 1992-2004 The FreeBSD Project.
    Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
            The Regents of the University of California. All rights reserved.
    FreeBSD 5.3-BETA5 #4: Mon Sep 20 16:45:55 EDT 2004
        mteterin@pandora:/backup/obj/usr/src/sys/DIOSCURI
    Timecounter "i8254" frequency 1193182 Hz quality 0
    CPU: AMD Opteron(tm) Processor 244 (1792.82-MHz K8-class CPU)
      Origin = "AuthenticAMD" Id = 0xf58 Stepping = 8
      Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
      AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
    real memory = 2147418112 (2047 MB)
    avail memory = 2063945728 (1968 MB)
    ACPI APIC Table: <A M I OEMAPIC >
    MADT: Forcing active-low polarity and level trigger for SCI
    ioapic0 <Version 1.1> irqs 0-23 on motherboard
    ioapic1 <Version 1.1> irqs 24-27 on motherboard
    ioapic2 <Version 1.1> irqs 28-31 on motherboard
    acpi0: <A M I OEMXSDT> on motherboard
    acpi0: Power Button (fixed)
    Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
    acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0
    cpu0: <ACPI CPU> on acpi0
    pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
    pci0: <ACPI PCI bus> on pcib0
    pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0
    pci3: <ACPI PCI bus> on pcib1
    ohci0: <OHCI (generic) USB controller> mem 0xff3fc000-0xff3fcfff irq 19 at device 0.0 on pci3
    ohci0: [GIANT-LOCKED]
    usb0: OHCI version 1.0, legacy support
    usb0: <OHCI (generic) USB controller> on ohci0
    usb0: USB revision 1.0
    uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub0: 3 ports with 3 removable, self powered
    ohci1: <OHCI (generic) USB controller> mem 0xff3fd000-0xff3fdfff irq 19 at device 0.1 on pci3
    ohci1: [GIANT-LOCKED]
    usb1: OHCI version 1.0, legacy support
    usb1: <OHCI (generic) USB controller> on ohci1
    usb1: USB revision 1.0
    uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub1: 3 ports with 3 removable, self powered
    ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x9800-0x98ff mem 0xff3fe000-0xff3fefff irq 16 at device 10.0 on pci3
    ahc0: [GIANT-LOCKED]
    aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
    atapci0: <SiI 3114 SATA150 controller> port 0x9c00-0x9c0f,0xa000-0xa003,0xa400-0xa407,0xa800-0xa803,0xac00-0xac07 mem 0xff3ff400-0xff3ff7ff irq 17 at device 11.0 on pci3
    ata2: channel #0 on atapci0
    ata3: channel #1 on atapci0
    ata4: channel #2 on atapci0
    ata5: channel #3 on atapci0
    fwohci0: <Texas Instruments TSB43AB22/A> mem 0xff3f8000-0xff3fbfff,0xff3ff800-0xff3fffff irq 19 at device 12.0 on pci3
    fwohci0: OHCI version 1.10 (ROM=1)
    fwohci0: No. of Isochronous channels is 4.
    fwohci0: EUI64 00:e0:81:00:00:30:13:5c
    fwohci0: Phy 1394a available S400, 2 ports.
    fwohci0: Link S400, max_rec 2048 bytes.
    firewire0: <IEEE1394(FireWire) bus> on fwohci0
    fwe0: <Ethernet over FireWire> on firewire0
    if_fwe0: Fake Ethernet address: 02:e0:81:30:13:5c
    fwe0: Ethernet address: 02:e0:81:30:13:5c
    fwe0: if_start running deferred for Giant
    sbp0: <SBP-2/SCSI over FireWire> on firewire0
    fwohci0: Initiate bus reset
    fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
    firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
    firewire0: bus manager 0 (me)
    isab0: <PCI-ISA bridge> at device 7.0 on pci0
    isa0: <ISA bus> on isab0
    atapci1: <AMD 8111 UDMA133 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
    ata0: channel #0 on atapci1
    ata1: channel #1 on atapci1
    amdpm0: <AMD 756/766/768/8111 Power Management Controller> port 0xe0-0xff,0xb400-0xb41f irq 19 at device 7.2 on pci0
    amdpm0: could not map i/o space
    device_attach: amdpm0 attach returned 6
    pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
    pcm0: <AMD-8111> port 0xbc00-0xbc3f,0xb800-0xb8ff irq 17 at device 7.5 on pci0
    pcm0: [GIANT-LOCKED]
    pcm0: <Analog Devices AD1981B AC97 Codec>
    pcib2: <ACPI PCI-PCI bridge> at device 10.0 on pci0
    pci2: <ACPI PCI bus> on pcib2
    amr0: <LSILogic MegaRAID> mem 0xe69f0000-0xe69fffff irq 26 at device 7.0 on pci2
    amr0: [GIANT-LOCKED]
    amr0: <LSILogic MegaRAID SATA 150-6D> Firmware 712T, BIOS G116, 64MB RAM
    bge0: <Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xff1e0000-0xff1effff irq 24 at device 9.0 on pci2
    miibus0: <MII bus> on bge0
    brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
    brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
    bge0: Ethernet address: 00:e0:81:28:21:04
    pci0: <base peripheral, interrupt controller> at device 10.1 (no driver attached)
    pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
    pci1: <ACPI PCI bus> on pcib3
    pci0: <base peripheral, interrupt controller> at device 11.1 (no driver attached)
    pcib4: <ACPI Host-PCI bridge> on acpi0
    pcib4: could not get PCI interrupt routing table for \\_SB_.PCIB - AE_NOT_FOUND
    pci4: <ACPI PCI bus> on pcib4
    agp0: <AMD 8151 AGP graphics tunnel> mem 0xf0000000-0xf7ffffff at device 0.0 on pci4
    pcib5: <ACPI PCI-PCI bridge> at device 1.0 on pci4
    pci5: <ACPI PCI bus> on pcib5
    drm0: <ATI Rage 128 Pro Ultra TF (AGP)> port 0xc800-0xc8ff mem 0xff5fc000-0xff5fffff,0xe8000000-0xebffffff irq 16 at device 0.0 on pci5
    info: [drm] AGP at 0xf0000000 128MB
    info: [drm] Initialized r128 2.5.0 20030725 on minor 0
    acpi_button0: <Power Button> on acpi0
    atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
    atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
    kbd0 at atkbd0
    atkbd0: [GIANT-LOCKED]
    sio0: configured irq 4 not in bitmap of probed irqs 0
    sio0: port may not be enabled
    sio0 port 0x3f8-0x3ff irq 4 on acpi0
    sio0: type 16550A
    sio1: configured irq 3 not in bitmap of probed irqs 0
    sio1: port may not be enabled
    sio1 port 0x2f8-0x2ff irq 3 on acpi0
    sio1: type 16550A
    fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
    fdc0: [FAST]
    fd0: <1440-KB 3.5" drive> on fdc0 drive 0
    ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0
    ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
    ppc0: FIFO with 16/16/9 bytes threshold
    ppbus0: <Parallel port bus> on ppc0
    lpt0: <Printer> on ppbus0
    lpt0: Interrupt-driven port
    orm0: <ISA Option ROMs> at iomem 0xcd000-0xcd7ff,0xc8800-0xccfff,0xc0000-0xc7fff on isa0
    sc0: <System console> at flags 0x100 on isa0
    sc0: VGA <16 virtual consoles, flags=0x300>
    vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
    Timecounter "TSC" frequency 1792816586 Hz quality 800
    Timecounters tick every 0.976 msec
    acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
    ATAPI_RESET time = 60us
    acd0: CDROM <FX320S/q01> at ata0-master PIO4
    ATAPI_RESET time = 230us
    ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=1<ERROR> error=4<ABORTED>
    afd0: REMOVABLE <IOMEGA ZIP 100 ATAPI/12.A> at ata1-slave BIOSPIO
    ad6: 190782MB <ST3200822AS/3.01> [387621/16/63] at ata3-master SATA150
    Waiting 15 seconds for SCSI devices to settle
    amrd0: <LSILogic MegaRAID logical drive> on amr0
    amrd0: 953885MB (1953556480 sectors) RAID 5 (optimal)
    sa0 at ahc0 bus 0 target 6 lun 0
    sa0: <ARCHIVE Python 06408-XXX 8130> Removable Sequential Access SCSI-3 device
    sa0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
    Mounting root from ufs:/dev/ad6s1a
    bge0: gigabit link up

    
    

    pcib1@pci0:6:0: class=0x060400 card=0x000000c0 chip=0x74601022 rev=0x07 hdr=0x01
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8111 PCI Bridge'
        class = bridge
        subclass = PCI-PCI
    isab0@pci0:7:0: class=0x060100 card=0x74681022 chip=0x74681022 rev=0x05 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8111 LPC Bridge'
        class = bridge
        subclass = PCI-ISA
    atapci1@pci0:7:1: class=0x01018a card=0x74691022 chip=0x74691022 rev=0x03 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8111 UltraATA/133 Controller'
        class = mass storage
        subclass = ATA
    amdpm0@pci0:7:2: class=0x0c0500 card=0x746a1022 chip=0x746a1022 rev=0x02 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8111 SMBus 2.0 Controller'
        class = serial bus
        subclass = SMBus
    none0@pci0:7:3: class=0x068000 card=0x746b1022 chip=0x746b1022 rev=0x05 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8111 ACPI System Management Controller'
        class = bridge
        subclass = PCI-unknown
    pcm0@pci0:7:5: class=0x040100 card=0x288510f1 chip=0x746d1022 rev=0x03 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8111 AC97 Audio Controller'
        class = multimedia
        subclass = audio
    pcib2@pci0:10:0: class=0x060400 card=0x000000a0 chip=0x74501022 rev=0x12 hdr=0x01
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8131 PCI-X Bridge'
        class = bridge
        subclass = PCI-PCI
    none1@pci0:10:1: class=0x080010 card=0x36c01022 chip=0x74511022 rev=0x01 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8131 PCI-X IOAPIC'
        class = base peripheral
        subclass = interrupt controller
    pcib3@pci0:11:0: class=0x060400 card=0x000000a0 chip=0x74501022 rev=0x12 hdr=0x01
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8131 PCI-X Bridge'
        class = bridge
        subclass = PCI-PCI
    none2@pci0:11:1: class=0x080010 card=0x36c01022 chip=0x74511022 rev=0x01 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8131 PCI-X IOAPIC'
        class = base peripheral
        subclass = interrupt controller
    hostb0@pci0:24:0: class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'Athlon 64 / Opteron HyperTransport Technology Configuration'
        class = bridge
        subclass = HOST-PCI
    hostb1@pci0:24:1: class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'Athlon 64 / Opteron Address Map'
        class = bridge
        subclass = HOST-PCI
    hostb2@pci0:24:2: class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'Athlon 64 / Opteron DRAM Controller'
        class = bridge
        subclass = HOST-PCI
    hostb3@pci0:24:3: class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'Athlon 64 / Opteron Miscellaneous Control'
        class = bridge
        subclass = HOST-PCI
    ohci0@pci3:0:0: class=0x0c0310 card=0x74641022 chip=0x74641022 rev=0x0b hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8111 USB OpenHCI Host Controller'
        class = serial bus
        subclass = USB
    ohci1@pci3:0:1: class=0x0c0310 card=0x74641022 chip=0x74641022 rev=0x0b hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8111 USB OpenHCI Host Controller'
        class = serial bus
        subclass = USB
    ahc0@pci3:10:0: class=0x010000 card=0x00000000 chip=0x81789004 rev=0x00 hdr=0x00
        vendor = 'Adaptec Inc'
        device = 'AHA-2940U/UW/2940D Ultra/Ultra Wide/Dual SCSI Host Adapter'
        class = mass storage
        subclass = SCSI
    atapci0@pci3:11:0: class=0x018000 card=0x31141095 chip=0x31141095 rev=0x02 hdr=0x00
        vendor = 'Silicon Image Inc (Was: CMD Technology Inc)'
        device = 'Sil 3114 SATALink/SATARaid Controller'
        class = mass storage
    fwohci0@pci3:12:0: class=0x0c0010 card=0x288510f1 chip=0x8023104c rev=0x00 hdr=0x00
        vendor = 'Texas Instruments (TI)'
        device = 'TSB43AB22/A IEEE1394a-2000 OHCI PHY/Link-Layer Ctrlr'
        class = serial bus
        subclass = FireWire
    amr0@pci2:7:0: class=0x010400 card=0x05231000 chip=0x19601000 rev=0x01 hdr=0x00
        vendor = 'LSI Logic (Was: Symbios Logic, NCR)'
        class = mass storage
        subclass = RAID
    bge0@pci2:9:0: class=0x020000 card=0x288510f1 chip=0x16a714e4 rev=0x02 hdr=0x00
        vendor = 'Broadcom Corporation'
        device = 'BCM5703X NetXtreme Gigabit Ethernet'
        class = network
        subclass = ethernet
    agp0@pci4:0:0: class=0x060000 card=0x74541022 chip=0x74541022 rev=0x13 hdr=0x00
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8151 AGP Device (System Controller)'
        class = bridge
        subclass = HOST-PCI
    pcib5@pci4:1:0: class=0x060400 card=0x00000000 chip=0x74551022 rev=0x13 hdr=0x01
        vendor = 'Advanced Micro Devices (AMD)'
        device = 'AMD-8151 AGP Bridge'
        class = bridge
        subclass = PCI-PCI
    drm0@pci5:0:0: class=0x030000 card=0x04081002 chip=0x54461002 rev=0x00 hdr=0x00
        vendor = 'ATI Technologies Inc.'
        device = 'Rage 128 PRO ULTRA Video Controller (VGA Compatible)'
        class = display
        subclass = VGA

    
    

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Tim Pushor: "Crystalfontz LCD display from kernel?"
  • Quantcast