Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2005 10:34:26 -0800
From:      David Kirchner <dpk@dpk.net>
To:        FreeBSD Questions <questions@freebsd.org>
Subject:   Developer's Handbook DDB instructions
Message-ID:  <35c231bf0512301034g4de5a2fevc48721188863c818@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm trying to track down a background fsck deadlock bug. I've found a
thread on groups.google.com about another person having a similar
problem but with snapshots. The suggestion made there was to compile a
kernel with DDB, and the user was referred to the Developer's
Handbook.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kernel=
debug-online-ddb.html

The Handbook appears to be out of date -- it states that you have to
add "options DDB" to the kernel config to enable DDB. When you try
that, part way through the make depend process it informs you that you
also need KDB. Are there any other steps necessary to get DDB to work
on a newer version of FreeBSD (say 6.0-RELEASE)?

Since this particular deadlock test will probably take 12+ hours of
runtime to trigger, I'd like to get this right, so I can get as much
information as possible into a PR.



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