WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] [PATCH][RFC][TAKE4] the P2M/VP patches

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH][RFC][TAKE4] the P2M/VP patches
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Sat, 8 Apr 2006 13:41:06 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 07 Apr 2006 21:41:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1144429613.7293.12.camel@localhost>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060407041627.GA12419%yamahata@xxxxxxxxxxxxx> <1144429613.7293.12.camel@localhost>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
Hi Alex.

On Fri, Apr 07, 2006 at 11:06:53AM -0600, Alex Williamson wrote:

>    Great work!  I'm happy to take on whatever patch load is necessary to
> help faciliate this effort.  I'll get the header file patches into the
> tree.  It will be important for all of us to help test and review these
> patches over the next few weeks to make this change happen.

I'm glad to hear that.
Then I'll start to pushing merging patches soon.
Perhaps from the next monday or tuesday.


>    I tried this patch set on xen-ia64-unstable tip (cset 9493), there
> were a couple trivial rejects, but it built properly.  However, when I
> try it on an HP zx6000 system, it fails with the output below.  I've
> deconfigured the 2nd CPU and reduced the system memory to 1GB to avoid
> the strange memory layout of zx1 systems.  Any suggestions?  Thanks,

from the log message
> (XEN) Cannot handle page request order 0!

This message means that the xen heap memory is used up and
alloc_xenheap_pages() failed.
However you wisely limited total memory to 1GB,
thus page frame table size is 2MB and mpt_table size is 512KB.
So it's the key to know who used up the xen heap.
I guess pgtable_quicklist_alloc() might be a culprit.

Could you try again with the following work around patch?
This patch may break something, but this patch may help
to track down this issue.

--- xen-ia64-unstable.hg/xen/arch/ia64/xen/xenmisc.c    2006-04-06 
22:25:41.000000000 +0900
+++ xen-ia64-unstable.hg/xen/arch/ia64/xen/xenmisc.c_workaround 2006-04-08 
13:23:05.000000000 +0900
@@ -161,7 +161,8 @@ void __free_pages(struct page_info *page
 void *pgtable_quicklist_alloc(void)
 {
     void *p;
-    p = alloc_xenheap_pages(0);
+    //p = alloc_xenheap_pages(0);
+       p = alloc_domheap_pages(NULL);
     if (p) 
         clear_page(p);
     return p;
 
-- 
yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel