Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] PPC64 Kdump documentation update

Patch from Mohan Kumar M to add the ppc64 portions of the kdump
documentation.

http://thread.gmane.org/gmane.linux.kernel/481689/focus=3375

Cc: Mohan Kumar M <mohan@in.ibm.com>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Simon Horman and committed by
Linus Torvalds
30430134 588cc708

+13 -11
+13 -11
Documentation/kdump/kdump.txt
··· 30 30 regardless of where the kernel loads. Therefore, kexec backs up this 31 31 region just before rebooting into the dump-capture kernel. 32 32 33 + Similarly on PPC64 machines first 32KB of physical memory is needed for 34 + booting regardless of where the kernel is loaded and to support 64K page 35 + size kexec backs up the first 64KB memory. 36 + 33 37 All of the necessary information about the system kernel's core image is 34 38 encoded in the ELF format, and stored in a reserved area of memory 35 39 before a crash. The physical address of the start of the ELF header is ··· 228 224 Dump-capture kernel config options (Arch Dependent, ppc64) 229 225 ---------------------------------------------------------- 230 226 231 - - Make and install the kernel and its modules. DO NOT add this kernel 227 + * Make and install the kernel and its modules. DO NOT add this kernel 232 228 to the boot loader configuration files. 233 229 234 230 Dump-capture kernel config options (Arch Dependent, ia64) ··· 255 251 Boot into System Kernel 256 252 ======================= 257 253 258 - 1) Make and install the kernel and its modules. Update the boot loader 259 - (such as grub, yaboot, or lilo) configuration files as necessary. 254 + 1) Update the boot loader (such as grub, yaboot, or lilo) configuration 255 + files as necessary. 260 256 261 257 2) Boot the system kernel with the boot parameter "crashkernel=Y@X", 262 258 where Y specifies how much memory to reserve for the dump-capture kernel ··· 360 356 is called inside interrupt context or die() is called and panic_on_oops is set, 361 357 the system will boot into the dump-capture kernel. 362 358 363 - On powererpc systems when a soft-reset is generated, die() is called by all cpus and the system will boot into the dump-capture kernel. 359 + On powererpc systems when a soft-reset is generated, die() is called by all cpus 360 + and the system will boot into the dump-capture kernel. 364 361 365 362 For testing purposes, you can trigger a crash by using "ALT-SysRq-c", 366 - "echo c > /proc/sysrq-trigger or write a module to force the panic. 363 + "echo c > /proc/sysrq-trigger" or write a module to force the panic. 367 364 368 365 Write Out the Dump File 369 366 ======================= ··· 415 410 To Do 416 411 ===== 417 412 418 - 1) Provide a kernel pages filtering mechanism, so core file size is not 419 - extreme on systems with huge memory banks. 420 - 421 - 2) Relocatable kernel can help in maintaining multiple kernels for 422 - crash_dump, and the same kernel as the system kernel can be used to 423 - capture the dump. 413 + 1) Provide relocatable kernels for all architectures to help in maintaining 414 + multiple kernels for crash_dump, and the same kernel as the system kernel 415 + can be used to capture the dump. 424 416 425 417 426 418 Contact