From: blallo@riseup.net Subject: Re: [Xen-users] xl info displays less ram than the total available Date: Thu, 6 Oct 2016 14:58:57 +0200 Message-ID: <20161006125857.7kavmrfe27yudsud@riseup.net> References: <20161005125229.ixcvhldn4ra62prn@riseup.net> <19d4b482-55b9-fa5e-2b5a-f659baa8582b@citrix.com> <20161005133233.5bupji5ihxmtm2xu@riseup.net> <57F523E10200007800115252@prv-mh.provo.novell.com> <20161006120657.GA11662@localhost.localdomain> <20161006125650.ww7lq7gpn7ovvqrr@supernova> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="fe5qqrh4fw7ts46w" Return-path: Content-Disposition: inline In-Reply-To: <20161006125650.ww7lq7gpn7ovvqrr@supernova> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Konrad Rzeszutek Wilk Cc: Andrew Cooper , daniel.kiper@oracle.com, George Dunlap , Jan Beulich , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org --fe5qqrh4fw7ts46w Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline blallo@riseup.net: >Konrad Rzeszutek Wilk: >>On Thu, Oct 06, 2016 at 12:59:13PM +0200, Blallo wrote: >>>I'm using grub2. After the lunch break I can post the full grub menu entry and the exact version of grub2. >> >>Cc-ing Daniel (who is now an GRUB2 maintainer). >> >>Is this by chance an EFI box?And you are booting using EFI GRUB2? >>> >>> >>>On 6 October 2016 12:55:16 CEST, George Dunlap wrote: >>>>On Wed, Oct 5, 2016 at 3:01 PM, Jan Beulich wrote: >>>>>>>> On 05.10.16 at 15:32, wrote: >>>>>> Here it comes xl dmesg with Xen booted with e820-verbose=true >>>>> >>>>> I have to admit that the only way I can see >>>>> >>>>> (XEN) Initial Xen-e820 RAM map: >>>>> (XEN) 0000000000000000 - 000000000009ec00 (usable) >>>>> (XEN) 000000000009ec00 - 00000000000a0000 (reserved) >>>>> (XEN) 00000000000e0000 - 0000000000100000 (reserved) >>>>> (XEN) 0000000000100000 - 0000000079cbe000 (usable) >>>>> (XEN) 0000000079cbe000 - 00000000bcd2f000 (reserved) >>>>> (XEN) 00000000bcd2f000 - 00000000bce7f000 (ACPI NVS) >>>>> (XEN) 00000000bce7f000 - 00000000bceff000 (ACPI data) >>>>> (XEN) 00000000bceff000 - 00000000bfa00000 (reserved) >>>>> (XEN) 00000000f8000000 - 00000000fc000000 (reserved) >>>>> (XEN) 00000000fec00000 - 00000000fec01000 (reserved) >>>>> (XEN) 00000000fed08000 - 00000000fed09000 (reserved) >>>>> (XEN) 00000000fed10000 - 00000000fed18000 (reserved) >>>>> (XEN) 00000000fed18000 - 00000000fed19000 (reserved) >>>>> (XEN) 00000000fed19000 - 00000000fed1a000 (reserved) >>>>> (XEN) 00000000fed1c000 - 00000000fed20000 (reserved) >>>>> (XEN) 00000000fee00000 - 00000000fee01000 (reserved) >>>>> (XEN) 00000000ffc00000 - 0000000100000000 (reserved) >>>>> (XEN) 0000000100000000 - 000000043e600000 (reserved) >>>>> >>>>> having all those reserved regions above 2Gb is for the boot >>>>> loader to behave oddly. Since Linux and Xen use different paths >>>>> in the boot loader, one can't really draw conclusions from Linux >>>>> getting to see a better memory map. >>>> >>>>Do you have any suggestions for how to check whether it really is the >>>>bootloader? >>>> >>>>Leonardo, are you using grub2 or a different bootloader? > > >Hi everybody, >first of all, thanks for all the effort you're putting in this issue of >mine. Secondly, I apologize for the top quoting of my last email: I was >on my mobile. > >Konrad, yes, I boot using efi grub2. The version is > >% grub-install -V >grub-install (GRUB) 2.02~beta3 > >as obtained from the Arch repos. > >I attach the custom /etc/grub.d/ script I use to generate the grub menu >entry for Xen booting. It is largely taken by the original one I use to >boot into the ordinary Arch kernel. > > Sorry, forgot to attach the file :) Here it is. -- Leonardo --fe5qqrh4fw7ts46w Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=43_custom_xen #! /bin/sh set -e cat <