From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aurelien Jarno Subject: Out of sync shadow core breaks Hurd Date: Wed, 12 Nov 2008 20:00:37 +0100 Message-ID: <20081112190037.GA4009@volta.aurel32.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Marcelo Tosatti To: kvm@vger.kernel.org Return-path: Received: from hall.aurel32.net ([88.191.82.174]:41501 "EHLO hall.aurel32.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753609AbYKLTAk (ORCPT ); Wed, 12 Nov 2008 14:00:40 -0500 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Hi, Starting with kvm-76 (and including kvm-79), Hurd does not boot anymore under KVM. The ext2fs translator issues a strange error message: |=A0Hurd server bootstrap: ext2fs.static[device:hd0s3] execext2fs.stati= c: /build/bui |=A0ldd/hurd-20080607/build-tree/hurd/ext2fs/dir.c:494: dirscanblock: A= ssertion `dp- |=A0>dn->dirents[idx] =3D=3D -1 || dp->dn->dirents[idx] =3D=3D nentries= ' failed. - |=A0>dn->dirents[idx] =3D=3D -1 || dp->dn->dirents[idx] =3D=3D nentries= ' failed. Bisecting the problem, I have found that it comes from this patch: |=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 The problem can be workarounded loading the kvm module with=20 oos_shadow=3D0. The easiest way to reproduce the problem is to download a ready to use Hurd image=A0[1]. The error message from the ext2fs translator is not exactly the same, but it still fails. Aurelien [1] http://ftp.debian-ports.org/debian-cd/hurd-i386/current/debian-hurd= -k16-qemu.img.tar.gz --=20 .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net