Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Oct 2009 07:29:08 +0200
From:      Ian FREISLICH <ianf@clue.co.za>
To:        pyunyh@gmail.com
Cc:        current@freebsd.org
Subject:   Re: alc(4) link autoselect problem 
Message-ID:  <E1Mw82O-0006kF-PA@clue.co.za>
In-Reply-To: <20091008170458.GC3843@michelle.cdnetworks.com> 
References:  <20091008170458.GC3843@michelle.cdnetworks.com> <20091007180257.GA3843@michelle.cdnetworks.com> <E1MvPZq-000Fqu-Ti@clue.co.za> <E1MvqOT-0000Oo-7F@clue.co.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Mw82O-0006kF-PA>