From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Burns Subject: [PATCH] Fix kexec reservation Date: Sun, 18 May 2008 08:47:41 -0400 Message-ID: <4830256D.9080101@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010009050101060300020605" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------010009050101060300020605 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------010009050101060300020605 Content-Type: text/x-patch; name="xen-kexec-fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xen-kexec-fix.patch" --- 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); --------------010009050101060300020605 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------010009050101060300020605--