From owner-freebsd-current@FreeBSD.ORG Fri Nov 28 02:37:29 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1752116A4CE for ; Fri, 28 Nov 2003 02:37:29 -0800 (PST) Received: from mailhost2.mistral.co.uk (mailhost2.mistral.co.uk [217.154.131.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F12643FBD for ; Fri, 28 Nov 2003 02:37:28 -0800 (PST) (envelope-from simoncurrent@mistral.co.uk) Received: from [172.16.0.197] (madoka.mistral.net [217.154.52.47]) by mailhost2.mistral.co.uk (Postfix) with ESMTP id BAFA830703 for ; Fri, 28 Nov 2003 10:37:26 +0000 (GMT) From: Simon Loader To: freebsd-current@freebsd.org In-Reply-To: <20031128111905.G614@free.home.local> References: <20031128111905.G614@free.home.local> Content-Type: text/plain Message-Id: <1070015839.18283.2510.camel@madoka> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 28 Nov 2003 10:37:20 +0000 Content-Transfer-Encoding: 7bit Subject: Re: recent current panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2003 10:37:29 -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