Subject: Re: Loosing carrier on wm port during autoconfiguration
To: Christoph Kaegi <kgc@zhwin.ch>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-net
Date: 09/03/2004 14:43:30
Christoph Kaegi wrote:

> I have Supermicro 6023P-8R System (aka Transtec 1002) which has
> Intel i82546EB Gigabit NICs onboard.
>
> I installed NetBSD 2.0 as of last week on it and most everything
> works. However, after rebooting the machine , I recognized, that 
> it didn't get reachable over the network again.
> 
> Every time I boot the machine, the interface looses carrier.
> Looking at the LED on the NIC Port I can tell that upon reseting,
> there *is* a carrier, but as soon as NetBSD detects the wm interfaces,
> the LED goes off.
> 
> The switchport, the machine is connected to, is configured for 100/FDX
> and also, in /etc/rc.conf, I'm setting the NIC to 100BaseTX/FDX.
> But as I already said, the carrier is lost long before the actual 
> ifconfig command is reached.

I have a Supermicro box with an X5DAE motherboard here, and the only way
I've ever gotten the on-board i82545EM to work was to plug it in to a
10mbit hub and wire "media 10baseT" in my ifconfig_wm0 line.  Otherwise
the symptoms sound similar to yours.  Using "auto" or hard coding any
media type failed.

An Intel Pro/1000 Server PCI-X i82545EM works just fine however.  From
dmesg:

wm0 at pci3 dev 3 function 0: Intel i82545EM 1000BASE-T Ethernet, rev. 1
wm0: interrupting at irq 11
wm0: 64-bit 133MHz PCIX bus
wm0: 256 word (8 address bits) MicroWire EEPROM
wm0: Ethernet address 00:30:48:70:41:98
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
...
wm1 at pci4 dev 2 function 0: Intel i82545EM 1000BASE-T Ethernet, rev. 1
wm1: interrupting at irq 11
wm1: 64-bit 100MHz PCIX bus
wm1: 256 word (8 address bits) MicroWire EEPROM
wm1: Ethernet address 00:07:e9:1f:c4:71
makphy1 at wm1 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/