From: Bill Burns <bburns@redhat.com>
To: xen-devel <xen-devel@lists.xensource.com>
Cc: Bill Burns <bburns@redhat.com>
Subject: Fix kexec reservation
Date: Fri, 16 May 2008 15:56:56 -0400 [thread overview]
Message-ID: <482DE708.4070600@redhat.com> (raw)
[-- 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
reply other threads:[~2008-05-16 19:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=482DE708.4070600@redhat.com \
--to=bburns@redhat.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.