[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] Crash KVM internal error
From: |
Peter Kasza |
Subject: |
Re: [Qemu-stable] Crash KVM internal error |
Date: |
Wed, 21 Oct 2015 18:19:58 +0200 |
User-agent: |
Mutt/1.5.23.1 (2014-03-12) |
On Wed, Oct 21, 2015 at 11:02:12AM -0500, Michael Roth wrote:
> Quoting Peter Kasza (2015-10-06 11:23:55)
> > Hi everyone,
> >
> > I've recently had a system update and I'm currently running qemu
> > v2.4.0 on Linux 4.2.2. I'm using an Intel i7, which has 4 cores and
> > whenever I try to start a guest with kvm enabled and the smp cores set
> > to 4 I get the following crash:
> >
> > > KVM internal error. Suberror: 1
> > > emulation failure
> > > EAX=00000023 EBX=00000002 ECX=00000000 EDX=00000600
> > > ESI=00000000 EDI=00001fc2 EBP=00000000 ESP=00000000
> > > EIP=00001000 EFL=00010002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
> > > ES =0000 00000000 0000ffff 00009300 DPL=0 DS16 [-WA]
> > > CS =9f00 0009f000 0000ffff 00009b00 DPL=0 CS16 [-RA]
> > > SS =0000 00000000 0000ffff 00009300 DPL=0 DS16 [-WA]
> > > DS =9f00 0009f000 0000ffff 00009300 DPL=0 DS16 [-WA]
> > > FS =0000 00000000 0000ffff 00009300 DPL=0 DS16 [-WA]
> > > GS =0000 00000000 0000ffff 00009300 DPL=0 DS16 [-WA]
> > > LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT
> > > TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy
> > > GDT= bff10f18 0000003f
> > > IDT= 00000000 0000ffff
> > > CR0=00000033 CR2=00000000 CR3=00000000 CR4=00000000
> > > DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000
> > > DR3=0000000000000000
> > > DR6=00000000ffff0ff0 DR7=0000000000000400
> > > EFER=0000000000000000
> > > Code=af af af af af af af af af af af af af af af af af af af af <00> 00
> > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > > 00 00 00 00
> >
> > If I set cpus to a lower number, the guest starts fine. The guest used
> > to work with 4 cpus before the update.
> >
> > I'm using the following command to start the guest:
> > > /usr/bin/qemu-system-x86_64 \
> > > -enable-kvm -m 4096 -cpu host,kvm=off \
> > > -smp cpus=4,sockets=1,cores=4,threads=2 \
>
> cpus should be equal to (sockets * cores * threads). Try it with
> cpus=8,sockets=1,cores=4,threads=2 or cpus=4,sockets=1,cores=4,threads=1
>
> Also, address@hidden is the proper list for general queries. This list
> is for maintainence of past/stable releases.
>
> > > -mem-path /dev/hugepages \
> > > -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/ovmf_x64.bin
> >
> > Is this a kernel or a qemu issue? Did anyone experiance the same error?
> >
> > Any help is appreciated.
> >
> > --
> > Best Regards,
> > Peter Kasza
> >
> > http://www.itinsight.hu
> > address@hidden
> >
> > () ascii ribbon campaign - against html e-mail
> > /\ www.asciiribbon.org - against proprietary attachments
> >
>
Changing the parameters don't help at all. This may actually be an
error in the tianocore uefi firmware or the linux kernel as reported
here: https://github.com/tianocore/edk2/issues/21
Thanks!
--
Best Regards,
Peter Kasza
http://www.itinsight.hu
address@hidden
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments