From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: dom0 pvops crash Date: Tue, 2 Feb 2010 12:45:44 +0200 Message-ID: <20100202104544.GF2861@reaktio.net> References: <19293.50908.679135.358660@mariner.uk.xensource.com> <20100125175417.GS2861@reaktio.net> <4FA716B1526C7C4DB0375C6DADBC4EA342D83D9B40@LONPMAILBOX01.citrite.net> <1264443986.16526.86638.camel@zakaz.uk.xensource.com> <20100202102300.GE2861@reaktio.net> <1265106660.2965.22256.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <1265106660.2965.22256.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: Ian Pratt , "xen-devel@lists.xensource.com" , Ian Jackson , Keir Fraser , Jeremy Fitzhardinge List-Id: xen-devel@lists.xenproject.org On Tue, Feb 02, 2010 at 10:31:00AM +0000, Ian Campbell wrote: > On Tue, 2010-02-02 at 10:23 +0000, Pasi K=E4rkk=E4inen wrote: > > On Mon, Jan 25, 2010 at 06:26:26PM +0000, Ian Campbell wrote: > > > On Mon, 2010-01-25 at 18:18 +0000, Ian Pratt wrote: > > > > > Here's the hacky fix from last summer: > > > > > http://lists.xensource.com/archives/html/xen-devel/2009-06/msg0= 0519.html > > > > >=20 > > > > > On my testbox I can trigger that bug just by compiling a kernel= in dom0. > > > > >=20 > > > > > CONFIG_HIGHPTE=3Dn is stable for me, while CONFIG_HIGHPTE=3Dy m= ost probably > > > > > makes dom0 crash during a kernel compile. > > > > >=20 > > > > > (dom0 and Xen are 32bit PAE) > > > >=20 > > > > Even if it worked reliably, CONFIG_HIGHPTE performance would be > > > > miserable: It takes an operation that is always going to be slow = on > > > > any virtualized system (updating PTEs), and pounds the cr*p out o= f > > > > it... > > >=20 > > > Unfortunately distros tend to enable it on native and with pvops th= ere > > > is often no separate Xen kernel build where it can be disabled. > > >=20 > >=20 > > I just noticed the default Fedora 12 32bit PAE kernel has CONFIG_HIGH= PTE=3Dy. > > Running simple "make -j2 bzImage && make -j2 modules" in the guest cr= ashes the kernel. > >=20 > > Some kind of workaround should be made.. >=20 > Can you try the patch from > <1264613173.16526.97718.camel@zakaz.uk.xensource.com>? (earlier in this > thread). >=20 Yeah, sure. I can test that after a couple of days.. some travelling to d= o now. > It's a hack in the form given there but I'm planning to clean it up so > it would be useful to know if the basic concept is sound. >=20 Yup. -- Pasi