From owner-freebsd-current@FreeBSD.ORG Mon Jan 24 03:28:32 2011 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 A84731065679 for ; Mon, 24 Jan 2011 03:28:32 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 367D98FC17 for ; Mon, 24 Jan 2011 03:28:32 +0000 (UTC) Received: (qmail 13635 invoked by uid 399); 24 Jan 2011 03:28:32 -0000 Received: from localhost (HELO doug-optiplex.ka9q.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 24 Jan 2011 03:28:32 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4D3CF1DE.8010403@FreeBSD.org> Date: Sun, 23 Jan 2011 19:28:30 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101210 Thunderbird/3.1.7 MIME-Version: 1.0 To: David Demelier References: <4D3CB2FE.2080603@gmail.com> In-Reply-To: <4D3CB2FE.2080603@gmail.com> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Garrett Cooper Subject: Re: why panic(9) ? 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: Mon, 24 Jan 2011 03:28:32 -0000 On 01/23/2011 15:00, David Demelier wrote: > In any case, when panic occurs, switching display to the tty can be > great. Why not a sysctl like kern.tty_on_panic? Because when you're > running X and a panic occurs not everybody understand what happens. Putting the following in /etc/sysctl.conf can help: debug.debugger_on_panic=0 The reason being that sometimes when you panic in X the system is attempting to drop to the debugger, but can't, which is why it hangs. hth, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/