From owner-freebsd-stable@FreeBSD.ORG Sat Oct 22 05:13:07 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29B05106566B for ; Sat, 22 Oct 2011 05:13:07 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id E520F8FC12 for ; Sat, 22 Oct 2011 05:13:06 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id p9M5D4MA083394 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 21 Oct 2011 22:13:06 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p9M5D4oo083391; Fri, 21 Oct 2011 22:13:04 -0700 (PDT) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA06734; Fri, 21 Oct 11 22:11:17 PDT Date: Sat, 22 Oct 2011 05:10:04 -0700 From: perryh@pluto.rain.com To: ml@my.gd Message-Id: <4ea2b29c.QmX94UmzdHW1HSBe%perryh@pluto.rain.com> References: <4ea18916.IBAr0lF5RCzEYn6G%perryh@pluto.rain.com> <4EA12D26.4020104@my.gd> In-Reply-To: <4EA12D26.4020104@my.gd> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 8.1 xl + dual-speed Netgear hub = yoyo X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2011 05:13:07 -0000 Damien Fleuriot wrote: > On 10/21/11 5:00 PM, perryh@pluto.rain.com wrote: > > I have an 8.1-RELEASE system with an xl on the mainboard: > > xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc80-0xdcff mem 0xf8fffc00-0xf8fffc7f irq 16 at device 4.0 on pci2 > > miibus0: on xl0 > > xlphy0: <3c905C 10/100 internal PHY> PHY 24 on miibus0 > > xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > xl0: Ethernet address: 00:b0:d0:22:5a:14 > > xl0: [ITHREAD] > > It has been working properly while connected to an old 10-BaseT > > hub, but when I moved it to a (not as old) Netgear 10/100 dual- > > speed hub the link started to yo-yo: > > Pray tell, what's a "dual-speed hub" , marketing mumbo-jumbo ? That's what Netgear calls it :) > If that's a hub that supports negotiation of different speeds > (10 vs 100), then yes, I call that marketing mumbo-jumbo ;) It supports negotiation of either 10 or 100 on each port independently, so it must internally have a 2-port switch between the 10- and 100- sides. "10/100 dual-speed hub" seems more compact than "marketing mumbo-jumbo hub" :) > > Oct 21 07:16:00 fbsd81 kernel: xl0: link state changed to DOWN > > Oct 21 07:16:02 fbsd81 kernel: xl0: link state changed to UP > > Oct 21 07:16:12 fbsd81 kernel: xl0: link state changed to DOWN > [snip] > > Both connections were using the same (short) Cat5 cable, I tried > > two different ports on the 10/100 hub, and other systems work OK > > on that 10/100 hub. > > > > How do I get this interface to operate properly at 100MB? > > You change your faulty cable and enjoy ;) > It is totally possible that your cable be the cause, and that it > can operate just fine at 10MB but not at 100. I tried a (different) brand-new cable. Same problem. I suppose maybe the xl's 100MB phy is dodgy, but it does work after a fashion -- some packets do get through during the times when the link is UP. Anything else to try?