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)
186 command line when loading the dump-capture kernel because one
187 CPU is enough for kdump kernel to dump vmcore on most of systems.
208 kexec boot loader will load it in memory region reserved for dump-capture
213 start of memory region reserved for dump-capture kernel.
220 Dump-capture kernel config options (Arch Dependent, ppc64)
233 Dump-capture kernel config options (Arch Dependent, arm)
241 Dump-capture kernel config options (Arch Dependent, arm64)
244 - Please note that kvm of the dump-capture kernel will not be enabled
252 Here 'size' specifies how much memory to reserve for the dump-capture kernel
255 starting at physical address 0x01000000 (16MB) for the dump-capture kernel.
321 some movable kernel pages may be missing from the dump.
359 Load the Dump-capture Kernel
362 After booting to the system kernel, dump-capture kernel needs to be
367 of dump-capture kernel. Following is the summary.
391 to load dump-capture kernel::
393 kexec -p <dump-capture-kernel-vmlinux-image> \
394 --initrd=<initrd-for-dump-capture-kernel> --args-linux \
398 to load dump-capture kernel::
400 kexec -p <dump-capture-kernel-bzImage> \
401 --initrd=<initrd-for-dump-capture-kernel> \
405 to load dump-capture kernel::
407 kexec --type zImage -p <dump-capture-kernel-bzImage> \
408 --initrd=<initrd-for-dump-capture-kernel> \
409 --dtb=<dtb-for-dump-capture-kernel> \
413 to load dump-capture kernel::
415 kexec -p <dump-capture-kernel-Image> \
416 --initrd=<initrd-for-dump-capture-kernel> \
420 loading dump-capture kernel.
442 Notes on loading the dump-capture kernel:
454 due to shared interrupts in the dump-capture kernel.
459 * Boot parameter "1" boots the dump-capture kernel into single-user
463 dump. Hence generally it is useful either to build a UP dump-capture
464 kernel or specify maxcpus=1 option while loading dump-capture kernel.
468 * You should enable multi-cpu support in dump-capture kernel if you intend
469 to use multi-thread programs with it, such as parallel dump feature of
472 SMP dump-capture kernel and specify maxcpus/nr_cpus options while loading it.
491 After successfully loading the dump-capture kernel as previously
492 described, the system will reboot into the dump-capture kernel if a
499 will boot into the dump-capture kernel ( die_nmi() ).
503 the system will boot into the dump-capture kernel.
506 and the system will boot into the dump-capture kernel.
511 Write Out the Dump File
514 After the dump-capture kernel is booted, write out the dump file with
517 cp /proc/vmcore <dump-file>
519 or use scp to write out the dump file between hosts on a network, e.g::
521 scp /proc/vmcore remote_username@remote_ip:<dump-file>
523 You can also use makedumpfile utility to write out the dump file
526 makedumpfile -l --message-level 1 -d 31 /proc/vmcore <dump-file>
531 Before analyzing the dump image, you should reboot into a stable kernel.
533 You can do limited analysis using GDB on the dump file copied out of
537 gdb vmlinux <dump-file>
545 dump kernel.
547 You can also use the Crash utility to analyze dump files in Kdump
571 Write the dump file to encrypted disk volume
574 CONFIG_CRASH_DM_CRYPT can be enabled to support saving the dump file to an
598 2. Load the dump-capture kernel
600 3. After the dump-capture kerne get booted, restore the keys to user keyring