Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2003 10:37:20 +0000
From:      Simon Loader <simoncurrent@mistral.co.uk>
To:        freebsd-current@freebsd.org
Subject:   Re: recent current panic
Message-ID:  <1070015839.18283.2510.camel@madoka>
In-Reply-To: <20031128111905.G614@free.home.local>
References:  <20031128111905.G614@free.home.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2003-11-28 at 08:49, Yuriy Tsibizov wrote:
> >> It looks very similar to
> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=59576. You can revert to
> >> version 1.28 of net/bpf.h if you need tcpdump on lo, tun, ic, plip,
> >> disc or gif interface right now.
> 
> > just to note: I ran tcpdump on tunN (which was a pppoe interface) w/o
> > problems two days ago (with a recent world) while debugging and
> > testing other net related things.
> 
> Do you have "options INVARIANTS" in your kernel configuration?
> M_ASSERTVALID(..) (that was added to BPF_MTAP macro) do nothing if you
> don't have INVARIANTS enabled.

Im getting the same problem with the realtek driver (also getting lock
ups but Ill post something else for that).

I removed the error by patching if_re.c with a patch like :-

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_dc.c.diff?r1=1.9.2.53&r2=1.9.2.54
(basically pass the mbuf to XX_encap instead of a pointer to it)

which was the reason for the INVARIANT in the 1st place.

This may not be the correct way to fix it.



-- 
Simon Loader



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