From: Keir Fraser Subject: Re: Infinite loop on reboot with 3.0.3 and crash_debug=y Date: Wed, 04 Oct 2006 08:49:55 +0100 Message-ID: References: <4522D0D7.1070105@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4522D0D7.1070105@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Chris Lalancette , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 3/10/06 10:06 pm, "Chris Lalancette" wrote: > But because the dom0 has gone away, we are not in guest mode anymore, and so > we hit the panic. The panic is handled in drivers/char/console.c, which has > another call to debugger_trap_immediate, which generates the int3, which gets > us into the infinite loop. Reverting the change noted above goes back to the > old behavior (i.e. actually rebooting :). I'm tempted to say the > debugger_trap_immediate has no business being in the panic function, but I'd > like to hear other opinions on it. There was previosuly special-case code for int3 in the debugger_trap macros. I should add it back in. Also, Muli is correct that unconditional debugger trap in dom0_shutdown is overkill. -- Keir