From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51961 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmQz5-0006ww-0N for qemu-devel@nongnu.org; Mon, 07 Feb 2011 08:18:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmQxq-0003Vm-2e for qemu-devel@nongnu.org; Mon, 07 Feb 2011 08:17:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:64447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmQxp-0003Va-QS for qemu-devel@nongnu.org; Mon, 07 Feb 2011 08:17:10 -0500 Message-ID: <4D4FF0CE.7000702@redhat.com> Date: Mon, 07 Feb 2011 15:17:02 +0200 From: Avi Kivity MIME-Version: 1.0 References: <4D4C0613.9050309@siemens.com> <4D4ED860.2060109@redhat.com> <4D4FB231.1050107@redhat.com> <4D4FBB83.4030103@redhat.com> <4D4FC13B.7010001@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [SeaBIOS] IO APIC emulation failure with qemu-kvm List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ravi Kumar Kulkarni Cc: Jan Kiszka , seabios@seabios.org, qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org On 02/07/2011 12:28 PM, Ravi Kumar Kulkarni wrote: > On Mon, Feb 7, 2011 at 3:24 PM, Avi Kivity wrote: > > On 02/07/2011 11:47 AM, Ravi Kumar Kulkarni wrote: > >> > >> > > >> > That is not the same address. And the code you posted doesn't make any > >> > sense. > >> > > >> sorry for the mistake. here's the correct one > >> > >> > >> (qemu) xp /20iw 0x1e2f3f7b > >> 0x000000001e2f3f7b: (bad) > >> 0x000000001e2f3f7c: std > >> 0x000000001e2f3f7d: (bad) > >> 0x000000001e2f3f7e: (bad) > > > > That looks like garbage. Are you sure you're disassembling the right code? > > > ok . Just to be clear i ran the command qemu-kvm once and i found > got the crash report below which i have attached and in that eip is at > 0x1e2f3f77 > and then > > (qemu) xp /20iw 0x1e2f3f77 > 0x000000001e2f3f77: pop %ds > 0x000000001e2f3f78: inc %edx > 0x000000001e2f3f79: loope 0x1e2f3fc8 > 0x000000001e2f3f7b: pop %ds > 0x000000001e2f3f7c: jnp 0x1e2f3f5e > 0x000000001e2f3f7e: dec %ebp > 0x000000001e2f3f7f: pop %ds > 0x000000001e2f3f80: xchg %eax,%esp > 0x000000001e2f3f81: aas > 0x000000001e2f3f82: das This still doesn't look like real code. The problem was likely much earlier and caused a branch into a data section. Someone with a good understanding of your OS needs to examine the trace and see what went wrong. -- error compiling committee.c: too many arguments to function