Dropping into ddb from kernel panic

Duane Whitty duane at greenmeadow.ca
Tue Mar 21 22:13:09 UTC 2006


Hi,

I am trying to learn how to trace kernel issues
or determine if a problem even is a kernel issue.

Here are the debugging options I have set in my kernel config.

makeoptions  DEBUG=-g

options          KDB
options          KDB_TRACE
options          DDB
options          KTRACE

options         AHC_REG_PRETTY_PRINT
options         AHD_REG_PRETTY_PRINT

#sysctl -a
debug.debugger_on_panic: 1

I am trying to track down two system crash problems.

One is a kmem_map issue.

Are my kernel debug options correct or am I missing
anything (memguard perhaps)?


Would being in an X session interfere with dropping
into the debugger?

Are there any specific options I should set  in the make.conf
for the buildworld/buildkernel process?

Thanks in advance for any pointers

--Duane


More information about the freebsd-questions mailing list