Skip to content

Commit 3043013

Browse files
hormsLinus Torvalds
authored andcommitted
[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>
1 parent 588cc70 commit 3043013

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

‎Documentation/kdump/kdump.txt‎

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ On x86 machines, the first 640 KB of physical memory is needed to boot,
3030
regardless of where the kernel loads. Therefore, kexec backs up this
3131
region just before rebooting into the dump-capture kernel.
3232

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+
3337
All of the necessary information about the system kernel's core image is
3438
encoded in the ELF format, and stored in a reserved area of memory
3539
before a crash. The physical address of the start of the ELF header is
@@ -224,7 +228,7 @@ Dump-capture kernel config options (Arch Dependent, x86_64)
224228
Dump-capture kernel config options (Arch Dependent, ppc64)
225229
----------------------------------------------------------
226230

227-
- Make and install the kernel and its modules. DO NOT add this kernel
231+
* Make and install the kernel and its modules. DO NOT add this kernel
228232
to the boot loader configuration files.
229233

230234
Dump-capture kernel config options (Arch Dependent, ia64)
@@ -251,8 +255,8 @@ Dump-capture kernel config options (Arch Dependent, ia64)
251255
Boot into System Kernel
252256
=======================
253257

254-
1) Make and install the kernel and its modules. Update the boot loader
255-
(such as grub, yaboot, or lilo) configuration files as necessary.
258+
1) Update the boot loader (such as grub, yaboot, or lilo) configuration
259+
files as necessary.
256260

257261
2) Boot the system kernel with the boot parameter "crashkernel=Y@X",
258262
where Y specifies how much memory to reserve for the dump-capture kernel
@@ -356,10 +360,11 @@ If die() is called, and it happens to be a thread with pid 0 or 1, or die()
356360
is called inside interrupt context or die() is called and panic_on_oops is set,
357361
the system will boot into the dump-capture kernel.
358362

359-
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.
363+
On powererpc systems when a soft-reset is generated, die() is called by all cpus
364+
and the system will boot into the dump-capture kernel.
360365

361366
For testing purposes, you can trigger a crash by using "ALT-SysRq-c",
362-
"echo c > /proc/sysrq-trigger or write a module to force the panic.
367+
"echo c > /proc/sysrq-trigger" or write a module to force the panic.
363368

364369
Write Out the Dump File
365370
=======================
@@ -410,12 +415,9 @@ format. Crash is available on Dave Anderson's site at the following URL:
410415
To Do
411416
=====
412417

413-
1) Provide a kernel pages filtering mechanism, so core file size is not
414-
extreme on systems with huge memory banks.
415-
416-
2) Relocatable kernel can help in maintaining multiple kernels for
417-
crash_dump, and the same kernel as the system kernel can be used to
418-
capture the dump.
418+
1) Provide relocatable kernels for all architectures to help in maintaining
419+
multiple kernels for crash_dump, and the same kernel as the system kernel
420+
can be used to capture the dump.
419421

420422

421423
Contact

0 commit comments

Comments
 (0)