recent current panic

Simon Loader simoncurrent at mistral.co.uk
Fri Nov 28 02:37:29 PST 2003


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



More information about the freebsd-current mailing list