From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47463 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmNKK-0005JH-Sp for qemu-devel@nongnu.org; Mon, 07 Feb 2011 04:24:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmNKJ-00088O-Jo for qemu-devel@nongnu.org; Mon, 07 Feb 2011 04:24:08 -0500 Received: from mail-fx0-f45.google.com ([209.85.161.45]:51289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmNKJ-000888-CS for qemu-devel@nongnu.org; Mon, 07 Feb 2011 04:24:07 -0500 Received: by fxm12 with SMTP id 12so4745594fxm.4 for ; Mon, 07 Feb 2011 01:24:06 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4D4FB231.1050107@redhat.com> References: <4D4C0613.9050309@siemens.com> <4D4ED860.2060109@redhat.com> <4D4FB231.1050107@redhat.com> Date: Mon, 7 Feb 2011 14:54:04 +0530 Message-ID: From: Ravi Kumar Kulkarni Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Avi Kivity Cc: Jan Kiszka , seabios@seabios.org, qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org On Mon, Feb 7, 2011 at 2:19 PM, Avi Kivity wrote: > On 02/07/2011 10:33 AM, Ravi Kumar Kulkarni wrote: >> >> On Sun, Feb 6, 2011 at 10:50 PM, Avi Kivity =A0wrote: >>> >>> > =A0On 02/04/2011 03:58 PM, Jan Kiszka wrote: >>>> >>>> >> >>>>> >>>>> >> =A0> =A0 =A0 when i run my kernel image with qemu-kvm it gives emu= lation >>>>> >> error >>>>> >> =A0> =A0failure >>>>> >> =A0> =A0 =A0trying to execute the code outside ROM or RAM at fec00= 000(IO >>>>> >> APIC base >>>>> >> =A0> =A0address) >>>>> >> =A0> =A0 =A0but the same code runs fine with qemu. can anyone plea= se point >>>>> >> me >>>>> >> =A0> =A0 =A0where might be the problem or how to find out this one= ? >>> >>> > >>> > =A0Please post the error message. >> >> =A0 Im attachin the error message in kvm.txt file =A0with =A0above mail. >> =A0 KVM internal error. Suberror: 1 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 rax >> 000000000000000d rbx 000000001e2db2a6 rcx 00000000fa4bec19 rdx >> 0000000000000088 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 rsi 000000001f4de1ea= rdi 0000000000000000 rsp >> 00000000000c0004 rbp 000000001f464fbb >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0r= 8 =A00000000000000000 r9 =A00000000000000000 >> r10 0000000000000000 r11 0000000000000000 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0r12 >> 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 >> 0000000000000000 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0rip 000000001e2f3f7b = rflags 00010097 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0cs 0008 >> (00000000/ffffffff p 1 dpl 0 db 1 s 1 type b l 0 g > > What's the guest code at rip 0x1e2f3f7b ? please find the code below. (qemu) xp /20iw 0x1e2f3f83 0x000000001e2f3f83: pop %ds 0x000000001e2f3f84: jae 0x1e2f3f66 0x000000001e2f3f86: dec %eb= p 0x000000001e2f3f87: pop %ds 0x000000001e2f3f88: pushf 0x000000001e2f3f89: aas 0x000000001e2f3f8a: das 0x000000001e2f3f8b: push %ds 0x000000001e2f3f8c: iret 0x000000001e2f3f8d: test $0x1e2e,%eax 0x000000001e2f3f92: add %al,(%eax) 0x000000001e2f3f94: add %al,(%eax) 0x000000001e2f3f96: add %al,(%eax) 0x000000001e2f3f98: or $0x0,%eax 0x000000001e2f3f9d: add %al,(%eax) 0x000000001e2f3f9f: add %cl,0x81e2f4c(%esi) 0x000000001e2f3fa5: add %al,(%eax) 0x000000001e2f3fa7: add %al,(%edx) 0x000000001e2f3fa9: add %al,(%ecx) 0x000000001e2f3fab: add %cl,-0x1f(%edx) Thanks, Ravi Kulkarni. > > -- > >