Lines Matching full:dump

11 Kdump uses kexec to quickly boot to a dump-capture kernel whenever a
12 dump of the system kernel's memory needs to be taken (for example, when
14 the reboot and is accessible to the dump-capture kernel.
17 the memory image to a dump file on the local disk, or across the network
24 the dump-capture kernel. This ensures that ongoing Direct Memory Access
25 (DMA) from the system kernel does not corrupt the dump-capture kernel.
26 The kexec -p command loads the dump-capture kernel into this reserved
47 passed to the dump-capture kernel through the elfcorehdr= boot
51 With the dump-capture kernel, you can access the memory image through
52 /proc/vmcore. This exports the dump as an ELF-format file that you can
57 tool to debug the dump file. This method ensures that the dump pages are
106 Build the system and dump-capture kernels
110 1) Build a separate custom dump-capture kernel for capturing the
111 kernel core dump.
113 2) Or use the system kernel binary itself as dump-capture kernel and there is
114 no need to build a separate dump-capture kernel. This is possible
120 one does not have to build a second kernel for capturing the dump. But
121 at the same time one might want to build a custom dump capture kernel
125 dump-capture kernels for enabling kdump support.
155 This causes the kernel to be built with debug symbols. The dump
157 and analyze a dump file.
159 Dump-capture kernel config options (Arch Independent)
177 Dump-capture kernel config options (Arch Dependent, i386 and x86_64)
190 command line when loading the dump-capture kernel because one
191 CPU is enough for kdump kernel to dump vmcore on most of systems.
212 kexec boot loader will load it in memory region reserved for dump-capture
217 start of memory region reserved for dump-capture kernel.
224 Dump-capture kernel config options (Arch Dependent, ppc64)
237 Dump-capture kernel config options (Arch Dependent, arm)
245 Dump-capture kernel config options (Arch Dependent, arm64)
248 - Please note that kvm of the dump-capture kernel will not be enabled
256 Here 'size' specifies how much memory to reserve for the dump-capture kernel
259 starting at physical address 0x01000000 (16MB) for the dump-capture kernel.
342 Load the Dump-capture Kernel
345 After booting to the system kernel, dump-capture kernel needs to be
350 of dump-capture kernel. Following is the summary.
374 to load dump-capture kernel::
376 kexec -p <dump-capture-kernel-vmlinux-image> \
377 --initrd=<initrd-for-dump-capture-kernel> --args-linux \
381 to load dump-capture kernel::
383 kexec -p <dump-capture-kernel-bzImage> \
384 --initrd=<initrd-for-dump-capture-kernel> \
388 to load dump-capture kernel::
390 kexec --type zImage -p <dump-capture-kernel-bzImage> \
391 --initrd=<initrd-for-dump-capture-kernel> \
392 --dtb=<dtb-for-dump-capture-kernel> \
396 to load dump-capture kernel::
398 kexec -p <dump-capture-kernel-Image> \
399 --initrd=<initrd-for-dump-capture-kernel> \
403 loading dump-capture kernel.
425 Notes on loading the dump-capture kernel:
437 due to shared interrupts in the dump-capture kernel.
442 * Boot parameter "1" boots the dump-capture kernel into single-user
446 dump. Hence generally it is useful either to build a UP dump-capture
447 kernel or specify maxcpus=1 option while loading dump-capture kernel.
451 * You should enable multi-cpu support in dump-capture kernel if you intend
452 to use multi-thread programs with it, such as parallel dump feature of
455 SMP dump-capture kernel and specify maxcpus/nr_cpus options while loading it.
474 After successfully loading the dump-capture kernel as previously
475 described, the system will reboot into the dump-capture kernel if a
482 will boot into the dump-capture kernel ( die_nmi() ).
486 the system will boot into the dump-capture kernel.
489 and the system will boot into the dump-capture kernel.
494 Write Out the Dump File
497 After the dump-capture kernel is booted, write out the dump file with
500 cp /proc/vmcore <dump-file>
502 or use scp to write out the dump file between hosts on a network, e.g::
504 scp /proc/vmcore remote_username@remote_ip:<dump-file>
506 You can also use makedumpfile utility to write out the dump file
509 makedumpfile -l --message-level 1 -d 31 /proc/vmcore <dump-file>
514 Before analyzing the dump image, you should reboot into a stable kernel.
516 You can do limited analysis using GDB on the dump file copied out of
520 gdb vmlinux <dump-file>
528 dump kernel.
530 You can also use the Crash utility to analyze dump files in Kdump