From owner-freebsd-hackers Thu Oct 10 19:21:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F91C37B401 for ; Thu, 10 Oct 2002 19:21:27 -0700 (PDT) Received: from mail1.informationwave.net (dipole.informationwave.net [199.74.235.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11A3943E42 for ; Thu, 10 Oct 2002 19:21:27 -0700 (PDT) (envelope-from abe@informationwave.net) Received: by mail1.informationwave.net (Postfix, from userid 1007) id 13E994F921; Thu, 10 Oct 2002 22:19:45 -0400 (EDT) Date: Thu, 10 Oct 2002 22:19:45 -0400 From: abe To: Terry Lambert Cc: hackers@freebsd.org Subject: Re: fatal trap 12 kernel panic Message-ID: <20021011021945.GA46517@dipole.informationwave.net> References: <20021010212954.GA67855@dipole.informationwave.net> <3DA5F3BC.CD0154CF@mindspring.com> <20021010214518.GB71656@dipole.informationwave.net> <3DA5FCD2.B23CD912@mindspring.com> <20021010222545.GA82461@dipole.informationwave.net> <3DA60447.4C66C85@mindspring.com> <20021010232416.GA97757@dipole.informationwave.net> <3DA6332C.CDC30B95@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DA6332C.CDC30B95@mindspring.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 10, 2002 at 07:10:52PM -0700, Terry Lambert wrote: > abe wrote: > > On Thu, Oct 10, 2002 at 03:50:47PM -0700, Terry Lambert wrote: > > > You should be able to find out the C code at assembly code offset > > > 0x172, assuming you created your kernel with "config -g", and you > ******* > > > compiled the ipfw statically into the kernel, instead of loading > **************************************************************** > > > it as a module. > ************** > > > > > > Assuming this is the case, to do that, go to the directory you > > > compiled the kernel in, and run: > > > > > > gdb -k kernel.debug > > > list *add_dyn_rule+0x172 > > > > (kgdb) list *add_dyn_rule+0x172 > > No source file for address 0xc021e5d6 > > (kgdb) > > Not to be emphatic, or anything, but IPFW has to be static. I thought it was "static" considering I compiled the kernel with support for it as opposed to loading the module? Regards, Abe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message