Thread (1 message) 1 message, 1 author, 2011-02-07

Re: [SeaBIOS] IO APIC emulation failure with qemu-kvm

From: Ravi Kumar Kulkarni <hidden>
Date: 2011-02-07 09:47:22

On Mon, Feb 7, 2011 at 2:59 PM, Avi Kivity [off-list ref] wrote:
On 02/07/2011 11:24 AM, Ravi Kumar Kulkarni wrote:
quoted
On Mon, Feb 7, 2011 at 2:19 PM, Avi Kivity[off-list ref]  wrote:
quoted
 On 02/07/2011 10:33 AM, Ravi Kumar Kulkarni wrote:
quoted
 On Sun, Feb 6, 2011 at 10:50 PM, Avi Kivity[off-list ref]    wrote:
quoted
 >    On 02/04/2011 03:58 PM, Jan Kiszka wrote:
quoted
 >>
quoted
 >>    >       when i run my kernel image with qemu-kvm it gives
emulation
 >>  error
 >>    >    failure
 >>    >      trying to execute the code outside ROM or RAM at
fec00000(IO
 >>  APIC base
 >>    >    address)
 >>    >      but the same code runs fine with qemu. can anyone
please point
 >>  me
 >>    >      where might be the problem or how to find out this
one?
 >
 >    Please post the error message.
    Im attachin the error message in kvm.txt file  with  above mail.
    KVM internal error. Suberror: 1

rax
 000000000000000d rbx 000000001e2db2a6 rcx 00000000fa4bec19 rdx
 0000000000000088
                            rsi 000000001f4de1ea rdi 0000000000000000
rsp
 00000000000c0004 rbp 000000001f464fbb

                                     r8  0000000000000000 r9
 0000000000000000
 r10 0000000000000000 r11 0000000000000000

 r12
 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15
 0000000000000000
                           rip 000000001e2f3f7b rflags 00010097
                                                               cs 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
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)
                      0x000000001e2f3f7f:  decl   0x28000000
                      0x000000001e2f3f85:  loope  0x1e2f3f87
                      0x000000001e2f3f87:  add    %cl,0x81e2f4c(%edi)
                      0x000000001e2f3f8d:  add    %al,(%eax)
                      0x000000001e2f3f8f:  add    %al,(%edi)
                      0x000000001e2f3f91:  add    %al,(%ecx)
                      0x000000001e2f3f93:  add    %ch,(%edx)
                      0x000000001e2f3f95:  loope  0x1e2f3fe4
                      0x000000001e2f3f97:  pop    %ds
                      0x000000001e2f3f98:  mov    %cl,%ah
                      0x000000001e2f3f9a:  dec    %ebp
                      0x000000001e2f3f9b:  pop    %ds
                      0x000000001e2f3f9c:  or     $0xb41f4de0,%eax
                      0x000000001e2f3fa1:  aas
                      0x000000001e2f3fa2:  das
                      0x000000001e2f3fa3:  push   %ds



Warm regards,
Ravi Kulkarni.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help