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: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 14 Feb 2004 18:17:09 -0800 (PST)

:"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.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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