Subject: Unable to map device registers
To: None <port-i386@netbsd.org>
From: C Kane <ckane+port-i386@best.com>
List: port-i386
Date: 06/26/2002 15:58:38
Hello.

During the kernel device discovery, I get messages like:

  tlp10 at pci5 dev 6 function 0: DECchip 21140A Ethernet, pass 2.2
  : unable to map device registers

What does that mean, and how might it be fixed?

This system, a single P4, has five quad-port ethernet cards.
tlp0 thru tlp9 are properly attached, but tlp10 thru tlp19 are not.
If these cards are moved into a different system, a dual PPro, then
all devices are properly attached.

Each onboard device that is turned off from the BIOS, like IDE or
floppy or SCSI, enables an additional tlp* to attach.

This is an IBM Intellistation M Pro.  I have included the entire
dmesg output below.

Thanks for any help.

-- Chuck





NetBSD 1.6B (sc) #17: Thu Jun 20 21:50:07 UTC 2002
    root@wws008:/usr/src/sys/arch/i386/compile/sc
cpu0: Intel Pentium 4 (686-class), 1695.93 MHz
cpu0: D-cache 8 KB 64b/line 4-way
cpu0: L2 cache 256 KB 64b/line 8-way
cpu0: features 3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 3febfbff<PGE,MCA,CMOV,FGPAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features 3febfbff<FXSR,SSE,SSE2,SS,HTT,TM>
total memory = 1023 MB
avail memory = 945 MB
using 6144 buffers containing 52496 KB of memory
BIOS32 rev. 0 found at 0xfda74
mainbus0 (root)
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: Intel 82850 Host (rev. 0x02)
pchb0: random number generator enabled
agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82850/82860 AGP (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Matrox MGA G400 AGP (rev. 0x85)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev. 0x02)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
fxp0 at pci2 dev 8 function 0: Intel i82562 Ethernet, rev 1
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:03:47:d0:29:53
ukphy0 at fxp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: i82562EM 10/100 media interface (OUI 0x005500, model 0x0032), rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ppb2 at pci2 dev 9 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (rev. 0x02)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
tlp0 at pci3 dev 4 function 0: DECchip 21140A Ethernet, pass 2.2
tlp0: interrupting at irq 11
tlp0: Ethernet address 00:c0:95:e0:12:e8
tlp0: 10baseT, 100baseTX
tlp1 at pci3 dev 5 function 0: DECchip 21140A Ethernet, pass 2.2
tlp1: broken MicroWire interface detected; setting SROM size to 1Kb
tlp1: sorry, unable to handle your board
tlp2 at pci3 dev 6 function 0: DECchip 21140A Ethernet, pass 2.2
tlp2: interrupting at irq 10
tlp2: Ethernet address 00:c0:95:e0:12:ea
tlp2: 10baseT, 100baseTX
tlp3 at pci3 dev 7 function 0: DECchip 21140A Ethernet, pass 2.2
tlp3: interrupting at irq 9
tlp3: Ethernet address 00:c0:95:e0:12:eb
tlp3: 10baseT, 100baseTX
ppb3 at pci2 dev 10 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (rev. 0x02)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
tlp4 at pci4 dev 4 function 0: DECchip 21140A Ethernet, pass 2.2
tlp4: interrupting at irq 11
tlp4: Ethernet address 00:c0:95:e0:1e:30
tlp4: 10baseT, 100baseTX
tlp5 at pci4 dev 5 function 0: DECchip 21140A Ethernet, pass 2.2
tlp5: interrupting at irq 10
tlp5: Ethernet address 00:c0:95:e0:1e:31
tlp5: 10baseT, 100baseTX
tlp6 at pci4 dev 6 function 0: DECchip 21140A Ethernet, pass 2.2
tlp6: interrupting at irq 9
tlp6: Ethernet address 00:c0:95:e0:1e:32
tlp6: 10baseT, 100baseTX
tlp7 at pci4 dev 7 function 0: DECchip 21140A Ethernet, pass 2.2
tlp7: interrupting at irq 11
tlp7: Ethernet address 00:c0:95:e0:1e:33
tlp7: 10baseT, 100baseTX
ppb4 at pci2 dev 11 function 0: Digital Equipment DECchip 21052 PCI-PCI Bridge (rev. 0x01)
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled
tlp8 at pci5 dev 4 function 0: DECchip 21140A Ethernet, pass 2.2
tlp8: interrupting at irq 10
tlp8: Ethernet address 00:c0:95:e0:04:c0
tlp8: 10baseT, 100baseTX
tlp9 at pci5 dev 5 function 0: DECchip 21140A Ethernet, pass 2.2
tlp9: interrupting at irq 9
tlp9: Ethernet address 00:c0:95:e0:04:c1
tlp9: 10baseT, 100baseTX
tlp10 at pci5 dev 6 function 0: DECchip 21140A Ethernet, pass 2.2
: unable to map device registers
tlp11 at pci5 dev 7 function 0: DECchip 21140A Ethernet, pass 2.2
: unable to map device registers
ppb5 at pci2 dev 12 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (rev. 0x02)
pci6 at ppb5 bus 6
pci6: i/o space, memory space enabled
tlp12 at pci6 dev 4 function 0: DECchip 21140A Ethernet, pass 2.2
: unable to map device registers
tlp13 at pci6 dev 5 function 0: DECchip 21140A Ethernet, pass 2.2
: unable to map device registers
tlp14 at pci6 dev 6 function 0: DECchip 21140A Ethernet, pass 2.2
: unable to map device registers
tlp15 at pci6 dev 7 function 0: DECchip 21140A Ethernet, pass 2.2
: unable to map device registers
ppb6 at pci2 dev 13 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (rev. 0x02)
pci7 at ppb6 bus 7
pci7: i/o space, memory space enabled
tlp16 at pci7 dev 4 function 0: DECchip 21140A Ethernet, pass 2.2
: unable to map device registers
tlp17 at pci7 dev 5 function 0: DECchip 21140A Ethernet, pass 2.2
: unable to map device registers
tlp18 at pci7 dev 6 function 0: DECchip 21140A Ethernet, pass 2.2
: unable to map device registers
tlp19 at pci7 dev 7 function 0: DECchip 21140A Ethernet, pass 2.2
: unable to map device registers
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801BA LPC Interface Bridge (rev. 0x02)
pciide0 at pci0 dev 31 function 1: Intel 82801BA IDE Controller (ICH2) (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <FUJITSU MPA3026ATU>
wd0: drive supports 32-sector PIO transfers, LBA addressing
wd0: 2503 MB, 5086 cyl, 16 head, 63 sec, 512 bytes/sect x 5126964 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <SAMSUNG CD-ROM  SC-148C, , B100> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
uhci0 at pci0 dev 31 function 2: Intel 82801BA USB Controller (rev. 0x02)
uhci0: interrupting at irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82801BA SMBus Controller (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
uhci1 at pci0 dev 31 function 4: Intel 82801BA USB Controller (rev. 0x02)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
auich0 at pci0 dev 31 function 5: i82801BA (ICH2) AC-97 Audio
auich0: interrupting at irq 9
auich0: ADS72 codec; headphone, Analog Devices Phat Stereo
audio0 at auich0: full duplex, mmap, independent
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: 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)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask e565 netmask ef65 ttymask ffe7
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
warning: no /dev/console
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)