From owner-freebsd-questions@FreeBSD.ORG Sat Jul 11 04:49:55 2009 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 AC1E9106566B for ; Sat, 11 Jul 2009 04:49:55 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4608FC14 for ; Sat, 11 Jul 2009 04:49:54 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm24 with SMTP id 24so1024939fxm.43 for ; Fri, 10 Jul 2009 21:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=aGil9ZEGd584pRCsciR6y1P+UZpLKurAWQHa/5EUHpg=; b=fTBXRGNpmKFJt2SWgdmSVQq9akNIJO1/LehaA8lb2PEQcNE8EDh4uzyAz6pq2Q8nf4 SH13lGnzD/H0XxO6HKsB50SDKdN8NcFsuvK3fEPWhV618/k/IUGtilj4sGh/uTkgPg9j lKw6c6eBIHkk4PPsZFoZlzMSBW/AwxFmx1ZW0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=oVji9+lPRb5RtTC9WC/B+RZzE3qim/GPg5E3ZcxNLN7xz9I3sl71dPmhKZ3gCsnlbb eNmtUY2h/W75KrAtSl2y2Q8gaeztKfF6u/Y4IthiTOpvFl4vgT1gP6PqO6u2gMGJh2sU bwWJ6AD1mCp5aG62iOqGNdiEZ68hZd9mKOv6s= MIME-Version: 1.0 Received: by 10.204.114.140 with SMTP id e12mr2646754bkq.68.1247287794083; Fri, 10 Jul 2009 21:49:54 -0700 (PDT) In-Reply-To: References: Date: Sat, 11 Jul 2009 00:49:54 -0400 Message-ID: <4ad871310907102149t465eb168r26c6d16b3cea0953@mail.gmail.com> From: Glen Barber To: jw Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Prevent reboot-after-panic behavior? 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: Sat, 11 Jul 2009 04:49:55 -0000 Hi. On Sat, Jul 11, 2009 at 12:25 AM, jw wrote: > I'm trying to figure out a strange panic issue (see: > http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/201842.html). > > The problem is I generally need to run it overnight in order to reproduce it. > By the time I get back to it, the machine has auto-rebooted, losing > precious info in ttyv0. > I cannot simply analyze a dump because the dump fails (see other > thread for that info - possibly a separate issue). > > I am working on getting the dump to succeed, but in the meantime: > > Is there a way to turn off the auto-reboot behavior? > I found this link: http://www.webhostingtalk.com/showthread.php?t=438372 > But it is about turning it *on* and is somewhat old. > > Is there a way to change the behavior without recompiling the kernel? > If you don't have debugging enabled in the kernel (KDB, DDB), no. If you do, you can set the following sysctl to disable automatic reboot on panic: debug.debugger_on_panic: 1 HTH. -- Glen Barber