From owner-freebsd-current@FreeBSD.ORG Thu Feb 21 11:19:13 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A21F16A400 for ; Thu, 21 Feb 2008 11:19:13 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id 67FB813C45A for ; Thu, 21 Feb 2008 11:19:13 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:cc:From:Subject:In-Reply-To:X-Attribution:Date:Message-Id; b=hirB/qBAtva3taeUUowWcTDeleri/z3xMhNK2e8kMhUXrjcebyzwSWl+uKJa8LyrRdIFIV4XpU6xXwXIzpDkEqtWaj3KPnVKrJBdzT2rtTqC2o8M+I2mBxEdeBLQdPYU+8t3+xZF1GCB1PJBG0fU1wbrCQX/2EQTD6OCkWh/kU3Q4dGSHFJ1SpNLhkLJgEW4I5wMpWaTVAIv/poNSTGNk29yFSgd26FdWQx3IerCZMTN7ASKARw//xC95AhB4Z+Q; Received: from uucp by munchkin.clue.co.za with local-rmail (Exim 4.67) (envelope-from ) id 1JS9SG-0004BD-Bg; Thu, 21 Feb 2008 11:19:08 +0000 Received: from ianf.clue.co.za ([10.0.0.6] helo=clue.co.za) by urchin.clue.co.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JS9RT-0005n2-HH; Thu, 21 Feb 2008 11:18:19 +0000 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JS9RS-00016O-Hz; Thu, 21 Feb 2008 13:18:18 +0200 To: pyunyh@gmail.com From: Ian FREISLICH In-Reply-To: Message from Pyun YongHyeon of "Thu, 21 Feb 2008 14:06:35 +0900." <20080221050635.GC26427@cdnetworks.co.kr> X-Attribution: BOFH Date: Thu, 21 Feb 2008 13:18:18 +0200 Message-Id: Cc: FreeBSD Current , Robert Backhaus Subject: Re: Packet corruption in re0 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: Thu, 21 Feb 2008 11:19:13 -0000 Pyun YongHyeon wrote: > On Thu, Feb 21, 2008 at 02:47:43PM +1000, Robert Backhaus wrote: > > On Thu, Feb 21, 2008 at 1:50 PM, Pyun YongHyeon wrote: > > > On Thu, Feb 21, 2008 at 11:03:02AM +1000, Robert Backhaus wrote: > > > > I am experiencing roughly 15% packet corruption on the re interface on > > > > my freebsd 7/amd64 box. > > > > > > > > FreeBSD gw.flexi.robbak.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #8 : > > > > Tue Feb 5 09:49:55 EST 2008 > > > > root@gw.flexi.robbak.com:/usr/obj/usr/src/sys/GW amd64 > > > > > > > > Just to make troubleshooting difficult, this problem only shows up > > > > after the system has been up for roughly 36 hours, depending on the > > > > amount of traffic. > > > > > > > > > > I didn't take a look attached tcpdump files but I guess the > > > instability issue was fixed in HEAD. It's not yet MFCed but > > > I'll handle it in a week. > > > > > > Would you try re(4) in HEAD? > > > > > > > OK, I'll do that. What is the best way to do that? csupping to "." seems a > > bit drastic, and I don't do much with cvs proper. I take it that I should use > > anon-cvs to grab the directory, but I don't quite know how. > > > > Copy sys/dev/re/if_re.c, sys/pci/if_rlreg.h in HEAD to your box. > Due to lack of m_defrag(9) in 7-PRERELEASE/RC, you also have to add > that function to if_re.c(Copy m_defrag() in sys/kern/uipc_mbuf.c on > HEAD/RELENG_7 to if_re.c). That would make it build on your box. This doesn't solve the problem that I'm seeing on re(4) interfaces. It basically shows up as quagga establishing OSPF neighours as "Exchange/DR" when VLAN hardware tagging is enabled. I'm running OSPF over 802.1Q vlans. Neighbours are correctly negotiated once VLAN hardware tagging is disabled on the interface. I'll do more debugging. Ian -- Ian Freislich