Date: Sat, 17 Mar 2012 21:53:31 -0400 From: Mike Tancsa <mike@sentex.net> To: pyunyh@gmail.com Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: fxp entering promiscuous mode causing link to bounce Message-ID: <4F65401B.303@sentex.net> In-Reply-To: <20120317225858.GA1660@michelle.cdnetworks.com> References: <4F63A772.30406@sentex.net> <20120317225858.GA1660@michelle.cdnetworks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F65401B.303>