[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [LINUX] 32on64 kdump: Allow a 32 bit kernel to read a 64 bit dump.



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
# Date 1173891510 0
# Node ID e6c31944916bd32611e49d298ade77226b50a3d2
# Parent  a1daade929520793f46feaaae9fd564271324eeb
[LINUX] 32on64 kdump: Allow a 32 bit kernel to read a 64 bit dump.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
---
 patches/linux-2.6.18/crash-kernel-32-on-64.patch |    9 +++++++++
 patches/linux-2.6.18/series                      |    1 +
 2 files changed, 10 insertions(+)

diff -r a1daade92952 -r e6c31944916b 
patches/linux-2.6.18/crash-kernel-32-on-64.patch
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/linux-2.6.18/crash-kernel-32-on-64.patch  Wed Mar 14 16:58:30 
2007 +0000
@@ -0,0 +1,11 @@
+--- pristine-linux-2.6.18/include/asm-i386/elf.h       2006-09-20 
04:42:06.000000000 +0100
++++ linux-2.6.18-xen/include/asm-i386/elf.h    2007-03-14 16:42:30.000000000 
+0000
+@@ -36,7 +36,7 @@
+  * This is used to ensure we don't load something for the wrong architecture.
+  */
+ #define elf_check_arch(x) \
+-      (((x)->e_machine == EM_386) || ((x)->e_machine == EM_486))
++      (((x)->e_machine == EM_386) || ((x)->e_machine == EM_486) || 
((x)->e_machine == EM_X86_64))
+ 
+ /*
+  * These are used to set parameters in the core dumps.
diff -r a1daade92952 -r e6c31944916b patches/linux-2.6.18/series
--- a/patches/linux-2.6.18/series       Wed Mar 14 16:39:32 2007 +0000
+++ b/patches/linux-2.6.18/series       Wed Mar 14 16:58:30 2007 +0000
@@ -19,3 +19,4 @@ fixaddr-top.patch
 fixaddr-top.patch
 git-c06cb8b1c4d25e5b4d7a2d7c2462619de1e0dbc4.patch
 softlockup-no-idle-hz.patch
+crash-kernel-32-on-64.patch

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.