From owner-freebsd-current@FreeBSD.ORG Mon Jun 1 13:07:55 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22F9310656B6 for ; Mon, 1 Jun 2009 13:07:55 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id F159D8FC24 for ; Mon, 1 Jun 2009 13:07:54 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 91C0046B06; Mon, 1 Jun 2009 09:07:54 -0400 (EDT) Date: Mon, 1 Jun 2009 14:07:54 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Randy Bush In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Current Subject: Re: yakpf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 13:07:55 -0000 On Mon, 1 Jun 2009, Randy Bush wrote: >> Is it possible to use options KDB_TRACE and KDB_PANIC to dump a stack trace >> to the serial console to use as a starting point for debugging? > > increase size or weight of clue bat please. > > /usr/src/sys/amd64/conf/WORK0: unknown option "KDB_PANIC" *** Error code 1 > > /usr/src/sys/amd64/conf/WORK0: unknown option "KDB_PANIC" *** Error code 1 Probably on myself. What I was actually looking for KDB_TRACE and KDB_UNATTENDED, which should print a stack trace and reboot on panic. Robert N M Watson Computer Laboratory University of Cambridge