Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2005 05:52:45 -0700 (PDT)
From:      Wei Chong <weichong78@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   crash dump
Message-ID:  <20050428125245.59707.qmail@web41506.mail.yahoo.com>
In-Reply-To: <20050428120044.F027616A4CF@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I compiled my FreeBSD 5.3-STABLE kernel with 
options KDB, DDB
makeoptions DEBUG="-g"

and wrote a kernel module that does nothing but call
panic() upon its loading, to try experimenting on
crash kernel debugger and crash dump.
Upon kldload the module, KDB was invoked and I was
dropped into a console debugger that let me see the
backtrace by typing "where".
However, when I typed "panic" as suggested by the FAQ,
it doesn't dump anything to my swap device.  Only by
typing "call doadump" in the KDB that it does the job.

I wonder why?

Any help is appreciated.
Thanks.

Yours truly,
Tan, Wei Chong.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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