Re: recent current panic

From: Simon Loader <simoncurrent_at_mistral.co.uk>
Date: Fri, 28 Nov 2003 10:37:20 +0000
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
Received on Fri Nov 28 2003 - 01:37:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:31 UTC