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

[Xen-devel] [PATCH] Fix kexec reservation


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Bill Burns <bburns@xxxxxxxxxx>
  • Date: Sun, 18 May 2008 08:47:41 -0400
  • Delivery-date: Sun, 18 May 2008 05:48:06 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Bug found and fixed by Dave Anderson.

The reservation of space for the kexec area in
kexec_reserve_area is incorrect. It specifies the
start address and size to reserve_e820_mem when
the args should be start and end.

This patch was made against the current 3.1-testing
tip. Bug also exists in unstable.

Signed-off-by: Bill Burns <bburns@xxxxxxxxxx>


--- a/xen/arch/x86/setup.c      2008-01-25 13:58:56.000000000 -0500
+++ b/xen/arch/x86/setup.c      2008-05-16 15:46:14.000000000 -0400
@@ -389,7 +389,7 @@ void __init kexec_reserve_area(struct e8
 
     is_reserved = 1;
 
-    if ( !reserve_e820_ram(e820, kdump_start, kdump_size) )
+    if ( !reserve_e820_ram(e820, kdump_start, kdump_start + kdump_size) )
     {
         printk("Kdump: DISABLED (failed to reserve %luMB (%lukB) at 0x%lx)"
                "\n", kdump_size >> 20, kdump_size >> 10, kdump_start);
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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