Date: Fri, 22 Feb 2008 11:59:19 +1000 From: "Robert Backhaus" <robbak@robbak.com> To: "Dimitry Andric" <dimitry@andric.com> Cc: pyunyh@gmail.com, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Packet corruption in re0 Message-ID: <d4499580802211759s2d88c666idda9e43d07e43191@mail.gmail.com> In-Reply-To: <47BDBB1A.9040701@andric.com> References: <d4499580802201703t1dcc3143x96e85cd8e562489@mail.gmail.com> <20080221035014.GB26427@cdnetworks.co.kr> <d4499580802202047g6baec3eag564ed6f59f90d10@mail.gmail.com> <20080221050635.GC26427@cdnetworks.co.kr> <47BDBB1A.9040701@andric.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 22, 2008 at 3:55 AM, Dimitry Andric <dimitry@andric.com> 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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d4499580802211759s2d88c666idda9e43d07e43191>