Subject: 6 wm(4) interfaces
To: None <port-i386@netbsd.org>
From: Michael Santos <mike@ethmoid.org>
List: port-i386
Date: 09/08/2005 15:30:14
I'm trying to set up a server with 2 onboard wm(4) interfaces, with an
additional 4 interfaces on a PCIX card.

Interface wm0 and wm5 (onboard NIC's) can be used. Trying to ifconfig up
interface wm1 or wm4 hangs the system. wm3 can be configured, but I
haven't tested it by sending traffic.

Can anyone provide some hints on getting this to work?

Thanks!
--
Michael Santos
mike@ethmoid.org

dmesg:

NetBSD 2.0.2_STABLE (XXX) #2: Thu Sep  8 13:48:59 EDT 2005
	mike@ethmoid.org:/Volumes/opt/build/src/sys/arch/i386/compile/obj/XXX
total memory = 510 MB
avail memory = 496 MB
BIOS32 rev. 0 found at 0xfb830
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium 4 (686-class), 1996.70 MHz, id 0xf29
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64B/line 4-way
cpu0: L2 cache 512 KB 64B/line 8-way
cpu0: ITLB 4K/4M: 128 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: 16 page colors
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <IntelR,AWRDACPI,42302e31>, AslId <AWRD,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
PNP0A03 [PCI Bus] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: using exception 16
fdc1 at acpi0 (PNP0700)
fdc1: io 0x3f0-0x3f5,0x3f7 irq 6 drq 2
com1 at acpi0 (PNP0501-1)
com1: io 0x3f8-0x3ff irq 4
com1: ns16550a, working fifo
com1: console
com2 at acpi0 (PNP0501-2)
com2: io 0x2f8-0x2ff irq 3
com2: ns16550a, working fifo
lpt0 at acpi0 (PNP0400)
lpt0: io 0x378-0x37f,0x778-0x77b irq 7
pckbc1 at acpi0 (PNP0F13): aux port
pckbc1: irq 12
pckbc2 at acpi0 (PNP0303): kbd port
pckbc2: io 0x60,0x64 irq 1
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
INT0800 at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
PNP0C0B [ACPI Fan] at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
pckbd0 at pckbc2 (kbd slot)
pckbc2: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
pms0 at pckbc2 (aux slot)
pckbc2: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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: vendor 0x8086 product 0x2578 (rev. 0x02)
agp0 at pchb0: aperture at 0xf0000000, size 0x8000000
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x2579 (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ppb1 at pci0 dev 3 function 0: vendor 0x8086 product 0x257b (rev. 0x02)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
wm0 at pci2 dev 1 function 0: Intel i82547GI 1000BASE-T Ethernet, rev. 0
wm0: interrupting at irq 10
wm0: Communication Streaming Architecture
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:30:48:80:cd:72
igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb2 at pci0 dev 28 function 0: vendor 0x8086 product 0x25ae (rev. 0x02)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
ppb3 at pci3 dev 1 function 0: vendor 0x1014 product 0x01a7 (rev. 0x02)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
wm1 at pci4 dev 4 function 0: Intel i82546EB 1000BASE-T Ethernet, rev. 1
wm1: interrupting at irq 11
wm1: 64-bit 120MHz PCIX bus
wm1: 256 word (8 address bits) MicroWire EEPROM
wm1: Ethernet address 00:04:23:45:a1:18
makphy0 at wm1 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
wm2 at pci4 dev 4 function 1: Intel i82546EB 1000BASE-T Ethernet, rev. 1
wm2: interrupting at irq 9
wm2: 64-bit 120MHz PCIX bus
wm2: 256 word (8 address bits) MicroWire EEPROM
wm2: Ethernet address 00:04:23:45:a1:19
makphy1 at wm2 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
wm3 at pci4 dev 6 function 0: Intel i82546EB 1000BASE-T Ethernet, rev. 1
wm3: interrupting at irq 10
wm3: 64-bit 120MHz PCIX bus
wm3: 256 word (8 address bits) MicroWire EEPROM
wm3: Ethernet address 00:04:23:45:a1:1a
makphy2 at wm3 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
wm4 at pci4 dev 6 function 1: Intel i82546EB 1000BASE-T Ethernet, rev. 1
wm4: interrupting at irq 5
wm4: 64-bit 120MHz PCIX bus
wm4: 256 word (8 address bits) MicroWire EEPROM
wm4: Ethernet address 00:04:23:45:a1:1b
makphy3 at wm4 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
vendor 0x11ab product 0x5041 (SCSI mass storage, revision 0x03) at pci3 dev 4 function 0 not configured
ppb4 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0x0a)
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled
vga1 at pci5 dev 9 function 0: vendor 0x1002 product 0x4752 (rev. 0x27)
wsdisplay0 at vga1 kbdmux 1
wsmux1: connecting to wsdisplay0
wskbd0: connecting to wsdisplay0
wm5 at pci5 dev 10 function 0: Intel i82541GI 1000BASE-T Ethernet, rev. 0
wm5: interrupting at irq 5
wm5: 32-bit 33MHz PCI bus
wm5: 64 word (6 address bits) MicroWire EEPROM
wm5: Ethernet address 00:30:48:80:cd:73
igphy1 at wm5 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
pcib0 at pci0 dev 31 function 0
pcib0: vendor 0x8086 product 0x25a1 (rev. 0x02)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 6300ESB IDE Controller (ICH5) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
vendor 0x8086 product 0x25a4 (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
isa0 at pcib0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
fd0 at fdc1 drive 0: density unknown
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
wd0 at atabus0 drive 0: <HDS722580VLAT20>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 78533 MB, 159560 cyl, 16 head, 63 sec, 512 bytes/sect x 160836480 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <SONY    CD-ROM CDU5212, , 5YS1> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs

configuration:

include 	"arch/i386/conf/std.i386"
options 	INCLUDE_CONFIG_FILE	
maxusers	64		
options 	I686_CPU
options NMBCLUSTERS=16384
options 	MTRR		
options VERIFIED_EXEC
options 	RTC_OFFSET=0	
options 	NTP		
				
options 	KTRACE		
options 	SYSTRACE	
options 	SYSVMSG		
options 	SYSVSEM		
options 	SYSVSHM		
options 	P1003_1B_SEMAPHORE	
options 	SYSCTL_INCLUDE_DESCR	
options 	COMPAT_16	
file-system 	FFS		
file-system 	MFS		
file-system 	NFS		
file-system 	CD9660		
file-system 	MSDOSFS		
file-system 	KERNFS		
options 	QUOTA		
options 	SOFTDEP		
options 	NFSSERVER	
				
options 	INET		
options 	INET6		
options 	IPSEC		
options 	IPSEC_ESP	
options 	PPP_BSDCOMP	
options 	PPP_DEFLATE	
options 	PPP_FILTER	
options 	PFIL_HOOKS	
options 	IPFILTER_LOG	
options 	ACPIVERBOSE	
options 	WSEMUL_VT100		
options 	WS_KERNEL_FG=WSCOL_GREEN
options 	WSDISPLAY_COMPAT_PCVT		
options 	WSDISPLAY_COMPAT_SYSCONS	
options 	WSDISPLAY_COMPAT_USL		
options 	WSDISPLAY_COMPAT_RAWKBD		
options 	PCDISPLAY_SOFTCURSOR
config		netbsd	root on ? type ?
mainbus0 at root
cpu* at mainbus?
				
acpi0 		at mainbus0
acpibut* 	at acpi?		
acpitz* 	at acpi?		
com* 		at acpi?		
fdc* 		at acpi?		
lpt* 		at acpi?		
npx*		at acpi?		
pckbc*  	at acpi?		
pci*	at mainbus? bus ?
pci*	at pchb? bus ?
pci*	at ppb? bus ?
pchb*	at pci? dev ? function ?	
pcib*	at pci? dev ? function ?	
ppb*	at pci? dev ? function ?	
agp* 	at pchb?
isa0	at pcib?
isapnp0 at isa?
pckbd*		at pckbc?		
pms*		at pckbc?		
vga*		at pci? dev ? function ?
wsdisplay*	at vga? console ?
wskbd*		at pckbd? console ?
wsmouse*	at pms? mux 0
pcppi0		at isa?
sysbeep0	at pcppi?
piixide* 	at pci? dev ? function ?	
atabus* at ata?
wd*	at atabus? drive ? flags 0x0000
atapibus* at atapi?
cd*	at atapibus? drive ? flags 0x0000	
fdc0	at isa? port 0x3f0 irq 6 drq 2	
fd*	at fdc? drive ?			
wm*	at pci? dev ? function ?	
igphy*	at mii? phy ?			
makphy* at mii? phy ?			
ehci*	at pci?	dev ? function ?	
uhci*	at pci?	dev ? function ?	
usb*	at uhci?
uhub*	at usb?
uhub*	at uhub? port ? configuration ? interface ?
include	"arch/i386/conf/GENERIC.local"
pseudo-device 	crypto		
pseudo-device	ccd		4	
pseudo-device	cgd		4	
pseudo-device	raid		8	
options 	RAID_AUTOCONFIG		
pseudo-device	md		1	
pseudo-device	vnd		4	
pseudo-device	bpfilter	8	
pseudo-device	ipfilter		
pseudo-device	loop			
pseudo-device	ppp		2	
pseudo-device	tun		2	
pseudo-device	gre		2	
pseudo-device	gif		4	
pseudo-device	vlan			
pseudo-device	bridge			
pseudo-device	pty			
pseudo-device	rnd			
pseudo-device	clockctl		
pseudo-device	wsmux			
pseudo-device	wsfont
pseudo-device	ksyms			
pseudo-device verifiedexec        1