From owner-freebsd-stable@FreeBSD.ORG Sun Mar 18 01:53:42 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 08599106564A for ; Sun, 18 Mar 2012 01:53:42 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id BD8F08FC16 for ; Sun, 18 Mar 2012 01:53:41 +0000 (UTC) Received: from [192.168.43.26] (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.5/8.14.4) with ESMTP id q2I1reqf043262; Sat, 17 Mar 2012 21:53:40 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4F65401B.303@sentex.net> Date: Sat, 17 Mar 2012 21:53:31 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: pyunyh@gmail.com References: <4F63A772.30406@sentex.net> <20120317225858.GA1660@michelle.cdnetworks.com> In-Reply-To: <20120317225858.GA1660@michelle.cdnetworks.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.71 on 64.7.153.18 Cc: FreeBSD-STABLE Mailing List Subject: Re: fxp entering promiscuous mode causing link to bounce 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: Sun, 18 Mar 2012 01:53:42 -0000 On 3/17/2012 6:58 PM, YongHyeon PYUN wrote: > On Fri, Mar 16, 2012 at 04:49:54PM -0400, Mike Tancsa wrote: >> >> tcpdump -ni fxp0 -c 20 >> >> fxp0: link state changed to DOWN >> fxp0: promiscuous mode enabled >> fxp0: link state changed to UP >> fxp0: link state changed to DOWN >> fxp0: promiscuous mode disabled >> fxp0: link state changed to UP >> >> I verified it on 2 different boxes. Is there a way to prevent this from happening ? >> > > It looks like a regression introduced in flow control support. Thanks very much, that indeed did fix it!! 0(smtp1)# patch < fxp.p Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: sys/dev/fxp/if_fxp.c |=================================================================== |--- sys/dev/fxp/if_fxp.c (revision 233076) |+++ sys/dev/fxp/if_fxp.c (working copy) -------------------------- Patching file sys/dev/fxp/if_fxp.c using Plan A... Hunk #1 succeeded at 900 (offset -2 lines). Hunk #2 succeeded at 2808 (offset -2 lines). Hunk #3 succeeded at 2914 (offset -2 lines). fxp0: promiscuous mode enabled fxp0: promiscuous mode disabled ... and not bounced link/dropped packets. dev.fxp.0.%desc: Intel 82550 Pro/100 Ethernet dev.fxp.0.%driver: fxp dev.fxp.0.%location: slot=1 function=0 dev.fxp.0.%pnpinfo: vendor=0x8086 device=0x1229 subvendor=0x8086 subdevice=0x0040 class=0x020000 dev.fxp.0.%parent: pci2 dev.fxp.0.int_delay: 1000 dev.fxp.0.bundle_max: 6 dev.fxp.0.rnr: 0 dev.fxp.0.stats.rx.good_frames: 9265 dev.fxp.0.stats.rx.crc_errors: 0 dev.fxp.0.stats.rx.alignment_errors: 0 dev.fxp.0.stats.rx.rnr_errors: 0 dev.fxp.0.stats.rx.overrun_errors: 0 dev.fxp.0.stats.rx.cdt_errors: 0 dev.fxp.0.stats.rx.shortframes: 0 dev.fxp.0.stats.rx.pause: 0 dev.fxp.0.stats.rx.controls: 0 dev.fxp.0.stats.rx.tco: 0 dev.fxp.0.stats.tx.good_frames: 9978 dev.fxp.0.stats.tx.maxcols: 0 dev.fxp.0.stats.tx.latecols: 0 dev.fxp.0.stats.tx.underruns: 0 dev.fxp.0.stats.tx.lostcrs: 3 dev.fxp.0.stats.tx.deffered: 0 dev.fxp.0.stats.tx.single_collisions: 0 dev.fxp.0.stats.tx.multiple_collisions: 0 dev.fxp.0.stats.tx.total_collisions: 0 dev.fxp.0.stats.tx.pause: 0 dev.fxp.0.stats.tx.tco: 0 ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/