DragonFly BSD
DragonFly bugs List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: lwkt & a fatal trap


From: Adam K Kirchhoff <adamk@xxxxxxxxxxxx>
Date: 15 Feb 2004 16:01:32 GMT

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.

Adam




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]