From owner-freebsd-current@FreeBSD.ORG Fri Feb 22 01:59:21 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 96A5416A405 for ; Fri, 22 Feb 2008 01:59:21 +0000 (UTC) (envelope-from robbak@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190]) by mx1.freebsd.org (Postfix) with ESMTP id 2CAC513C4D3 for ; Fri, 22 Feb 2008 01:59:20 +0000 (UTC) (envelope-from robbak@gmail.com) Received: by ti-out-0910.google.com with SMTP id j2so223952tid.3 for ; Thu, 21 Feb 2008 17:59:19 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=5tb5iujfZO6UqjVMQ8kenlUXWY7ajKm14Ss9jM/QBWM=; b=Mu2FPBL172FX20awK1Ykiu4MzhLxvqG0G9rjptH1D5XYzwPZoFlL5o3j41rjDKgCLRDrXTDGzIEwW7LlMMFAHlKkz3yhkdMyT+nwd6pTgJ7RseULWLi7GZSFoBe9dGJXdearwg5He3fHIyLK2ar7ELQgJiiGeN4bjOjbAQQPaFY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=g99uzpcr12khZjV1MXdkUmsmnoN+/ZGkYwWPwsqQD56kzJHNBj/eoEnPb/enBSAwTfE2WfuTAjkScm/6V5w2qy3mDOZ5qEMhi+/CQU0dJcibm+1MMIO/lNYOYAqw9lXq43A6MCgiiv73Rd131sKpuc0f7716j1DzuQRSz9U7IGA= Received: by 10.110.20.17 with SMTP id 17mr7534988tit.47.1203645559455; Thu, 21 Feb 2008 17:59:19 -0800 (PST) Received: by 10.110.26.11 with HTTP; Thu, 21 Feb 2008 17:59:19 -0800 (PST) Message-ID: Date: Fri, 22 Feb 2008 11:59:19 +1000 From: "Robert Backhaus" Sender: robbak@gmail.com To: "Dimitry Andric" In-Reply-To: <47BDBB1A.9040701@andric.com> 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> X-Google-Sender-Auth: 858f4b51e6fbb6c7 Cc: pyunyh@gmail.com, FreeBSD Current 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 01:59:21 -0000 On Fri, Feb 22, 2008 at 3:55 AM, Dimitry Andric wrote: > 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. > I have had trouble so far. I was tracking RELENG_7, which has the m_defrag() function. - adding it again caused the build to stop, and I munged things when pulling it back out again. I'm csupping again to have another go. Good to see that others are being helped by my question: I really should have asked it weeks ago!