diff options
Diffstat (limited to 'Documentation/kdump')
-rw-r--r-- | Documentation/kdump/kdump.txt | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt index 2e5b3176de1c..073306818347 100644 --- a/Documentation/kdump/kdump.txt +++ b/Documentation/kdump/kdump.txt | |||
@@ -17,7 +17,7 @@ You can use common Linux commands, such as cp and scp, to copy the | |||
17 | memory image to a dump file on the local disk, or across the network to | 17 | memory image to a dump file on the local disk, or across the network to |
18 | a remote system. | 18 | a remote system. |
19 | 19 | ||
20 | Kdump and kexec are currently supported on the x86, x86_64, ppc64 and IA64 | 20 | Kdump and kexec are currently supported on the x86, x86_64, ppc64 and ia64 |
21 | architectures. | 21 | architectures. |
22 | 22 | ||
23 | When the system kernel boots, it reserves a small section of memory for | 23 | 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 | 229 | ||
230 | Dump-capture kernel config options (Arch Dependent, ia64) | 230 | Dump-capture kernel config options (Arch Dependent, ia64) |
231 | ---------------------------------------------------------- | 231 | ---------------------------------------------------------- |
232 | (To be filled) | 232 | |
233 | - No specific options are required to create a dump-capture kernel | ||
234 | for ia64, other than those specified in the arch idependent section | ||
235 | above. This means that it is possible to use the system kernel | ||
236 | as a dump-capture kernel if desired. | ||
237 | |||
238 | The crashkernel region can be automatically placed by the system | ||
239 | kernel at run time. This is done by specifying the base address as 0, | ||
240 | or omitting it all together. | ||
241 | |||
242 | crashkernel=256M@0 | ||
243 | or | ||
244 | crashkernel=256M | ||
245 | |||
246 | If the start address is specified, note that the start address of the | ||
247 | kernel will be aligned to 64Mb, so if the start address is not then | ||
248 | any space below the alignment point will be wasted. | ||
233 | 249 | ||
234 | 250 | ||
235 | Boot into System Kernel | 251 | Boot into System Kernel |
@@ -248,6 +264,10 @@ Boot into System Kernel | |||
248 | 264 | ||
249 | On ppc64, use "crashkernel=128M@32M". | 265 | On ppc64, use "crashkernel=128M@32M". |
250 | 266 | ||
267 | On ia64, 256M@256M is a generous value that typically works. | ||
268 | The region may be automatically placed on ia64, see the | ||
269 | dump-capture kernel config option notes above. | ||
270 | |||
251 | Load the Dump-capture Kernel | 271 | Load the Dump-capture Kernel |
252 | ============================ | 272 | ============================ |
253 | 273 | ||
@@ -266,7 +286,8 @@ For x86_64: | |||
266 | For ppc64: | 286 | For ppc64: |
267 | - Use vmlinux | 287 | - Use vmlinux |
268 | For ia64: | 288 | For ia64: |
269 | (To be filled) | 289 | - Use vmlinux or vmlinuz.gz |
290 | |||
270 | 291 | ||
271 | If you are using a uncompressed vmlinux image then use following command | 292 | If you are using a uncompressed vmlinux image then use following command |
272 | to load dump-capture kernel. | 293 | to load dump-capture kernel. |
@@ -282,18 +303,19 @@ to load dump-capture kernel. | |||
282 | --initrd=<initrd-for-dump-capture-kernel> \ | 303 | --initrd=<initrd-for-dump-capture-kernel> \ |
283 | --append="root=<root-dev> <arch-specific-options>" | 304 | --append="root=<root-dev> <arch-specific-options>" |
284 | 305 | ||
306 | Please note, that --args-linux does not need to be specified for ia64. | ||
307 | It is planned to make this a no-op on that architecture, but for now | ||
308 | it should be omitted | ||
309 | |||
285 | Following are the arch specific command line options to be used while | 310 | Following are the arch specific command line options to be used while |
286 | loading dump-capture kernel. | 311 | loading dump-capture kernel. |
287 | 312 | ||
288 | For i386 and x86_64: | 313 | For i386, x86_64 and ia64: |
289 | "init 1 irqpoll maxcpus=1" | 314 | "init 1 irqpoll maxcpus=1" |
290 | 315 | ||
291 | For ppc64: | 316 | For ppc64: |
292 | "init 1 maxcpus=1 noirqdistrib" | 317 | "init 1 maxcpus=1 noirqdistrib" |
293 | 318 | ||
294 | For IA64 | ||
295 | (To be filled) | ||
296 | |||
297 | 319 | ||
298 | Notes on loading the dump-capture kernel: | 320 | Notes on loading the dump-capture kernel: |
299 | 321 | ||