Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 19:10:52 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        abe <abe@informationwave.net>
Cc:        hackers@freebsd.org
Subject:   Re: fatal trap 12 kernel panic
Message-ID:  <3DA6332C.CDC30B95@mindspring.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DA6332C.CDC30B95>