From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Garron Subject: Re: BUG: unable to handle kernel paging request - balloon_init - xen-4.1.0 - 2.6.32.39 Date: Wed, 04 May 2011 15:19:08 -0400 Message-ID: <4DC1A6AC.3080305@sce.pridelands.org> References: <4DB60C04.6050802@sce.pridelands.org> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20110504155817.GA28022@dumpdata.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: Konrad Rzeszutek Wilk Cc: Dan Magenheimer , xen-devel@lists.xensource.com, Jeremy Fitzhardinge List-Id: xen-devel@lists.xenproject.org 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 va= lues. > But perhaps the values for the entries past the 4G are filled with zero= , which > might be the case as in (pte_pfn_to_mfn): Just FYI, the machine has exactly 4G of RAM - 2 on one CPU, 2 on the other (two socket motherboard, single core each). > Anyhow, try this patch below. Should give us some ideas. Not compile te= sted. > + printk(KERN_INFO "%s: 0x%lx is INVALID for %llx\n", > + ___func__, pfn, (unsigned long)val); The compile complained about __func__ not being declared and exited with an error. > + printk(KERN_INFO "%s: %lx, %lx\n", __func__, u.ptr, u.val); The compile also warned about %lx expecting 'long unsigned int', but argument 3 and 4 are 'uint64_t'. arch/x86/xen/mmu.c: In function =91pte_pfn_to_mfn=92: arch/x86/xen/mmu.c:810:5: error: =91___func__=92 undeclared (first use in= =20 this function) arch/x86/xen/mmu.c:810:5: note: each undeclared identifier is reported=20 only once for each function it appears in arch/x86/xen/mmu.c: In function =91xen_set_pud_hyper=92: arch/x86/xen/mmu.c:940:2: warning: format =91%lx=92 expects type =91long=20 unsigned int=92, but argument 3 has type =91uint64_t=92 arch/x86/xen/mmu.c:940:2: warning: format =91%lx=92 expects type =91long=20 unsigned int=92, but argument 4 has type =91uint64_t=92 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 Scott Garron