From owner-freebsd-current@FreeBSD.ORG Thu Feb 21 17:55:38 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 CEBC316A404 for ; Thu, 21 Feb 2008 17:55:38 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8DA2213C442 for ; Thu, 21 Feb 2008 17:55:38 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from [IPv6:2001:7b8:3a7:0:4553:f20a:f619:870a] (unknown [IPv6:2001:7b8:3a7:0:4553:f20a:f619:870a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTP id 6796E3C; Thu, 21 Feb 2008 18:55:37 +0100 (CET) Message-ID: <47BDBB1A.9040701@andric.com> Date: Thu, 21 Feb 2008 18:55:38 +0100 From: Dimitry Andric User-Agent: Thunderbird 2.0.0.13pre (Windows/20080218) MIME-Version: 1.0 To: pyunyh@gmail.com References: <20080221035014.GB26427@cdnetworks.co.kr> <20080221050635.GC26427@cdnetworks.co.kr> In-Reply-To: <20080221050635.GC26427@cdnetworks.co.kr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 17:55:38 -0000 On 2008-02-21 06:06, Pyun YongHyeon wrote: > > > 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. I've applied this on a RELENG_7_0 box with 2 re interfaces, and it seems to run without any problems. Not that it had many problems before, except sometimes it took a very long time (e.g. ~10 s) for the re's to come up during booting. Let me know if anyone wants this as a ready-made patch file.