[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-ia64-devel] crash while initializing balloon driver


  • To: "Alex Williamson" <alex.williamson@xxxxxx>
  • From: "Zhang, Jingke" <jingke.zhang@xxxxxxxxx>
  • Date: Fri, 5 Jan 2007 14:05:10 +0800
  • Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 04 Jan 2007 22:05:23 -0800
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AccwiZd+/egZBGywTHmGLhUUrAE8BwABbGTA
  • Thread-topic: [Xen-ia64-devel] crash while initializing balloon driver

Hi Alex,
    I have tested your patch on Cset#13122 (including 13117), it can
boot dom0. Great finding!

Thanks,
Zhangjingke

>-----Original Message-----
>From: Alex Williamson [mailto:alex.williamson@xxxxxx]
>Sent: Friday, January 05, 2007 1:23 PM
>To: Zhang, Jingke
>Cc: xen-ia64-devel
>Subject: RE: [Xen-ia64-devel] crash while initializing balloon driver
>
>On Fri, 2007-01-05 at 12:59 +0800, Zhang, Jingke wrote:
>> Hi Alex,
>>     As you said, I use " hg export 13117 | patch -p1 -R " in the
>> Cset#13122. Without 13117's patch, dom0 can boot up (Mem24M).
>
>  Great.  I think the proper fix is something like this:
>
>diff -r 0f571adbd700 xen/arch/ia64/xen/dom_fw.c
>--- a/xen/arch/ia64/xen/dom_fw.c       Thu Jan 04 16:25:14 2007 -0700
>+++ b/xen/arch/ia64/xen/dom_fw.c       Thu Jan 04 22:15:39 2007 -0700
>@@ -549,7 +549,8 @@ complete_dom0_memmap(struct domain *d,
>                       flags = ASSIGN_writable;        /* dummy - zero
*/
>                       if (md->attribute & EFI_MEMORY_WP)
>                               flags |= ASSIGN_readonly;
>-                      if (md->attribute & EFI_MEMORY_UC)
>+                      if (md->attribute & EFI_MEMORY_UC &&
>+                          !(md->attribute & EFI_MEMORY_WB))
>                               flags |= ASSIGN_nocache;
>
>                       assign_domain_mach_page(d, start, size, flags);
>
>Could you please test that this fixes the problem?  You'll need to need
>to undo reverting 13117 before applying this patch (hg revert).
Thanks,
>
>       Alex
>
>--
>Alex Williamson                             HP Open Source & Linux Org.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.