From owner-freebsd-net@FreeBSD.ORG Sun May 27 17:53:36 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6BCE716A400 for ; Sun, 27 May 2007 17:53:36 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id DF2A813C43E for ; Sun, 27 May 2007 17:53:35 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (localhost [127.0.0.1]) by blah.sun-fish.com (Postfix) with ESMTP id 706F11B10EE7; Sun, 27 May 2007 19:53:34 +0200 (CEST) Received: from [10.1.1.2] (unknown [192.168.25.6]) by blah.sun-fish.com (Postfix) with ESMTP id 6A1B61B10EE0; Sun, 27 May 2007 19:53:34 +0200 (CEST) Message-ID: <4659C59C.9030208@sun-fish.com> Date: Sun, 27 May 2007 20:53:32 +0300 From: Stefan Lambrev User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Jack Vogel References: <462E3B4A.5030307@sun-fish.com> <46595504.4060803@sun-fish.com> <2a41acea0705271034s79d6774dg2008a057831d9de2@mail.gmail.com> In-Reply-To: <2a41acea0705271034s79d6774dg2008a057831d9de2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on BLAH Cc: freebsd-net@freebsd.org Subject: Re: em0 failed to work at 1000baseTX. WAS [Re: em0 - bge0 failed to work at 1000baseTX] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2007 17:53:36 -0000 Hi Jack, Jack Vogel wrote: > 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 this is the card that works in my tests: em1@pci4:0:1: class=0x020000 card=0x34768086 chip=0x10968086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'PRO/1000 EB Network Connection' class = network subclass = ethernet and this is the one that do not work at gigabit speed: em0@pci0:25:0: class=0x020000 card=0x2800103c chip=0x104a8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82566DM Gigabit Network Connection' class = network subclass = ethernet > > > On 5/27/07, Stefan Lambrev 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: 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: 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@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"