From owner-freebsd-current@FreeBSD.ORG Fri Feb 22 04:27:10 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 51CEE16A404 for ; Fri, 22 Feb 2008 04:27:10 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id E69A613C46B for ; Fri, 22 Feb 2008 04:27:09 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so436867wri.3 for ; Thu, 21 Feb 2008 20:27:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=ulBz+7iwWirp6KKAuHmq6PcQAOMmtRK4qSvXvlyWh8o=; b=mOBi4hbDRmTwVndo9vxwXWtk/F4tn6BWAyPpz4T4/Unw8KMISnDXo5tqLNsSpN8mghmxLvL9UQSNMTW6lFvqbBYVwrFMcXXmD43zQK4/TaCt4eamQjblYAH+GEVfzao0Y47xsLA9/XxoTzt4j50eVvvfsAVVcvb90Lrclhu5GeI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=EXbgFFvMu3rhrKO4UShUhoUMqpjyS/vIxgr+heqaykhxPG2sgiN18tAx/F73jinO453aPPfJvHw0c/+hVzwo2hC3AWjOjnCIKM0oBSrROMD2+4FuWZ4FUxpYqRlDZwYAutpYrL+dpG8ywXAYaiHu/cu7hmM/tzxsN0VMSoUgpDU= Received: by 10.142.12.14 with SMTP id 14mr8336066wfl.152.1203654428195; Thu, 21 Feb 2008 20:27:08 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id 30sm1541458wff.11.2008.02.21.20.27.05 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Feb 2008 20:27:07 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m1M4R1dB031231 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Feb 2008 13:27:01 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m1M4R0j6031230; Fri, 22 Feb 2008 13:27:00 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 22 Feb 2008 13:27:00 +0900 From: Pyun YongHyeon To: Ian FREISLICH Message-ID: <20080222042700.GB30497@cdnetworks.co.kr> References: <20080221050635.GC26427@cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i 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 Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2008 04:27:10 -0000 On Thu, Feb 21, 2008 at 01:18:18PM +0200, Ian FREISLICH wrote: > 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. > Hmm. That sounds like different issue to me. I guess I din't change any semantics in VLAN H/W tagging. Do you still the same VLAN H/W tagging related issues on RELENG_7? To narrow down the issue it would be even better to know which parts of H/W assistance was broken. For example, - Disable checksum offload for VLAN interface first and check whether quagga works. - Disable checksum offload for parent interface and check again. If you can post tcpdump output for broken conntection it may help a lot to diagnose the issue. -- Regards, Pyun YongHyeon