From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: Bug#707257: linux-image-3.8-1-686-pae: KVM crashes with "entry failed, hardware error 0x80000021" Date: Mon, 24 Jun 2013 14:47:30 +0300 Message-ID: <20130624114730.GF18508@redhat.com> References: <51B9DE49.3070606@sp.consulting.lsexperts.de> <51BD05E0.5000205@sp.consulting.lsexperts.de> <20130619134154.GN5832@redhat.com> <51C1BC34.6020303@sp.consulting.lsexperts.de> <20130619143820.GQ5832@redhat.com> <51C3357D.4020909@sp.consulting.lsexperts.de> <20130623075117.GN5832@redhat.com> <51C72792.90205@sp.consulting.lsexperts.de> <20130623173627.GA29980@redhat.com> <51C830DE.2010400@sp.consulting.lsexperts.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Paolo Bonzini , Ben Hutchings , kvm@vger.kernel.org, 707257@bugs.debian.org To: Stefan Pietsch Return-path: Received: from mx1.redhat.com ([209.132.183.28]:33346 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752611Ab3FXLro (ORCPT ); Mon, 24 Jun 2013 07:47:44 -0400 Content-Disposition: inline In-Reply-To: <51C830DE.2010400@sp.consulting.lsexperts.de> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Jun 24, 2013 at 01:43:26PM +0200, Stefan Pietsch wrote: > On 23.06.2013 19:36, Gleb Natapov wrote: > > On Sun, Jun 23, 2013 at 06:51:30PM +0200, Stefan Pietsch wrote: > >> On 23.06.2013 09:51, Gleb Natapov wrote: > >>> On Thu, Jun 20, 2013 at 07:01:49PM +0200, Stefan Pietsch wrote: > >>>>> Can you provide the output of 25391454e73e3156202264eb3c473825afe4bc94 > >>>>> and emulate_invalid_guest_state=0. Also run "x/20i $pc-20" in qemu > >>>>> monitor after the hang. > >>>> > >>>> > >>>> 25391454e73e3156202264eb3c473825afe4bc94 > >>>> emulate_invalid_guest_state=0 > >>>> > >>> Very interesting. Looks like somewhere during TPR access FS > >>> register gets corrupted. Can you remove /usr/share/kvm/kvmvapic.bin > >>> and try again? This will disable some code paths during TPR access and > >>> will narrow down the issue. > >> > >> > >> Doing this, qemu complains > >> "Could not open option rom 'kvmvapic.bin': No such file or directory", > >> but the virtual machine boots successful with > >> emulate_invalid_guest_state=0 and emulate_invalid_guest_state=1. > >> > > Hmm, I think we ate close. Can you try with upstream qemu? > > > >> kvmvapic.bin comes with Debian package "seabios 1.7.2-3". > > I already tried this with the Debian package qemu-kvm 1.5.0+dfsg-4. And it didn't work? Mind trying some debug kernel patches? I suspect your CPU does something no CPU I have do, so I want to verify it. -- Gleb.