Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2006 18:11:59 -0400
From:      Duane Whitty <duane@greenmeadow.ca>
To:        freebsd-questions@freebsd.org
Subject:   Dropping into ddb from kernel panic
Message-ID:  <44207A2F.1050501@greenmeadow.ca>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44207A2F.1050501>