Subject: Problems with wm driver and 1000bas-SX connections
To: None <current-users@netbsd.org>
From: Brian Buhrow <buhrow@lothlorien.nfbcal.org>
List: current-users
Date: 12/04/2006 23:38:36
	Hello.  I have an Intel 82546EB 1000base-SX dual port card which I'm
trying to connect to a Cisco 3508 via a base-SX fiber connection, and I
can't get both sides to show link.  If I turn autonegotiation off on the
Cisco side, I get link there, but the NetBSD box still shows no carrier.
There is no change whether I let the card autonegotiate, or if I hard wire
it to 1000basesx.
This is version:
/*	$NetBSD: if_wm.c,v 1.100.2.5 2006/07/07 06:24:40 tron Exp $	*/
as distributed in the NetBSD-3 branch of the source tree.
I've enabled WM_DEBUG in my test kernel, and I show the output from the wm
driver on the lines below.  I've got things hooked up to both wm0 and wm1,
so the output below is to be expected while I tried to bring up both
interfaces with no luck.
	Does anyone have any suggestions on what the problem might be?
-thanks
-Brian


wm0 at pci3 dev 1 function 0: Intel i82546EB 1000BASE-X Ethernet, rev. 1
wm0: interrupting at irq 10
wm0: 64-bit 133MHz PCIX bus
wm0: 256 word (8 address bits) MicroWire EEPROM
wm0: Ethernet address 00:0e:0c:2b:d9:ac
wm0: 1000baseSX, 1000baseSX-FDX, auto
wm1 at pci3 dev 1 function 1: Intel i82546EB 1000BASE-X Ethernet, rev. 1
wm1: interrupting at irq 5
wm1: 64-bit 133MHz PCIX bus
wm1: 256 word (8 address bits) MicroWire EEPROM
wm1: Ethernet address 00:0e:0c:2b:d9:ad
wm1: 1000baseSX, 1000baseSX-FDX, auto
wm1: LINK: set media -> link down
wm1: RX: checking descriptor 0
wm1: RX: rxptr -> 0
wm1: TX: txsdirty -> 0
wm1: LINK: LSC -> down
wm1: LINK: set media -> link down
wm1: LINK: set media -> link down
wm1: RX: checking descriptor 0
wm1: RX: rxptr -> 0
wm1: TX: txsdirty -> 0
wm1: LINK: LSC -> down
wm1: LINK: set media -> link down
wm0: LINK: set media -> no signal
wm0: LINK: set media -> no signal
wm0: LINK: set media -> no signal
wm1: LINK: set media -> link down
wm1: RX: checking descriptor 0
wm1: RX: rxptr -> 0
wm1: TX: txsdirty -> 0
wm1: LINK: LSC -> down
wm1: LINK: set media -> link down
wm1: LINK: set media -> link down
wm1: RX: checking descriptor 0
wm1: RX: rxptr -> 0
wm1: TX: txsdirty -> 0
wm1: LINK: LSC -> down
wm1: LINK: anstate 2
wm1: LINK: checklink -> down
wm0: LINK: set media -> no signal
wm1: LINK: set media -> link down
wm1: LINK: set media -> link down
wm0: LINK: set media -> no signal