[SeaBIOS] IO APIC emulation failure with qemu-kvm

Ravi Kumar Kulkarni ravilinux4u at gmail.com
Mon Feb 7 11:28:25 CET 2011


On Mon, Feb 7, 2011 at 3:24 PM, Avi Kivity <avi at redhat.com> 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
                      0x000000001e2f3f83:  push   %ds
                      0x000000001e2f3f84:  add    %eax,(%eax)
                      0x000000001e2f3f86:  add    %al,(%eax)
                      0x000000001e2f3f88:  add    %al,(%eax)
                      0x000000001e2f3f8a:  add    %al,(%eax)
                      0x000000001e2f3f8c:  add    %al,(%eax)
                      0x000000001e2f3f8e:  add    %al,(%eax)
                      0x000000001e2f3f90:  or     $0x0,%eax
                      0x000000001e2f3f95:  add    %al,(%eax)
                      0x000000001e2f3f97:  add    %cl,0x81e2f4c(%esi)

Warm Regards,
Ravi Kulkarni.


>
-------------- next part --------------
 KVM internal error. Suberror: 1
                                                                                   rax 000000000000000d rbx 0000000000000001 rcx 00000000ffffffff rdx 0000000000000001
                                         rsi 000000001f4de142 rdi 000000001f4de0e2 rsp 00000000000c0004 rbp 000000001f4de07b
                                                                                                                            r8  0000000000000000 r9  0000000000000000 r10 0000000000000000 r11 0000000000000000
                                                                                  r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
                                        rip 000000001e2f3f77 rflags 00010002
                                                                            cs 0008 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type b l 0 g 1 avl 0)
                  ds 0003 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
                                                                                     es 0040 (00000000/ffffffff p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0)
                           ss 0010 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type 3 l 0 g 1 avl 0)
                                                                                              fs 0040 (00000000/ffffffff p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0)
                                    gs 0040 (00000000/ffffffff p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0)
                                                                                                       tr 004b (1f522206/00000067 p 1 dpl 3 db 0 s 0 type b l 0 g 0 avl 1)
                                             ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0)
                                                                                                                 gdt 1f522006/7f
   idt 1f9af000/7ff
                   cr0 11 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
                                                        emulation failure, check dmesg for details


More information about the SeaBIOS mailing list