All of lore.kernel.org
 help / color / mirror / Atom feed
* Fix kexec reservation
@ 2008-05-16 19:56 Bill Burns
  0 siblings, 0 replies; only message in thread
From: Bill Burns @ 2008-05-16 19:56 UTC (permalink / raw)
  To: xen-devel; +Cc: Bill Burns

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]


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


[-- Attachment #2: xen-kexec-fix.patch --]
[-- Type: text/x-patch, Size: 505 bytes --]

--- 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);

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-16 19:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-16 19:56 Fix kexec reservation Bill Burns

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.