From owner-freebsd-questions@FreeBSD.ORG Tue Jul 19 00:24:10 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 9350B16A41C for ; Tue, 19 Jul 2005 00:24:10 +0000 (GMT) (envelope-from wkt@minnie.tuhs.org) Received: from minnie.tuhs.org (minnie.tuhs.org [131.244.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F50043D46 for ; Tue, 19 Jul 2005 00:24:10 +0000 (GMT) (envelope-from wkt@minnie.tuhs.org) Received: by minnie.tuhs.org (Postfix, from userid 1000) id 677FE88; Tue, 19 Jul 2005 10:24:04 +1000 (EST) Date: Tue, 19 Jul 2005 10:24:04 +1000 From: Warren Toomey To: freebsd-questions@freebsd.org Message-ID: <20050719002404.GA39681@minnie.tuhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: 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 00:24:10 -0000 Hi, I have recently installed FreeBSD 5.3 on a Dell Poweredge 650 server, and it has panicked twice in the past 3 weeks. Unfortunately, the box is in a server room for which I don't have a key, and access can take hours. 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