[PATCH 0/2] geneate correct PAGE_OFFSET for vmcore

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

 



This two patches corrects PAGE_OFFSET for generated vmcore.

Original code uses fix PAGE_OFFSET: 0xc0000000. For kernel with
CONFIG_VMSPLIT_1G/2G, generated /proc/vmcore is incorrect. See
discussion:
  http://lists.infradead.org/pipermail/kexec/2014-May/011844.html

The first patch detects page_offset dynamically according to
/proc/kallsyms, the second patch intorduces a --page-offset option for
systems without KALLSYMS or /proc

Wang Nan (2):
  kexec-tools: detect page_offset dynamically
  kexec-tools: add --page-offset option for ARM

 kexec/arch/arm/crashdump-arm.c        | 64 ++++++++++++++++++++++++++++++++++-
 kexec/arch/arm/crashdump-arm.h        |  4 ++-
 kexec/arch/arm/include/arch/options.h |  4 ++-
 kexec/arch/arm/kexec-zImage-arm.c     |  7 ++++
 4 files changed, 76 insertions(+), 3 deletions(-)

-- 
1.8.4




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux