From owner-freebsd-hackers Thu Oct 10 19:12: 7 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 E219E37B401 for ; Thu, 10 Oct 2002 19:12:05 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A7EC43EBE for ; Thu, 10 Oct 2002 19:12:05 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0099.cvx21-bradley.dialup.earthlink.net ([209.179.192.99] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17zpHX-0003Mb-00; Thu, 10 Oct 2002 19:12:04 -0700 Message-ID: <3DA6332C.CDC30B95@mindspring.com> Date: Thu, 10 Oct 2002 19:10:52 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: abe Cc: hackers@freebsd.org Subject: Re: fatal trap 12 kernel panic 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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. There is voodoo you can use to make it know about loaded modules, but I'll be damned if I know what it is (again, I refer you to the handbook). 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message