Subject: Re: Xircom RealPort Ethernet 10 RE-10
To: Gregory McGarry <g.mcgarry@ieee.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 12/04/2000 17:52:23
On Mon, Dec 04, 2000 at 07:28:12AM +1000, Gregory McGarry wrote:
> Patrick Welche wrote:
> 
> > I have some ethernet cards to test, and have no luck with Xircom RealPort
> > Ethernet 10 RE-10 card. It probes as "Xircom CreditCard 10/100 Ethernet"
> > with xi0 at pcmcia0. xi(4) does mention that the RealPort "should work, but"
> > has "not been confirmed". The problem is
> > 
> > # ifconfig -m xi0
> > xi0: flags=...
> > 	media: Ethernet autoselect (none)
> > 	supported Ethernet media:
> > 		media autoselect
> 
> Can you supply a dump with pcmcia debug options enabled?
> 
> As a side issue:
> 
> Fixing these pcmcia problems is a real pain.  It is a nightmare getting
> pcmcia configuration information for PRs.  Particularly so for Xircom,
> since the branding on the outside does not always correspond with the
> internal identification.  Are there any tools which can dump the tuples
> from userspace?

Here's the whole long spiel...

Cheers,

Patrick


NetBSD 1.5L (NEWNNET) #2: Mon Dec  4 14:29:46 GMT 2000
    prlw1@quartz.newn.cam.ac.uk:/usr/src/sys/arch/i386/compile/NEWNNET
cpu0: Intel Pentium III (Coppermine) (686-class), 597.47 MHz
cpu0: I-cache 16K 32b/line 4-way, D-cache 16K 32b/line 2/4-way
cpu0: L2 cache 256K 32b/line 8-way
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX,FXSR,XMM>
total memory = 65084 KB
avail memory = 56032 KB
using 839 buffers containing 3356 KB of memory
BIOS32 rev. 0 found at 0xfd890
PCI BIOS rev. 2.1 found at 0xfd9ae
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xfdf50, size 144 bytes (7 entries)
PCI Interrupt Router at 000:07:0 (vendor 0x8086 product 0x122e)
PIR Entry 0:
	Bus: 0  Device: 7
		INTA: link 0x00 bitmap 0xdef8
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x63 bitmap 0x0020
PIR Entry 1:
	Bus: 0  Device: 4
		INTA: link 0x60 bitmap 0x0800
		INTB: link 0x61 bitmap 0x0800
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 2:
	Bus: 0  Device: 8
		INTA: link 0x63 bitmap 0x0020
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 3:
	Bus: 0  Device: 16
		INTA: link 0x63 bitmap 0x0020
		INTB: link 0x61 bitmap 0x0800
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 4:
	Bus: 0  Device: 13
		INTA: link 0x61 bitmap 0x0800
		INTB: link 0x63 bitmap 0x0020
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 5:
	Bus: 0  Device: 1
		INTA: link 0x60 bitmap 0x0800
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 6:
	Bus: 1  Device: 0
		INTA: link 0x60 bitmap 0x0800
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
pciintr_link_fixup: PIRQ 0x00 already connected to IRQ 11
pciintr_link_fixup: PIRQ 0x03 already connected to IRQ 5
pciintr_link_fixup: PIRQ 0x01 not connected, assigning IRQ 11
pciintr_link_route: route of PIRQ 0x00 -> IRQ 11 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x03 -> IRQ 5 preserved BIOS setting
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:04:0 0x104c 0xac1c   A  0x00  11  0    fixed up
000:04:1 0x104c 0xac1c   A  0x00  11  0    fixed up
000:07:2 0x8086 0x7112   D  0x03   5  0    already assigned
000:08:0 0x125d 0x1978   A  0x03   5  0    already assigned
000:16:0 0x11c1 0x0448   A  0x03   5  0    already assigned
001:00:0 0x1002 0x4c46   A  0x00  11  0    already assigned
------------------------------------------
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI bridge 2: primary 0, secondary 3, subordinate 3
PCI bus #3 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x7190 
	10h mem  0xe0000000 0x04000000
		[OK]
000:01:0 0x8086 0x7191 
		[OK]
000:04:0 0x104c 0xac1c 
	10h mem  0x00000000 0x00001000
		[NG]
000:04:1 0x104c 0xac1c 
	10h mem  0x00000000 0x00001000
		[NG]
000:07:0 0x8086 0x7110 
		[OK]
000:07:1 0x8086 0x7111 
	20h port 0x00001050 0x00000010
		[OK]
000:07:2 0x8086 0x7112 
	20h port 0x00001060 0x00000020
		[OK]
000:07:3 0x8086 0x7113 
		[OK]
000:08:0 0x125d 0x1978 
	10h port 0x00001400 0x00000100
		[OK]
000:16:0 0x11c1 0x0448 
	10h mem  0xf4000000 0x00000100
	14h port 0x00001080 0x00000008
	18h port 0x00001800 0x00000100
		[OK]
001:00:0 0x1002 0x4c46 
	10h mem  0xf8000000 0x04000000
	14h port 0x00002000 0x00000100
	18h mem  0xf4100000 0x00004000
		[OK]
--------------------------[  2 devices bogus]
 Physical memory end: 0x03fee000
 PCI memory mapped I/O space start: 0x04000000
[PCIBIOS fixup stage]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x7190 
	10h mem  0xe0000000 0x04000000
		[OK]
000:01:0 0x8086 0x7191 
		[OK]
000:04:0 0x104c 0xac1c 
	10h mem  0x04000000 0x00001000
		[OK]
000:04:1 0x104c 0xac1c 
	10h mem  0x04001000 0x00001000
		[OK]
000:07:0 0x8086 0x7110 
		[OK]
000:07:1 0x8086 0x7111 
	20h port 0x00001050 0x00000010
		[OK]
000:07:2 0x8086 0x7112 
	20h port 0x00001060 0x00000020
		[OK]
000:07:3 0x8086 0x7113 
		[OK]
000:08:0 0x125d 0x1978 
	10h port 0x00001400 0x00000100
		[OK]
000:16:0 0x11c1 0x0448 
	10h mem  0xf4000000 0x00000100
	14h port 0x00001080 0x00000008
	18h port 0x00001800 0x00000100
		[OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
pnpbios0 at mainbus0: nodes 17, max len 170
pnpbios0: not docked
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x7190 (rev. 0x03)
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x7191 (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vendor 0x1002 product 0x4c46 (VGA display, revision 0x02) at pci1 dev 0 function 0 not configured
cbb0 at pci0 dev 4 function 0: vendor 0x104c product 0xac1c (rev. 0x01)
cbb1 at pci0 dev 4 function 1: vendor 0x104c product 0xac1c (rev. 0x01)
pcib0 at pci0 dev 7 function 0
pcib0: vendor 0x8086 product 0x7110 (rev. 0x02)
vendor 0x8086 product 0x7111 (IDE mass storage, interface 0x80, revision 0x01) at pci0 dev 7 function 1 not configured
uhci0 at pci0 dev 7 function 2: vendor 0x8086 product 0x7112 (rev. 0x01)
uhci0: interrupting at irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
vendor 0x8086 product 0x7113 (miscellaneous bridge, revision 0x03) at pci0 dev 7 function 3 not configured
vendor 0x125d product 0x1978 (audio multimedia, revision 0x10) at pci0 dev 8 function 0 not configured
vendor 0x11c1 product 0x0448 (miscellaneous communications, revision 0x01) at pci0 dev 16 function 0 not configured
cbb0: interrupting at irq 11
cbb0: cacheline 0x0 lattimer 0x20
cbb0: bhlc 0x821000 lscp 0x20020200
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cbb1: cacheline 0x0 lattimer 0x20
cbb1: bhlc 0x821000 lscp 0x20030300
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
isa0 at pcib0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pc0: console
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 fffd netmask fffd ttymask ffff
md0: internal 2048K image area
IPsec: Initialized Security Association Processing.
pcmcia0: CIS version PC Card Standard 5.0
pcmcia0: CIS info: Xircom, Ethernet Adapter, RE-10, 1.00
pcmcia0: Manufacturer code 0x105, product 0x10a
pcmcia0: function 0: network adapter, ccr addr 800 mask 3
pcmcia0: function 0, config table entry 1: I/O card; irq mask 8ebc; iomask 4, iospace 0-f; memspace 0-fff; mwait_required rdybsy_active io8 io16 irqpulse irqlevel powerdown
xi0 at pcmcia0 function 0: Xircom CreditCard 10/100 Ethernet
xi0: Ethernet address 00:10:a4:b8:28:7b
boot device: fd0
root on md0a dumps on md0b
root file system type: ffs