From owner-freebsd-questions@FreeBSD.ORG Fri Jan 25 04:29:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3056716A41B for ; Fri, 25 Jan 2008 04:29:44 +0000 (UTC) (envelope-from johan@giantfoo.org) Received: from pangu.giantfoo.org (pangu.giantfoo.org [24.227.169.103]) by mx1.freebsd.org (Postfix) with ESMTP id 0D27E13C43E for ; Fri, 25 Jan 2008 04:29:43 +0000 (UTC) (envelope-from johan@giantfoo.org) Received: from localhost (localhost [127.0.0.1]) by pangu.giantfoo.org (Postfix) with ESMTP id 119D1122A2 for ; Thu, 24 Jan 2008 22:29:43 -0600 (CST) Date: Thu, 24 Jan 2008 22:29:42 -0600 (CST) Message-Id: <20080124.222942.13773964.johan@giantfoo.org> To: freebsd-questions@freebsd.org From: Johan A. van Zanten X-Mailer: Mew version 5.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: how to hardcode kernel dump device in kernel 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, 25 Jan 2008 04:29:44 -0000 I'm trying to get a crash dump of a ZFS-related kernel crash, but it happens before "dumpon" has run, so i think i need to hardcode the device in the kernel. However, i can't find the syntax for this. Anyone have any ideas? All i've found in the docs is this: "Alternatively, the dump device can be hard-coded via the dump clause in the config(5) line of a kernel configuration file. This approach is deprecated and should be used only if a kernel is crashing before dumpon(8) can be executed." http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#KERNELDEBUG-OBTAIN I've also looked at config(5). Thanks, johan