From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 18:34:38 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E02D16A420 for ; Fri, 30 Dec 2005 18:34:38 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C3B843D8B for ; Fri, 30 Dec 2005 18:34:29 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: by nproxy.gmail.com with SMTP id i2so713632nfe for ; Fri, 30 Dec 2005 10:34:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=RIf8dTiTZ36SnYjSq9YfRc10E8f1t6sST7W1tUSVv3fwClnVnUG+KfeEdO0kQntd7JEHs22GjPH3vQ9PacSs2JGpaW8bKb2Zdo//zGih0NgqXe+sTaINU0GvKKMd8GkNwbS3pJGQxGHFt5CQDC2SMDHRpm13UqOIdhAko/ERySw= Received: by 10.48.244.20 with SMTP id r20mr440892nfh; Fri, 30 Dec 2005 10:34:26 -0800 (PST) Received: by 10.48.219.3 with HTTP; Fri, 30 Dec 2005 10:34:26 -0800 (PST) Message-ID: <35c231bf0512301034g4de5a2fevc48721188863c818@mail.gmail.com> Date: Fri, 30 Dec 2005 10:34:26 -0800 From: David Kirchner Sender: dpkirchner@gmail.com To: FreeBSD Questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: Developer's Handbook DDB instructions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2005 18:34:38 -0000 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.