Commit ee8bb9ea authored by Horms's avatar Horms Committed by Linus Torvalds

[PATCH] Kdump documentation update: ia64 portion

this patch fills in the portions for ia64 kexec.
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
Cc: "Zou, Nanhai" <nanhai.zou@intel.com>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ea112bd5
...@@ -17,7 +17,7 @@ You can use common Linux commands, such as cp and scp, to copy the ...@@ -17,7 +17,7 @@ You can use common Linux commands, such as cp and scp, to copy the
memory image to a dump file on the local disk, or across the network to memory image to a dump file on the local disk, or across the network to
a remote system. a remote system.
Kdump and kexec are currently supported on the x86, x86_64, ppc64 and IA64 Kdump and kexec are currently supported on the x86, x86_64, ppc64 and ia64
architectures. architectures.
When the system kernel boots, it reserves a small section of memory for When the system kernel boots, it reserves a small section of memory for
...@@ -229,7 +229,23 @@ Dump-capture kernel config options (Arch Dependent, ppc64) ...@@ -229,7 +229,23 @@ Dump-capture kernel config options (Arch Dependent, ppc64)
Dump-capture kernel config options (Arch Dependent, ia64) Dump-capture kernel config options (Arch Dependent, ia64)
---------------------------------------------------------- ----------------------------------------------------------
(To be filled)
- No specific options are required to create a dump-capture kernel
for ia64, other than those specified in the arch idependent section
above. This means that it is possible to use the system kernel
as a dump-capture kernel if desired.
The crashkernel region can be automatically placed by the system
kernel at run time. This is done by specifying the base address as 0,
or omitting it all together.
crashkernel=256M@0
or
crashkernel=256M
If the start address is specified, note that the start address of the
kernel will be aligned to 64Mb, so if the start address is not then
any space below the alignment point will be wasted.
Boot into System Kernel Boot into System Kernel
...@@ -248,6 +264,10 @@ Boot into System Kernel ...@@ -248,6 +264,10 @@ Boot into System Kernel
On ppc64, use "crashkernel=128M@32M". On ppc64, use "crashkernel=128M@32M".
On ia64, 256M@256M is a generous value that typically works.
The region may be automatically placed on ia64, see the
dump-capture kernel config option notes above.
Load the Dump-capture Kernel Load the Dump-capture Kernel
============================ ============================
...@@ -266,7 +286,8 @@ For x86_64: ...@@ -266,7 +286,8 @@ For x86_64:
For ppc64: For ppc64:
- Use vmlinux - Use vmlinux
For ia64: For ia64:
(To be filled) - Use vmlinux or vmlinuz.gz
If you are using a uncompressed vmlinux image then use following command If you are using a uncompressed vmlinux image then use following command
to load dump-capture kernel. to load dump-capture kernel.
...@@ -282,18 +303,19 @@ to load dump-capture kernel. ...@@ -282,18 +303,19 @@ to load dump-capture kernel.
--initrd=<initrd-for-dump-capture-kernel> \ --initrd=<initrd-for-dump-capture-kernel> \
--append="root=<root-dev> <arch-specific-options>" --append="root=<root-dev> <arch-specific-options>"
Please note, that --args-linux does not need to be specified for ia64.
It is planned to make this a no-op on that architecture, but for now
it should be omitted
Following are the arch specific command line options to be used while Following are the arch specific command line options to be used while
loading dump-capture kernel. loading dump-capture kernel.
For i386 and x86_64: For i386, x86_64 and ia64:
"init 1 irqpoll maxcpus=1" "init 1 irqpoll maxcpus=1"
For ppc64: For ppc64:
"init 1 maxcpus=1 noirqdistrib" "init 1 maxcpus=1 noirqdistrib"
For IA64
(To be filled)
Notes on loading the dump-capture kernel: Notes on loading the dump-capture kernel:
......
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