From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: BUG: unable to handle kernel paging request - balloon_init - xen-4.1.0 - 2.6.32.39 Date: Wed, 4 May 2011 15:35:50 -0400 Message-ID: <20110504193550.GB24996@dumpdata.com> References: <20110426031545.GB20779@dumpdata.com> <4DB6522A.9000304@sce.pridelands.org> <20110427200937.GA19853@dumpdata.com> <4DB8AAA6.4050808@sce.pridelands.org> <20110428183019.GA9852@dumpdata.com4DBA1EA4.5010004@sce.pridelands.org> <4ebbb8ac-77a5-4525-b69e-273c177c05e2@default> <4DBB44ED.2020701@sce.pridelands.org> <20110504155817.GA28022@dumpdata.com> <4DC1A6AC.3080305@sce.pridelands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <4DC1A6AC.3080305@sce.pridelands.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: Scott Garron Cc: Dan Magenheimer , xen-devel@lists.xensource.com, Jeremy Fitzhardinge List-Id: xen-devel@lists.xenproject.org On Wed, May 04, 2011 at 03:19:08PM -0400, Scott Garron wrote: > On 05/04/2011 11:58 AM, Konrad Rzeszutek Wilk wrote: > >It tells us that the pages have been indeed filled up with the right v= alues. > >But perhaps the values for the entries past the 4G are filled with zer= o, which > >might be the case as in (pte_pfn_to_mfn): >=20 > Just FYI, the machine has exactly 4G of RAM - 2 on one CPU, 2 on > the other (two socket motherboard, single core each). >=20 > >Anyhow, try this patch below. Should give us some ideas. Not compile t= ested. ^^^^^^^^^= ^=20 The __func__ can be just __FUNCTION__ and the reset can be ignored (I thi= nk) >=20 > >+ printk(KERN_INFO "%s: 0x%lx is INVALID for %llx\n", > >+ ___func__, pfn, (unsigned long)val); >=20 > The compile complained about __func__ not being declared and > exited with an error. >=20 > >+ printk(KERN_INFO "%s: %lx, %lx\n", __func__, u.ptr, u.val); >=20 > The compile also warned about %lx expecting 'long unsigned int', > but argument 3 and 4 are 'uint64_t'. >=20 > arch/x86/xen/mmu.c: In function =E2=80=98pte_pfn_to_mfn=E2=80=99: > arch/x86/xen/mmu.c:810:5: error: =E2=80=98___func__=E2=80=99 undeclared= (first use > in this function) > arch/x86/xen/mmu.c:810:5: note: each undeclared identifier is > reported only once for each function it appears in > arch/x86/xen/mmu.c: In function =E2=80=98xen_set_pud_hyper=E2=80=99: > arch/x86/xen/mmu.c:940:2: warning: format =E2=80=98%lx=E2=80=99 expects= type =E2=80=98long > unsigned int=E2=80=99, but argument 3 has type =E2=80=98uint64_t=E2=80=99 > arch/x86/xen/mmu.c:940:2: warning: format =E2=80=98%lx=E2=80=99 expects= type =E2=80=98long > unsigned int=E2=80=99, but argument 4 has type =E2=80=98uint64_t=E2=80=99 > make[2]: *** [arch/x86/xen/mmu.o] Error 1 > make[1]: *** [arch/x86/xen] Error 2 > make: *** [arch/x86] Error 2 > make: *** Waiting for unfinished jobs.... >=20 >=20 > --=20 > Scott Garron >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel