From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: 2.6.29-rc7 pv_ops dom0 BUG / unable to handle kernel paging request Date: Thu, 12 Mar 2009 10:32:42 +0200 Message-ID: <20090312083242.GM15052@edu.joroinen.fi> References: <20090307175856.GL15052@edu.joroinen.fi> <49B3610C.2090101@goop.org> <20090308115400.GR15052@edu.joroinen.fi> <20090311205250.GJ15052@edu.joroinen.fi> <20090311212622.GK15052@edu.joroinen.fi> <49B84BE8.4020103@goop.org> 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: <49B84BE8.4020103@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Mar 11, 2009 at 04:40:24PM -0700, Jeremy Fitzhardinge wrote: > Pasi K=E4rkk=E4inen wrote: > >On Wed, Mar 11, 2009 at 10:52:50PM +0200, Pasi K=E4rkk=E4inen wrote: > > =20 > >>On Sun, Mar 08, 2009 at 01:54:01PM +0200, Pasi K=E4rkk=E4inen wrote: > >> =20 > >>>On Sat, Mar 07, 2009 at 10:09:16PM -0800, Jeremy Fitzhardinge wrote: > >>> =20 > >>>>Pasi K=E4rkk=E4inen wrote: > >>>> =20 > >>>>>Hello! > >>>>> > >>>>>Latest git tree (updated some hours ago) boots up fine for me, xen= d=20 > >>>>>can be started etc, but some time after starting kernel compilatio= n I=20 > >>>>>get the following BUG: > >>>>> > >>>>>http://pasik.reaktio.net/xen/pv_ops-dom0-debug/pv_ops-dom0-bootlog= -19-xen331-linux-2.6.29-rc7-bug.txt > >>>>> > >>>>>(XEN) mm.c:2006:d0 Bad type (saw 28000001 !=3D exp e0000000) for m= fn=20 > >>>>>436a3 (pfn 3d0a3) > >>>>>(XEN) mm.c:707:d0 Error getting mfn 436a3 (pfn 3d0a3) from L1 entr= y=20 > >>>>>00000000436a3063 for dom0 > >>>>>(XEN) mm.c:3640:d0 ptwr_emulate: could not get_page_from_l1e() > >>>>>BUG: unable to handle kernel paging request at c01cbd58 > >>>>>IP: [] xen_set_pte+0x8c/0x96 > >>>>>=20 > >>>>> =20 > >>>>Well, that's bad news. It was trying to map a highmem pte page whi= ch=20 > >>>>didn't have the Pinned bit set on its page, but Xen thought it was = a=20 > >>>>pinned pte page. Not sure how it could get into that state, but it= s=20 > >>>>indicative of general memory corruption. > >>>> > >>>>What was going on at the time? Was dom0 busy? Were you running so= me=20 > >>>>domUs? > >>>> > >>>> =20 > >>>At that time I was compiling a kernel on dom0.. so dom0 was busy. > >>> > >>>No other domains running.=20 > >>> > >>> =20 > >>Same thing happened again.. with the latest tree (as of today). > >> > >>Again I was compiling a kernel in dom0, so dom0 was busy. No other do= mains > >>running.=20 > >> > >> =20 > > > >The exact same kernel booted on baremetal without Xen works OK, and do= esn't > >BUG during kernel compilation.=20 > > > > =20 >=20 > That's good to know as a baseline, though the bug is Xen refusing to do= =20 > a pte update, so I'd be surprised if it happened with Xen in the pictur= e ;) >=20 > What happens if you disable CONFIG_HIGHPTE? >=20 Ok. I'll try that later.. I'll be away for 1,5 weeks (going to a vacation= ),=20 so can't try right now.=20 One difference just came to my mind.. when booted on baremetal, whole 2G = of ram is available.. when booted as dom0 I've limited dom0 memory to 1G.=20 I guess I should try with the same amount of memory available for both dom0 and baremetal. -- Pasi