Re: kernel bug in kvm_intel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2009-10-11 at 07:19 +0200, Avi Kivity wrote:
> On 10/09/2009 10:04 PM, Andrew Theurer wrote:
> > This is on latest master branch on kvm.git and qemu-kvm.git, running 
> > 12 Windows Server2008 VMs, and using oprofile.  I ran again without 
> > oprofile and did not get the BUG.  I am wondering if anyone else is 
> > seeing this.
> >
> > Thanks,
> >
> > -Andrew
> >
> >> Oct  9 11:55:13 virtvictory-eth0 kernel: BUG: unable to handle kernel 
> >> paging request at ffffffff9fe9a2b4
> >> Oct  9 11:55:13 virtvictory-eth0 kernel: IP: [<ffffffffa02e1af1>] 
> >> vmx_vcpu_run+0x26d/0x64f [kvm_intel]
> 
> Can you run this through objdump or gdb to see what source this 
> corresponds to?
> 

Somewhere here I think (?)

objdump -d
> 3ad9:       4c 8b b9 90 01 00 00    mov    0x190(%rcx),%r15
>     3ae0:       48 8b 89 20 01 00 00    mov    0x120(%rcx),%rcx
>     3ae7:       75 05                   jne    3aee <vmx_vcpu_run+0x26a>
>     3ae9:       0f 01 c2                vmlaunch
>     3aec:       eb 03                   jmp    3af1 <vmx_vcpu_run+0x26d>
>     3aee:       0f 01 c3                vmresume
>     3af1:       48 87 0c 24             xchg   %rcx,(%rsp)
>     3af5:       48 89 81 18 01 00 00    mov    %rax,0x118(%rcx)
>     3afc:       48 89 99 30 01 00 00    mov    %rbx,0x130(%rcx)
>     3b03:       ff 34 24                pushq  (%rsp)
>     3b06:       8f 81 20 01 00 00       popq   0x120(%rcx)
>     3b0c:       48 89 91 28 01 00 00    mov    %rdx,0x128(%rcx)


objdump -S
> /* Enter guest mode */
>                 "jne .Llaunched \n\t"
>                 __ex(ASM_VMX_VMLAUNCH) "\n\t"
>                 "jmp .Lkvm_vmx_return \n\t"
>                 ".Llaunched: " __ex(ASM_VMX_VMRESUME) "\n\t"
>                 ".Lkvm_vmx_return: "
>                 /* Save guest registers, load host registers, keep flags */
>                 "xchg %0,     (%%"R"sp) \n\t"
>                 "mov %%"R"ax, %c[rax](%0) \n\t"
>                 "mov %%"R"bx, %c[rbx](%0) \n\t"
>                 "push"Q" (%%"R"sp); pop"Q" %c[rcx](%0) \n\t"
>                 "mov %%"R"dx, %c[rdx](%0) \n\t"
>                 "mov %%"R"si, %c[rsi](%0) \n\t"


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux