From owner-freebsd-current@FreeBSD.ORG Fri Feb 22 05:07:54 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 A03C616A400 for ; Fri, 22 Feb 2008 05:07:54 +0000 (UTC) (envelope-from robbak@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.186]) by mx1.freebsd.org (Postfix) with ESMTP id 3583D13C448 for ; Fri, 22 Feb 2008 05:07:53 +0000 (UTC) (envelope-from robbak@gmail.com) Received: by ti-out-0910.google.com with SMTP id j2so232010tid.3 for ; Thu, 21 Feb 2008 21:07:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=cL9pJiMNsaCrjqpf+DPJ4NzJ5IYWRtHEbcwPBhE43Bk=; b=oatMvLwA6xl06FumCHJ87NzExDyNiRLdrOCX1YjLzROdwY+/qNuoIaOlZVgUBvfoYEYqf8KabBa6VgolkqCKTnimyK+O+30z9Ns7ZatD3pytQsBNxeWjdt5CokoBvy/kY/bDjfT7yEFW/IU9Gv+SwhbfNjRsZGhsZ1gO0uhXSAg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=c/bZv1A1KYDddzW22WzMUI7vq4AaX6iTtsMxwg0TtZAxKIjPrMGPYbzDGCbw4X/yU9+Sve44NlhpoI/gc26nFwaDp6dqSjaJ2s8lLT0QWSwWyr0i9afIQhDxpLydMZUoMuN9Sg9ujphb8uxb0/zwZ8ju96+PR73ar+FfHlrp008= Received: by 10.110.41.17 with SMTP id o17mr7576589tio.29.1203656872913; Thu, 21 Feb 2008 21:07:52 -0800 (PST) Received: by 10.110.26.11 with HTTP; Thu, 21 Feb 2008 21:07:52 -0800 (PST) Message-ID: Date: Fri, 22 Feb 2008 15:07:52 +1000 From: "Robert Backhaus" Sender: robbak@gmail.com To: "FreeBSD Current" In-Reply-To: <20080222041715.GA30497@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080221035014.GB26427@cdnetworks.co.kr> <20080221050635.GC26427@cdnetworks.co.kr> <47BDBB1A.9040701@andric.com> <47BE2FEF.7010709@andric.com> <20080222041715.GA30497@cdnetworks.co.kr> X-Google-Sender-Auth: f9248156ddbe822c 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: Fri, 22 Feb 2008 05:07:54 -0000 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.