From owner-freebsd-stable Wed Aug 29 11: 2:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id 939CD37B405; Wed, 29 Aug 2001 11:02:05 -0700 (PDT) (envelope-from mike@sentex.net) Received: from simoeon.sentex.net (pyroxene.sentex.ca [199.212.134.18]) by smtp1.sentex.ca (8.11.6/8.11.6) with ESMTP id f7TI24b04617; Wed, 29 Aug 2001 14:02:04 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.1.0.14.0.20010829135412.01af71c0@marble.sentex.ca> X-Sender: mdtpop@marble.sentex.ca X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 29 Aug 2001 13:56:35 -0400 To: Yar Tikhiy From: Mike Tancsa Subject: Re: kernel panic when bringing up a VLAN interface (netgraph?) Cc: Archie Cobbs , stable@FreeBSD.ORG In-Reply-To: <20010829214910.A204@comp.chem.msu.su> References: <5.1.0.14.0.20010828000259.024e98e8@192.168.0.12> <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"; format=flowed 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, Peter Blok on freebsd-net ran into the same problem and has some insight as well. The thread is "Runt frames = broken VLAN ? " http://docs.freebsd.org/cgi/getmsg.cgi?fetch=155593+0+current/freebsd-net ---Mike At 09:49 PM 8/29/01 +0400, Yar Tikhiy wrote: >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