Re: Packet corruption in re0

From: Pyun YongHyeon <pyunyh_at_gmail.com>
Date: Fri, 22 Feb 2008 14:41:03 +0900
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_at_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
Received on Fri Feb 22 2008 - 04:41:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:27 UTC