Commit 952b6492 authored by Vivek Goyal's avatar Vivek Goyal Committed by Linus Torvalds

[PATCH] Kdump: Documentation Update

There are minor changes in command line options in kexec-tools for kdump.
This patch updates the documentation to reflect those changes.
Signed-off-by: default avatarVivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9d01a82e
...@@ -39,8 +39,7 @@ SETUP ...@@ -39,8 +39,7 @@ SETUP
and apply http://lse.sourceforge.net/kdump/patches/kexec-tools-1.101-kdump.patch and apply http://lse.sourceforge.net/kdump/patches/kexec-tools-1.101-kdump.patch
and after that build the source. and after that build the source.
2) Download and build the appropriate (latest) kexec/kdump (-mm) kernel 2) Download and build the appropriate (2.6.13-rc1 onwards) vanilla kernel.
patchset and apply it to the vanilla kernel tree.
Two kernels need to be built in order to get this feature working. Two kernels need to be built in order to get this feature working.
...@@ -84,15 +83,16 @@ SETUP ...@@ -84,15 +83,16 @@ SETUP
4) Load the second kernel to be booted using: 4) Load the second kernel to be booted using:
kexec -p <second-kernel> --crash-dump --args-linux --append="root=<root-dev> kexec -p <second-kernel> --args-linux --elf32-core-headers
init 1 irqpoll" --append="root=<root-dev> init 1 irqpoll"
Note: i) <second-kernel> has to be a vmlinux image. bzImage will not work, Note: i) <second-kernel> has to be a vmlinux image. bzImage will not work,
as of now. as of now.
ii) By default ELF headers are stored in ELF32 format (for i386). This ii) By default ELF headers are stored in ELF64 format. Option
is sufficient to represent the physical memory up to 4GB. To store --elf32-core-headers forces generation of ELF32 headers. gdb can
headers in ELF64 format, specifiy "--elf64-core-headers" on the not open ELF64 headers on 32 bit systems. So creating ELF32
kexec command line additionally. headers can come handy for users who have got non-PAE systems and
hence have memory less than 4GB.
iii) Specify "irqpoll" as command line parameter. This reduces driver iii) Specify "irqpoll" as command line parameter. This reduces driver
initialization failures in second kernel due to shared interrupts. initialization failures in second kernel due to shared interrupts.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment