Subject: Intel 82543 gig interface
To: None <netbsd-users@netbsd.org>
From: Avijit Pathania <foulplay@foulplay.org>
List: netbsd-users
Date: 07/21/2003 17:28:30
Hi,

Been having issues with a gig interface under NetBSD 1.6.1 that I am 
hoping someone can help me with.

The interface is recognized by the OS as wm0 interface. I am unable to 
use wm0 for some reason. This is true for the default kernel and the 
custom kernel. The cables is a Cat 5e attached to a gig switch. Tried 
connecting it directly to another gig interface on a separate computer 
through a cross over. No luck.

Verified the cables by connecting them to an identical interface on 
Linux. No issues.

I'd be happy to provide any more information that I have missed.

Thanks a ton
Avi

awall# ifconfig wm0
wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
        enabled=0<>
        address: 00:03:47:e1:38:ff
        media: Ethernet none (none)
        inet 10.0.5.1 netmask 0xffffff00 broadcast 10.0.5.255
        inet6 fe80::203:47ff:fee1:38ff%wm0 prefixlen 64 scopeid 0x1

dmesg output.

NetBSD 1.6.1 (NS) #2: Sun Jul 13 08:38:15 IST 2003
    root@awall:/usr/src/sys/arch/i386/compile/NS
cpu0: Intel Pentium III (Coppermine) (686-class), 999.84 MHz
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 2-way
cpu0: L2 cache 256 KB 32b/line 8-way
cpu0: features 387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 387fbff<PGE,MCA,CMOV,FGPAT,PSE36,PN,MMX>
cpu0: features 387fbff<FXSR,SSE>
cpu0: serial number 0000-068A-0002-B566-9D38-DE1C
total memory = 511 MB
avail memory = 469 MB
using 6144 buffers containing 26292 KB of memory
BIOS32 rev. 0 found at 0xfd85e
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: ServerWorks CNB20LE Host (rev. 0x06)
pchb1 at pci0 dev 0 function 1
pchb1: ServerWorks CNB20LE Host (rev. 0x06)
pci1 at pchb1 bus 1
pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ahc1 at pci1 dev 4 fuahc1: interrupting at irq 9
ahc1: aic7899 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc1: 16 targets, 8 luns per target
ahc2 at pci1 dev 4 function 1
ahc2: interrupting at irq 5
ahc2: aic7899 Wide Channel B, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc2: 16 targets, 8 luns per target
wm0 at pci1 dev 11 function 0: Intel i82543GC 1000BASE-T Ethernet, rev. 2
wm0: interrupting at irq 9
wm0: Ethernet address 00:03:47:e1:38:ff
vga1 at pci0 dev 2 function 0: ATI Technologies 3D Rage IIC (rev. 0x7a)
wsdisplay0 at vga1 kbdmux 1
wsmux1: connecting to wsdisplay0
fxp0 at pci0 dev 3 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:d0:b7:b8:80:18
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1 at pci0 dev 6 function 0: i82559 Ethernet, rev 8
fxp1: interrupting at irq 12
fxp1: Ethernet address 00:07:e9:0f:ca:b8
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4nction 0
fxp2 at pci0 dev 7 function 0: i82559 Ethernet, rev 8
fxp2: interrupting at irq 9
fxp2: Ethernet address 00:07:e9:0f:ca:01
inphy2 at fxp2 phy 1: i82555 10/100 media interface, rev. 4
inphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp3 at pci0 dev 9 function 0: i82559 Ethernet, rev 8
fxp3: interrupting at irq 12
fxp3: Ethernet address 00:07:e9:0f:cb:0e
inphy3 at fxp3 phy 1: i82555 10/100 media interface, rev. 4
inphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 15 function 0
pcib0: ServerWorks OSB4 SouthBridge (rev. 0x50)
pciide0 at pci0 dev 15 function 1: ServerWorks OSB4 IDE Controller (rev. 
0x00)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
atapibus0 at pciide0 channel 0: 2 targets
cd0 at atapibus0 drive 1: <ASUS    CD-S500/A, , 1.4K> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0 at pciide0 channel 0 drive 0: <ST340014A>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 38166 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 
(Ultra/33) (usi
ng DMA data transfers)
cd0(pciide0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 
(Ultra/33) (usi
ng DMA data transfers)
pciide0: secondary channel configured to native-PCI mode
pciide0: couldn't map native-PCI interrupt
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
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 mux 1
wskbd0: connecting to wsdisplay0
wdc1 at isa0 port 0x170-0x177 irq 15
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
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 eb65 netmask ff65 ttymask ffe7
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
IP Filter: v3.4.29 initialized.  Default = pass all, Logging = enabled
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)