From owner-freebsd-current@FreeBSD.ORG Fri Feb 22 05:41: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 5807316A403 for ; Fri, 22 Feb 2008 05:41:10 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id 257CF13C459 for ; Fri, 22 Feb 2008 05:41:09 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so172995wfa.7 for ; Thu, 21 Feb 2008 21:41: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=CeNfXfpxwR9FM6XkV0DzL4jRIInFdq3Ngu1vRcbv3z8=; b=rvk5afXS+hewDQ0J9RaRv0KekRl9+xytfR7fmcUgZP3Z5ZPRPQ0UiWJg3rj3GtKfGhzXbcXsnv729/FXoVKzGg1Fuuf8NnIevaDIreInPCj9tz6tNGoeXB3XahsVUpZFbkbK1E3ndRPPSivBqnfDC1uwj7q+BAnxEMmd3iM8qoo= 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=IzQHCzTEUlVUUpRnrSjrykprKPHDrg+OTDK/SYQoY2Ij6hXAmviN1JrHh35TD06QAgWTIx6OkEBEl6ajDBAIrdE/Cub5qU9NlE9fV2gL000MMipTmK+LCRb3ihs1XKnPjaR2u33+fRQE2REOHGdbQvafhZ13trPcCHNnW+1ruQk= Received: by 10.142.245.10 with SMTP id s10mr1166507wfh.15.1203658869751; Thu, 21 Feb 2008 21:41:09 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id 22sm1644777wfg.15.2008.02.21.21.41.07 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Feb 2008 21:41:08 -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 m1M5f46S031568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Feb 2008 14:41:04 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m1M5f3i9031567; Fri, 22 Feb 2008 14:41:03 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 22 Feb 2008 14:41:03 +0900 From: Pyun YongHyeon To: Robert Backhaus Message-ID: <20080222054103.GD30497@cdnetworks.co.kr> References: <20080221035014.GB26427@cdnetworks.co.kr> <20080221050635.GC26427@cdnetworks.co.kr> <47BDBB1A.9040701@andric.com> <47BE2FEF.7010709@andric.com> <20080222041715.GA30497@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 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 05:41:10 -0000 On Fri, Feb 22, 2008 at 03:07:52PM +1000, Robert Backhaus wrote: > On Fri, Feb 22, 2008 at 2:17 PM, Pyun YongHyeon wrote: > > > > On Fri, Feb 22, 2008 at 03:14:07AM +0100, Dimitry Andric wrote: > > > On 2008-02-22 02:59, Robert Backhaus wrote: > > > >> > 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 have had trouble so far. I was tracking RELENG_7, which has the m_defrag() > > > > function. > > > > > > Actually, m_defrag() DOES exist in RELENG_7, it's m_collapse() that > > > isn't yet MFC'd, apparently. So that is the function that needs to > > > copied from HEAD's uipc_mbuf.c instead. > > > > Ah... yes, you're right. I need more coffee. > > > > -- > > Regards, > > Pyun YongHyeon > > > > You guys aren't making this troubleshooting any easier, you know. > > I just stripped out m_defrag, and inserted m_collapse, to my newly > csupped RELENG_7. > > RELENG_7 does contain m_collapse. At least, buildkernel complains > about it if i insert > it into if_re.c It probably hasn't been rfc'd to RELENG_7_0. > > if_re.c is a different version, though. I'm using version 1.103. Download if_re.c and if_rlreg.h in the following URL and rebuild the driver. http://people.freebsd.org/~yongari/re/7.0R/if_re.c http://people.freebsd.org/~yongari/re/7.0R/if_rlreg.h -- Regards, Pyun YongHyeon