From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: 2.6.38 PV Guest boot failure - error while pinning mfn.. Date: Mon, 21 Mar 2011 07:30:02 -0400 Message-ID: <20110321113002.GA4429@dumpdata.com> References: <20110320200543.GA3447@dumpdata.com> <20110320204512.GF3948@dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Shriram Rajagopalan Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Sun, Mar 20, 2011 at 02:19:43PM -0700, Shriram Rajagopalan wrote: > On Sun, Mar 20, 2011 at 2:05 PM, Shriram Rajagopalan wrote: >=20 > > On Sun, Mar 20, 2011 at 1:45 PM, Konrad Rzeszutek Wilk < > > konrad.wilk@oracle.com> wrote: > > > >> On Sun, Mar 20, 2011 at 04:05:43PM -0400, Konrad Rzeszutek Wilk wrot= e: > >> > On Sat, Mar 19, 2011 at 06:22:17PM -0700, Shriram Rajagopalan wrot= e: > >> > > The kernel is built from konrad's tree, devel/next-2.6.39 > >> > > commit:f4ddaaf4338999227b3f724615d8aecbe88d3f04 > >> > >> Ok. So you got Stefano's latest goodies: > >> > >> * devel/bootup-fixes.v3: > >> watchdog, SP5100: Check if firmware has set correct value in tc= obase. > >> xen: update mask_rw_pte after kernel page tables init changes > >> xen: set max_pfn_mapped to the last pfn mapped > >> x86: Cleanup highmap after brk is concluded > >> > >> > > > >> > > 64 bit PV guest, 64 bit dom0, xen 4.1.0-rc7-pre > >> > >> Is the 64-bit dom0 kernel =3D=3D 64-bit domu kernel? > >> > > no. dom0 is 2.6.32.27 (from xenbits pvops tree). > > > >> > >> > > I have not been able to boot a pv domU, with the above kernel. > >> > > >> > You might need this git commit: > >> > 31fd38842ab07b95440f24c6180d9a2c14b35111 > >> > > >> > tc/cmos: Check if ACPI is disabled, and if so don't attempt > >> > > >> > If you pull my tree, you should be able to cherrypick. > >> > >> Did that. No use. Still same error. > > FYI, this throws a warning > > linux-2.6/drivers/rtc/rtc-cmos.c:1000: warning: =E2=80=98return=E2=80= =99 with no value, in > > function returning non-void > > > > > >> Also do 'earlyprintk=3Dxenboot' in your PV guest and see what it te= lls you > >> (if anything). > >> > >> No extra messages in xen's log. > > > > Just for the heck of it, I copied out an .config from a pvops domU (2= .6.32) >=20 > and tweaked it a bit - basically disabling backend drivers, rtc, > hpet_emulate_rtc. >=20 > I got this in console (xm create -c) > Started domain ubuntu-pv64 (id=3D5) > (early) [ 0.000000] Initializing cgroup subsys cpuset > (early) [ 0.000000] Initializing cgroup subsys cpu > (early) [ 0.000000] Linux version 2.6.38-xenu (root@athos) (gcc vers= ion > 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #28 SMP Sun Mar 20 14:05:47 PDT 2011 > (early) [ 0.000000] Command line: root=3D/dev/xvda1 ro earlyprintk=3D= xenboot > console=3Dhvc0 3 > (early) [ 0.000000] ACPI in unprivileged domain disabled > (early) [ 0.000000] released 0 pages of unused memory > (early) [ 0.000000] Set 0 page(s) to 1-1 mapping. > (early) [ 0.000000] BIOS-provided physical RAM map: > (early) [ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usabl= e) > (early) [ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reser= ved) > (early) [ 0.000000] Xen: 0000000000100000 - 000000007d800000 (usabl= e) > (early) [ 0.000000] bootconsole [xenboot0] enabled > (early) [ 0.000000] NX (Execute Disable) protection: active > (early) [ 0.000000] DMI not present or invalid. > (early) [ 0.000000] No AGP bridge found > (early) [ 0.000000] last_pfn =3D 0x7d800 max_arch_pfn =3D 0x40000000= 0 > (early) [ 0.000000] init_memory_mapping: > 0000000000000000-000000007d800000 >=20 > The errors on xen's side are still same. MFN mapping error as stated > earlier. And you are using 'xm' or 'xl'? Try the either one just to make sure it i= s not something silly there.