From owner-freebsd-questions@FreeBSD.ORG Tue Jul 19 06:36:27 2005 Return-Path: X-Original-To: freebsd-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 8015716A41C for ; Tue, 19 Jul 2005 06:36:27 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from server.absolute-media.de (server.absolute-media.de [213.239.231.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B5A443D45 for ; Tue, 19 Jul 2005 06:36:26 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from localhost (unknown [127.0.0.1]) by server.absolute-media.de (Postfix) with ESMTP id A67588B2C9; Tue, 19 Jul 2005 08:36:24 +0200 (CEST) Received: from server.absolute-media.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14526-03; Tue, 19 Jul 2005 08:36:20 +0200 (CEST) Received: from firewall.demig (p5083995B.dip0.t-ipconnect.de [80.131.153.91]) by server.absolute-media.de (Postfix) with ESMTP id 079AF8B32E; Tue, 19 Jul 2005 08:36:15 +0200 (CEST) Received: from ws-ew-3 (ws-ew-3.w2kdemig [192.168.1.72]) by firewall.demig (8.13.4/8.13.1) with SMTP id j6J6Vh2s059470; Tue, 19 Jul 2005 08:32:14 +0200 (CEST) (envelope-from NKoch@demig.de) From: "Norbert Koch" To: "Warren Toomey" , Date: Tue, 19 Jul 2005 09:32:02 +0200 Message-ID: <002b01c58c33$f4efbca0$4801a8c0@ws-ew-3.W2KDEMIG> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 In-Reply-To: <20050719002404.GA39681@minnie.tuhs.org> Importance: Normal X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at absolute-media.de Cc: Subject: RE: Auto Reboot on Panic? 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: Tue, 19 Jul 2005 06:36:27 -0000 > I would like the box to dump core and reboot on a panic. I think > I have set > the box up to do this, but on the last panic it didn't reboot. I > followed the > information at http://www.bsdatwork.com/2002/03/29/system_panics_part_1/, > and I have compiled a kernel with makeoptions DEBUG=-g, options KDB, > options KDB_UNATTENDED. > > /etc/rc.conf has these lines: dumpdev="/dev/ad6s1b", > dumpdir="/usr/local/var/crash". The box has 768M of RAM, ad6s1b has > at least that much space, and is configured as swap. > > Can anybody tell me what I have forgotten to do to make the box reboot on > a panic? Many thanks in advance, > > Warren Hello. >From my understanding of the kernel options: options PANIC_REBOOT_WAIT_TIME=xx # seconds before reboot options KDB_UNATTENDED # only required if compiled with kernel debugger # options RESTARTABLE_PANICS # should not be set May be, you should also set kern.shutdown.kproc_shutdown_wait in sysctl.conf to some reasonable time. Norbert