Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2008 14:41:03 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Robert Backhaus <robbak@robbak.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Packet corruption in re0
Message-ID:  <20080222054103.GD30497@cdnetworks.co.kr>
In-Reply-To: <d4499580802212107y75e6a0d0r4e048aee0d612474@mail.gmail.com>
References:  <d4499580802201703t1dcc3143x96e85cd8e562489@mail.gmail.com> <20080221035014.GB26427@cdnetworks.co.kr> <d4499580802202047g6baec3eag564ed6f59f90d10@mail.gmail.com> <20080221050635.GC26427@cdnetworks.co.kr> <47BDBB1A.9040701@andric.com> <d4499580802211759s2d88c666idda9e43d07e43191@mail.gmail.com> <47BE2FEF.7010709@andric.com> <20080222041715.GA30497@cdnetworks.co.kr> <d4499580802212107y75e6a0d0r4e048aee0d612474@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 22, 2008 at 03:07:52PM +1000, Robert Backhaus wrote:
 > On Fri, Feb 22, 2008 at 2:17 PM, Pyun YongHyeon <pyunyh@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080222054103.GD30497>