Re: [Qemu-devel] E5-2620v2 - emulation stop error

Andrey Korolyov
2015-03-26T17:09:15Z

On Thu, Mar 26, 2015 at 8:06 PM, Kevin O'Connor <kevin@koconnor.net> wrote:
> On Thu, Mar 26, 2015 at 07:48:09PM +0300, Andrey Korolyov wrote:
>> On Thu, Mar 26, 2015 at 7:36 PM, Kevin O'Connor <kevin@koconnor.net> wrote:
>> > I'm not sure if the crash always happens at the "int $0x19" location
>> > though. Andrey, does the crash always happen with "EIP=d331" and/or
>> > with "Code=... <cd> 19"?
>>
>> There are also rare occurences for d3f9 (in the middle of ep) and d334
>> ep (less than one tenth of events for both). I`ll post a sample event
>> capture with and without Radim`s proposed patch maybe today or
>> tomorrow.
>>
>> /root/seabios-1.8.1/src/romlayout.S:289
>> d3eb: 66 50 pushl %eax
>> d3ed: 66 51 pushl %ecx
>> d3ef: 66 52 pushl %edx
>> d3f1: 66 53 pushl %ebx
>> d3f3: 66 55 pushl %ebp
>> d3f5: 66 56 pushl %esi
>> d3f7: 66 57 pushl %edi
>> d3f9: 06 pushw %es
>> d3fa: 1e pushw %ds
>>
>> 0000d334 <irq_trampoline_0x1c>:
>> irq_trampoline_0x1c():
>> /root/seabios-1.8.1/src/romlayout.S:196
>> d334: cd 1c int $0x1c
>> d336: cb lretw
>
> Thanks. The d334 looks very similar to the d331 report (code=<cd>
> 1c). That path could happen during post (big real mode) or
> immiediately after post (real mode).
>
> The d3f9 report does not look like the others - interrupts are
> disabled there. If you still have the error logs, can you post the
> full kvm crash report for d3f9?
>

Here you go:

KVM internal error. Suberror: 2
extra data[0]: 800000ef
extra data[1]: 80000b0d
EAX=00000003 EBX=00000000 ECX=00000000 EDX=00000000
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00006cd4
EIP=0000d3f9 EFL=00010202 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0000 00000000 0000ffff 00009300
CS =f000 000f0000 0000ffff 00009b00
SS =0000 00000000 0000ffff 00009300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT= 000f6e98 00000037
IDT= 00000000 000003ff
CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000
DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000000
Code=48 18 67 8c 00 8c d1 8e d9 66 5a 66 58 66 5d 66 c3 cd 02 cb <cd>
10 cb cd 13 cb cd 15 cb cd 16 cb cd 18 cb cd 19 cb cd 1c cb fa fc 66
b8 00 e0 00 00 8e