From owner-freebsd-stable@FreeBSD.ORG Fri Apr 8 17:26:16 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39A0D16A4CE for ; Fri, 8 Apr 2005 17:26:16 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FD0A43D1D for ; Fri, 8 Apr 2005 17:26:16 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 047A472DDF; Fri, 8 Apr 2005 10:26:16 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 01C7172DDD; Fri, 8 Apr 2005 10:26:15 -0700 (PDT) Date: Fri, 8 Apr 2005 10:26:15 -0700 (PDT) From: Doug White To: kama In-Reply-To: <20050407150846.N48554@ns1.as.pvp.se> Message-ID: <20050408102436.L63303@carver.gumbysoft.com> References: <20050407150846.N48554@ns1.as.pvp.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: problems with bge and cisco gbic-t sfp X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 17:26:16 -0000 On Thu, 7 Apr 2005, kama wrote: > I have a problem with the connection between my bge card and a cisco 7609 > with a gbic-t sfp. > > uname > 5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Apr 5 11:21:17 CEST 2005. > > dmesg > bge0: mem > 0xf7df0000-0xf7dfffff irq 29 at device 1.0 on pci2 > miibus0: on bge0 > brgphy0: on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, > 1000baseTX-FDX, auto > bge0: Ethernet address: 00:0d:9d:93:f1:dd > > ifconfig > bge0: flags=9843 mtu 1500 > options=1a > inet X.X.X.X netmask 0xfffffffc broadcast X.X.X.X > ether 00:0d:9d:93:f1:dd > media: Ethernet 1000baseTX > status: active > > When I run ifconfig repeatitly I get strange answers on media. > > media: Ethernet 1000baseTX (10GBASE-SR ) > media: Ethernet 1000baseTX (10baseT ) > ... > > Sometimes the status changes to none and back to active. > > On the other end I get nothing... The interface looks like its up and > everything is OK. But it does not recognise the up and down as I see the > status. I can reboot the system without it noticing anything. I dont think > its a problem with the cisco hardware, but a bge driver issue or something > related to the driver, like mii. The cables are CAT-6. The GBIC-T can only > run at 1000base-T. > > I have other servers connected through an older and bigger GBIC-T and I > cant find any problems on those. But they are running FreeBSD 4.x and not > 5.x Try these, in order: 1. Replace the cables. 2. Force the media types on both ends. Ciscos are famously picky about autoneg. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org