From owner-freebsd-current@FreeBSD.ORG Sun Jul 12 11:31:27 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94832106564A for ; Sun, 12 Jul 2009 11:31:27 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id 228268FC1E for ; Sun, 12 Jul 2009 11:31:26 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lstewart-laptop.caia.swin.edu.au (host86-150-124-14.range86-150.btcentralplus.com [86.150.124.14]) (authenticated bits=0) by lauren.room52.net (8.14.3/8.14.3) with ESMTP id n6CBVH7L063195 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Jul 2009 21:31:19 +1000 (EST) (envelope-from lstewart@freebsd.org) Message-ID: <4A59C976.1010307@freebsd.org> Date: Sun, 12 Jul 2009 12:31:02 +0100 From: Lawrence Stewart User-Agent: Thunderbird 2.0.0.22 (X11/20090626) MIME-Version: 1.0 To: Stefan Bethke References: <128E7C52-CCBD-4BAF-A4AE-1D914A3968CB@lassitu.de> <4A58DD8D.3090308@freebsd.org> <6D58BB3C-85F4-44A6-A43B-F6E18F056FA4@lassitu.de> <4A598DDF.4010306@freebsd.org> <231E941D-4656-4D88-BAA9-29361A3C2B51@lassitu.de> In-Reply-To: <231E941D-4656-4D88-BAA9-29361A3C2B51@lassitu.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_05,RCVD_IN_PBL, RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=disabled version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on lauren.room52.net Cc: FreeBSD Current Subject: Re: Automatic crashdumps, etc. 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: Sun, 12 Jul 2009 11:31:28 -0000 Stefan Bethke wrote: > Am 12.07.2009 um 09:16 schrieb Lawrence Stewart: > >> You can set debug.debugger_on_panic=0 in /etc/sysctl.conf which will >> make the system automatically dump core and reset instead of sitting >> at the ddb prompt. > > I was under the impression that adding ddb_enable="YES" to rc.conf would > run a DDB script that records some information, creates a dump, and then > resets. However, whenever I've had a panic, I was presented with just > the ddb prompt. Is something else needed? Not sure about the rc.conf option. Doing what I said will get you a core.txt.X, info.X and vmcore.X file in /var/crash automatically if the system panics, so you shouldn't need any more than that right? Cheers, Lawrence