From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Re: [PATCH v5 6/9] libxc: create unmapped initrd in domain builder if supported Date: Wed, 25 Nov 2015 11:24:07 -0500 Message-ID: <5655E0A7.4020507@oracle.com> References: <1447335816-31772-1-git-send-email-jgross@suse.com> <1447335816-31772-7-git-send-email-jgross@suse.com> <5655DDDC.5000005@oracle.com> <20151125161832.GF15747@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20151125161832.GF15747@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: Juergen Gross , Ian.Campbell@citrix.com, stefano.stabellini@eu.citrix.com, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org, roger.pau@citrix.com List-Id: xen-devel@lists.xenproject.org On 11/25/2015 11:18 AM, Wei Liu wrote: > On Wed, Nov 25, 2015 at 11:12:12AM -0500, Boris Ostrovsky wrote: >> On 11/12/2015 08:43 AM, Juergen Gross wrote: >>> In case the kernel of a new pv-domU indicates it is supporting an >>> unmapped initrd, don't waste precious virtual space for the initrd, >>> but allocate only guest physical memory for it. >> This patch breaks 32-bit pygrub. >> > This particular patch? > > We discovered a bug in mini-os that caused 32-bit pygrub to break withi > this series. It's now fixed in mini-os upstream. Check Config.mk for > mini-os commit that fixes the bug. Yes, I was waiting for that patch because somehow I thought it was going to fix this. And it was unrelated. > >> I am not 100% sure yet but it may be that only 64-bit guests are affected. >> >> With RHEL5 I get >> initrd extends beyond end of memory (0x780080eda000 > 0x40000000) >> > But this is different from what we found. We need more information. > > My wild guess is RHEL5 advertise it supports unmapped initrd but it was > buggy in some way. Maybe. Unfortunately RHEL5 is the only guest I have available to me right now that I can test with pygrub on 32 bit. I have others and they also fail but I am not convinced they fail because of this issue. I was going to look some more at this but I am not sure how much I will be able to do before next Monday (it's Thanksgiving 4-day weekend in US) so I figured I'd post this now. -boris