From owner-freebsd-stable Wed Aug 29 10:49:44 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.chem.msu.ru (mail.chem.msu.ru [195.208.208.19]) by hub.freebsd.org (Postfix) with ESMTP id 4FC6137B401 for ; Wed, 29 Aug 2001 10:49:40 -0700 (PDT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su ([158.250.32.97]) by mail.chem.msu.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id Q5PY2GKM; Wed, 29 Aug 2001 21:39:36 +0400 Received: (from yar@localhost) by comp.chem.msu.su (8.11.1/8.11.1) id f7THnBk02437; Wed, 29 Aug 2001 21:49:11 +0400 (MSD) (envelope-from yar) Date: Wed, 29 Aug 2001 21:49:11 +0400 From: Yar Tikhiy To: Mike Tancsa Cc: Archie Cobbs , stable@FreeBSD.ORG Subject: Re: kernel panic when bringing up a VLAN interface (netgraph?) Message-ID: <20010829214910.A204@comp.chem.msu.su> References: <5.1.0.14.0.20010827183043.042e6198@192.168.0.12> <200108280337.f7S3bhD33238@arch20m.dellroad.org> <5.1.0.14.0.20010828000259.024e98e8@192.168.0.12> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.1.0.14.0.20010828000259.024e98e8@192.168.0.12>; from mike@sentex.net on Tue, Aug 28, 2001 at 12:07:20AM -0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I was able to reproduce the panic and get a core file. However, gdb output looks rather strange to me: (kgdb) where #5 0xc020951f in trap (frame={tf_fs = 16, tf_es = 125960208, tf_ds = [...] #6 0xc01973e4 in ng_ether_output (ifp=0xc026d2e0, mp=0xc8735d34) at ../../netgraph/ng_ether.c:274 [...] (kgdb) up 6 #6 0xc01973e4 in ng_ether_output (ifp=0xc026d2e0, mp=0xc8735d34) at ../../netgraph/ng_ether.c:274 274 const node_p node = IFP2NG(ifp); (kgdb) p ifp $1 = (struct ifnet *) 0x0 (kgdb) p mp $2 = (struct mbuf **) 0x6718ba Why does gdb report the values of "ifp" and "mp" inconsistently? The kernel crashed at the first line of ng_ether_output(), so the arguments couldn't be modified... I'm confused. -- Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message