From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: Out of sync shadow core breaks Hurd Date: Sat, 15 Nov 2008 13:15:08 +0100 Message-ID: <20081115121508.GA18617@dmt.cnet> References: <20081112190037.GA4009@volta.aurel32.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: Aurelien Jarno Return-path: Received: from mx2.redhat.com ([66.187.237.31]:47868 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755267AbYKOMRK (ORCPT ); Sat, 15 Nov 2008 07:17:10 -0500 Content-Disposition: inline In-Reply-To: <20081112190037.GA4009@volta.aurel32.net> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Nov 12, 2008 at 08:00:37PM +0100, Aurelien Jarno wrote: > Hi, >=20 > Starting with kvm-76 (and including kvm-79), Hurd does not boot anymo= re > under KVM. The ext2fs translator issues a strange error message: >=20 > |=A0Hurd server bootstrap: ext2fs.static[device:hd0s3] execext2fs.sta= tic: /build/bui > |=A0ldd/hurd-20080607/build-tree/hurd/ext2fs/dir.c:494: dirscanblock:= Assertion `dp- > |=A0>dn->dirents[idx] =3D=3D -1 || dp->dn->dirents[idx] =3D=3D nentri= es' failed. - > |=A0>dn->dirents[idx] =3D=3D -1 || dp->dn->dirents[idx] =3D=3D nentri= es' failed. >=20 > Bisecting the problem, I have found that it comes from this patch: >=20 > |=A0641fb03992b20aa640781a245f6b7136f0b845e4 is first bad commit > | commit 641fb03992b20aa640781a245f6b7136f0b845e4 > |=A0Author: Marcelo Tosatti > |=A0Date: Tue Sep 23 13:18:39 2008 -0300 > |=A0 > |=A0 KVM: MMU: out of sync shadow core v2 > |=A0 > |=A0 Allow guest pagetables to go out of sync. > |=A0 > |=A0 Signed-off-by: Marcelo Tosatti > | Signed-off-by: Avi Kivity >=20 > The problem can be workarounded loading the kvm module with=20 > oos_shadow=3D0. >=20 > The easiest way to reproduce the problem is to download a ready to us= e > Hurd image=A0[1]. The error message from the ext2fs translator is not > exactly the same, but it still fails. Thanks Aurelien, I'll be looking at this next week.