From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Burns Subject: Fix kexec reservation Date: Fri, 16 May 2008 15:56:56 -0400 Message-ID: <482DE708.4070600@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000801040202070600030205" 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 Cc: Bill Burns List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------000801040202070600030205 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. Bill --------------000801040202070600030205 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); --------------000801040202070600030205 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 --------------000801040202070600030205--