em0 failed to work at 1000baseTX. WAS [Re: em0 - bge0 failed to work at 1000baseTX]

Jack Vogel jfvogel at gmail.com
Sun May 27 17:34:02 UTC 2007


Stefan,

         I am having a long weekend and am supposed to be doing
something other than this :) However, when I get back in the office
on Tuesday I will see if I can repro this, so just to make sure, tell
me what the PCI ID of the two cards are when it fails with Intel
on both sides, that should be easy.

Jack


On 5/27/07, Stefan Lambrev <stefan.lambrev at sun-fish.com> wrote:
> Hi,
>
> MQ wrote:
> >
> > Actually, I'd rather consider the bge(4) has some problems with its
> > media negotiation. It seems that the problem you described was just
> > the same with mine as I had mentioned earlier this year. I encountered
> > the problem as I wanted a BCM5701 and a BCM5780 to connect to each
> > other with 1000TX duplex.
> Hm seems my last mail got lost and didn't reach the mail list.
>
> I replaced the broadcom device with other intel gigabit card:
> em1: <Intel(R) PRO/1000 Network Connection Version - 6.5.2> port
> 0x2000-0x201f mem 0xb8c00000-0xb8c1ffff,0xb8400000-0xb87fffff irq 19 at
> device 0.1 on pci4
> em1: Ethernet address: 00:15:17:1b:08:ed
> em1: [FILTER]
>
> on the other end is the "problematic" network card (that does work under
> linux&windows):
> em0: <Intel(R) PRO/1000 Network Connection Version - 6.5.2> port
> 0x2000-0x201f mem 0xf0500000-0xf051ffff,0xf0524000-0xf0524fff irq 19 at
>  device 25.0 on pci0
> em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xf0500000
> em0: attempting to allocate 1 MSI vectors (1 supported)
> msi: routing MSI IRQ 256 to vector 49
> em0: using IRQ 256 for MSI
> em0: Reserved 0x1000 bytes for rid 0x14 type 3 at 0xf0524000
> em0: bpf attached
> em0: Ethernet address: 00:0f:fe:4e:78:16
> em0: [FILTER]
>
> When I verbose boot the server I see:
> em0: Link is up 1000 Mbps Full Duplex
> em0: link state changed to UP
> em0: Link is Down
> em0: link state changed to DOWN
> em0: Link is up 100 Mbps Full Duplex
> em0: link state changed to UP
>
> if I type ifconfig em0 media auto it happens exactly the same:
> card down
> card negotiate to 1000 Mbps Full Duplex
> card up  - netowrk work for 2 seconds
> card down
> card negotiate to 100Mbps Full Duplex
> card up.
>
> If i force 1000mbps network :
> ifconfig em0 media 1000basetx mediaopt full-duplex
> 2 seconds latter I see: status: no carrier
>
> Both machines are running FreeBSD 7.0-CURRENT from ~2 days ago.
>
> A checked up connection between bge0 and the new server with intel card
> and everything works fine.
>
>
> --
>
> Best Wishes,
> Stefan Lambrev
> ICQ# 24134177
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


More information about the freebsd-net mailing list