From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: How to debug a triple fault at startup? Date: Mon, 22 Jun 2009 11:35:05 +0300 Message-ID: <4A3F4239.7060103@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Michael Crawford Return-path: Received: from mx2.redhat.com ([66.187.237.31]:58819 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751732AbZFVIeQ (ORCPT ); Mon, 22 Jun 2009 04:34:16 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 06/22/2009 04:58 AM, Michael Crawford wrote: > I'm not completely certain, but I think I get a GPF whenever trying to > output text to the screen once interrupts have been enabled. > > That is, before calling int 0x19, I can use printf from within > rombios.c, and my messages appear. But from anywhere within the int19 > code, they don't. > > I definitely don't see the "Booting from hard drive message". > Try to hack the reset code to vm_stop(0) instead of resetting. You'll then be able to examine guest registers with 'info registers' though the monitor (or debugger), and perhaps see what went wrong. -- error compiling committee.c: too many arguments to function