From owner-freebsd-current@FreeBSD.ORG Mon Oct 12 07:52:55 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E21B106566B for ; Mon, 12 Oct 2009 07:52:55 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from inbound01.jnb1.gp-online.net (inbound01.jnb1.gp-online.net [41.161.16.135]) by mx1.freebsd.org (Postfix) with ESMTP id 845B78FC0C for ; Mon, 12 Oct 2009 07:52:54 +0000 (UTC) Received: from [41.154.0.10] (helo=clue.co.za) by inbound01.jnb1.gp-online.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1MxFi8-0002qo-0D; Mon, 12 Oct 2009 09:52:52 +0200 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MxFi6-0007jF-OU; Mon, 12 Oct 2009 09:52:50 +0200 To: pyunyh@gmail.com From: Ian FREISLICH In-Reply-To: <20091009194037.GI3843@michelle.cdnetworks.com> References: <20091009194037.GI3843@michelle.cdnetworks.com> <20091008170458.GC3843@michelle.cdnetworks.com> <20091007180257.GA3843@michelle.cdnetworks.com> X-Attribution: BOFH Date: Mon, 12 Oct 2009 09:52:50 +0200 Message-Id: Cc: current@freebsd.org Subject: Re: alc(4) link autoselect problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2009 07:52:55 -0000 Pyun YongHyeon wrote: > On Fri, Oct 09, 2009 at 07:29:08AM +0200, Ian FREISLICH wrote: > > Pyun YongHyeon wrote: > > > On Thu, Oct 08, 2009 at 12:38:45PM +0200, Ian FREISLICH wrote: > > > > wgsw-24010# sh interfaces status ethernet g14 > > > > Flow Link Back Mdix > > > > Port Type Duplex Speed Neg ctrl State Pressure Mode > > > > -------- ------------ ------ ----- -------- ---- ----------- -------- ---- > > --- > > > > g14 1G-Copper Full 100 Enabled Off Up Disabled Off > > > > > > > > > > Hmm, does your switch have an option to enable/disable downshifting > > > feature? If so, how about toggling the option? > > > > I'm not sure exactly what you mean. There's no configuration options > > that obviously match. > > > > Modern PHYs have ability to correct several cabling problems, for > example, > - pair swaps > - pair skews > - pair polarity > - automatic MDI/MDIX > - downshift to enable 10/100Mps link establishment with two > pairs by downgrading the link speed to 10/100Mbps during > auto-negotiation process when it can't establish 1000Mbps link. > Existing cables used to connect 10/100Mbps link partners may > have only two pairs. With two pairs PHYs can announce 1000Mbps > capability to link partner but it can't establish the link as > 1000Mbps link requires 4 pairs. > > Since F1 PHY seems to have above capability I just wanted to see > whether disabling downshifting on link partner makes any > difference. Yes, if I tell the switch to negotiate but not to advertise 1000f, link negotiation works with this PHY: wgsw-24010# sh interfaces advertise ethernet g14 Port: g14 Type: 1G-Copper Link state: Up Auto negotiation: Enabled 1000f 1000h 100f 100h 10f 10h ----- ----- ---- ---- --- --- Admin Local link Advertisement no no yes yes yes yes Oper Local link Advertisement no no yes yes yes yes Oper Remote link Advertisement no no yes yes yes yes Priority Resolution - - yes - - - alc0: flags=8843 metric 0 mtu 1500 options=3198 ether 00:25:b3:6f:ab:9a media: Ethernet autoselect (100baseTX ) status: active Ian -- Ian Freislich