DragonFly bugs List (threaded) for 2004-02
Re: lwkt & a fatal trap
Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx> wrote:
> :"make buildkernel" rebuilds all modules, right? Next time I'm in
> :DragonFly (sometime tomorrow, most likely), I'll check the time stamps and
> :build tree to make sure that it was rebuilt. I'll also unmount all ext2fs
> :directories and try unloading the ext2fs module before rebooting.
> :Is there somewhere on-line that I can read up on how toget a kernel.debug?
> :I don't mind doing testing, but don't have experience with anything beyond
> :a backtrack from the kernel debugger :-)
> In your kernel config add the line:
> makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
> A kernel.debug will automatically be generated in the build directory
> (usually /usr/obj/usr/src/sys/KERNELNAME/ when you use 'buildkernel').
> I would build ext2fs directly into your kernel via your kernel config
> file. It makes it a lot easier to debug.
Well, this is odd. I've changed nothing but the ext2fs option in my
kernel config file (since, apparently, I was already builing a kernel
with gdb debub symbols), and now I have no problems when starting up or
shutting down. So apparently this is only a problem when using the
ext2fs kernel module.