From owner-freebsd-net@FreeBSD.ORG Sun May 27 09:53:10 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 38A5216A474 for ; Sun, 27 May 2007 09:53:10 +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 E7D2213C48A for ; Sun, 27 May 2007 09:53:09 +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 B730F1B10EE7; Sun, 27 May 2007 11:53:08 +0200 (CEST) Received: from hater.cmotd.com (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id B391A1B10EA4; Sun, 27 May 2007 11:53:08 +0200 (CEST) Message-ID: <46595504.4060803@sun-fish.com> Date: Sun, 27 May 2007 12:53:08 +0300 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.0 (X11/20070521) MIME-Version: 1.0 To: MQ References: <462E3B4A.5030307@sun-fish.com> In-Reply-To: Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on BLAH Cc: freebsd-net@freebsd.org Subject: 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 Reply-To: stefan.lambrev@sun-fish.com 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 09:53:10 -0000 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