lwkt & a fatal trap

Adam K Kirchhoff adamk at voicenet.com
Sun Feb 15 08:01:32 PST 2004


Matthew Dillon <dillon at 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.

Adam






More information about the Bugs mailing list