Subject: kern/30906: ethernet medium not detected on wm0
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 08/03/2005 18:57:01
>Number:         30906
>Category:       kern
>Synopsis:       ethernet medium not detected on wm0
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 03 18:57:00 +0000 2005
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.7
>Organization:
>Environment:
System: NetBSD night-porter.duskware.de 3.99.7 NetBSD 3.99.7 (PORTER) #0: Wed Aug 3 11:22:47 CEST 2005 martin@night-porter.duskware.de:/usr/src/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
>Description:

I replaced a working wm0 "workstion" card (i.e. 32bit PCI only) 1000/MT card
with a server version (64bit PCI) 1000/T. Dmesg is:

wm0 at pci1 dev 2 function 0: Intel i82543GC 1000BASE-T Ethernet, rev. 2
wm0: interrupting at ioapic1 pin 5 (irq 15)
wm0: 64-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:03:47:25:42:14
makphy0 at wm0 phy 1: Marvell 88E1000 Gigabit PHY, rev. 2
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

This card is not able to detect the ethernet medium - the link state always
stays down/medium none. I tested with various cables hubs and switches, from
10baseT to GigE. Ifconfig output always is:

wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	capabilities=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
	enabled=0
	address: 00:03:47:25:42:14
	media: Ethernet autoselect (none)
	inet ...

The card works fine in another machine running another OS.

>How-To-Repeat:

No idea - maybe it happens for all 1000/T cards with makphy?

>Fix:
n/a