From owner-freebsd-current@FreeBSD.ORG Fri Oct 9 05:29:15 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 2AC2A1065676 for ; Fri, 9 Oct 2009 05:29:15 +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 B505D8FC14 for ; Fri, 9 Oct 2009 05:29:14 +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 1Mw82S-0005ai-3w; Fri, 09 Oct 2009 07:29:12 +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 1Mw82O-0006kF-PA; Fri, 09 Oct 2009 07:29:08 +0200 To: pyunyh@gmail.com From: Ian FREISLICH In-Reply-To: <20091008170458.GC3843@michelle.cdnetworks.com> References: <20091008170458.GC3843@michelle.cdnetworks.com> <20091007180257.GA3843@michelle.cdnetworks.com> X-Attribution: BOFH Date: Fri, 09 Oct 2009 07:29:08 +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: Fri, 09 Oct 2009 05:29:15 -0000 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. > > > How about checking MIB statistics of controller? > > > (sysctl dev.alc.0.stats) > > > > This is after a reboot, but the link was up for a short while to > > do the above testing. rx.good_frames looks a bit high for "up 21 > > mins". > > > > dev.alc.0.stats.rx.good_frames: 3348588249 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > dev.alc.0.stats.rx.good_octets: 0 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Yeah, that looks odd, it seemed controller received a lot of good > frames but none were meaningful packets so I guess there are link > establishment issues. I still have no clue but if I manage to find > more test case I will let you know. That number is bogus. It's currently incrementing by approximately 33435108 per second without a cable plugged in. Ian -- Ian Freislich