* [Patch] Kexec-tools: Fix physcal address value in vmcore ELF
@ 2006-09-21 5:01 Zou Nan hai
0 siblings, 0 replies; only message in thread
From: Zou Nan hai @ 2006-09-21 5:01 UTC (permalink / raw)
To: linux-ia64
I used fixed 64M as physical offset in vmcore ELF segment header.
This gives trouble to crash utility to analyze vmcore on platform that
load kernel to a different address.
This patch will fix it.
Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
diff -Nraup kexec-tools-1.101/kexec/arch/ia64/crashdump-ia64.c kexec-tools-1.101-fix/kexec/arch/ia64/crashdump-ia64.c
--- kexec-tools-1.101/kexec/arch/ia64/crashdump-ia64.c 2006-09-20 15:29:29.000000000 +0800
+++ kexec-tools-1.101-fix/kexec/arch/ia64/crashdump-ia64.c 2006-09-20 15:32:27.000000000 +0800
@@ -28,7 +28,7 @@
#include "crashdump-ia64.h"
int memory_ranges = 0;
-#define LOAD_OFFSET (0xa000000000000000UL + 0x100000000UL - (1UL<<26))
+#define LOAD_OFFSET (0xa000000000000000UL + 0x100000000UL - kernel_code_start)
#define MAX_LINE 160
/* Stores a sorted list of RAM memory ranges for which to create elf headers.
* A separate program header is created for backup region */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-09-21 5:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-21 5:01 [Patch] Kexec-tools: Fix physcal address value in vmcore ELF Zou Nan hai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox