From: mukesh rathor Subject: Re: dom0 boot failure with 256G Date: Thu, 5 Jun 2008 18:01:48 +0000 (UTC) Message-ID: References: <48474A61.3050903@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Ian Pratt eu.citrix.com> writes: > > > I've been intensely debugging a dom0 crash right at boot in > > pagetable_init() with 256G. We are running 64bit hyp with 32bit > > dom0. > > This on xen 3.1.3, which seems to have fixes from changeset 16548. > > 256GB is more than a 32b dom0 can handle. Presumably it works if you set > dom0_mem= to something smaller? > > We should probably make the clipping of dom0 memory to something like > 64GB automatic. > > Ian > > .......... My apologies, I forgot to mention dom0_mem is set to : dom0_mem=569M (XEN) Command line: console=com2,ttyS0 com2=115200,8n1 earlykdb dom0_mem=569M mem=256G Things are fine with mem=128G. I've not tried 192G or other number. I just started debugging..... I'll try with : > d->arch.physaddr_bitsize = > > fls((1UL << 32) - HYPERVISOR_COMPAT_VIRT_START(d)) - 1 > > + (PAGE_SIZE - 2); > > which is set to 0x1019, totally baffling me. I'd expect it to be 32, > > 36, or 64???????? >PAGE_SIZE should be PAGE_SHIFT. If you fix that then you may discover ... thanks mukesh