Lines Matching full:kernel
22 for dump, with a single operation of echo 1 > /sys/kernel/fadump_release_mem.
23 - Once enabled through kernel boot parameter, FADump can be
24 started/stopped through /sys/kernel/fadump_registered interface (see
32 with a fresh copy of the kernel. In particular,
36 is immediately available to the running kernel. And therefore,
44 - The first kernel registers the sections of memory with the
47 kernel during early boot.
55 that is required for a kernel to boot successfully when
61 boot memory size is not sufficient for second kernel to
73 - The freshly booted kernel will notice that there is a new node
74 (rtas/ibm,kernel-dump on pSeries or ibm,opal/dump/mpipl-boot
79 size. This will make sure that this kernel (also, referred
80 to as second kernel or capture kernel) will not touch any
84 of memory, which holds the previous crashed kernel dump in ELF
89 '1' to /sys/kernel/fadump_release_mem to release the reserved
95 # echo 1 > /sys/kernel/fadump_release_mem
105 kernel (referred to as petitboot kernel) before booting into the
106 capture kernel. This kernel would have minimal kernel and/or
107 userspace support to process crash data. Such kernel needs to
108 preserve previously crash'ed kernel's memory for the subsequent
109 capture kernel boot to process this crash data. Kernel config
110 option CONFIG_PRESERVE_FA_DUMP has to be enabled on such kernel
113 -- On OPAL based machines (PowerNV), if the kernel is build with
116 helpful in debugging OPAL crashes with GDB. The kernel memory
133 /sys/kernel/fadump_release_mem file is created, and the reserved
146 production kernel. Hence, the implementation uses the Linux kernel's
148 configured for kernel. With CMA reservation this memory will be
149 available for applications to use it, while kernel is prevented from
151 kernel memory and most of the user space memory except the user pages
154 o Memory Reservation during first kernel
176 second kernel after crash, on platforms that support
183 o Memory Reservation during second kernel after crash
195 kernel to boot
220 1. Set config option CONFIG_FA_DUMP=y and build kernel.
221 2. Boot into linux kernel with 'fadump=on' kernel cmdline option.
223 Alternatively, user can boot linux kernel with 'fadump=nocma' to
225 3. Optionally, user can also set 'crashkernel=' kernel cmdline
235 option is set at kernel cmdline.
238 'fadump=nocma' kernel parameter can be used to fallback to
247 Here is the list of files under kernel sysfs:
249 /sys/kernel/fadump_enabled
256 FADump is enabled in the kernel and act accordingly.
258 /sys/kernel/fadump_registered
265 To register FADump echo 1 > /sys/kernel/fadump_registered and
266 echo 0 > /sys/kernel/fadump_registered for un-register and stop the
271 /sys/kernel/fadump/mem_reserved
276 /sys/kernel/fadump_release_mem
278 second kernel. This is used to release the reserved memory
282 echo 1 > /sys/kernel/fadump_release_mem
284 After echo 1, the content of the /sys/kernel/debug/powerpc/fadump_region
291 Note: /sys/kernel/fadump_release_opalcore sysfs has moved to
297 active during capture kernel. This is used to release the memory
298 used by the kernel to export /sys/firmware/opal/mpipl/core file. To
308 | /sys/kernel/fadump_enabled | /sys/kernel/fadump/enabled |
310 | /sys/kernel/fadump_registered | /sys/kernel/fadump/registered |
312 | /sys/kernel/fadump_release_mem | /sys/kernel/fadump/release_mem |
316 (Assuming debugfs is mounted on /sys/kernel/debug directory.)
318 /sys/kernel/debug/powerpc/fadump_region
325 and for kernel DUMP region is:
330 Contents when FADump is registered during first kernel::
332 # cat /sys/kernel/debug/powerpc/fadump_region
337 Contents when FADump is active during second kernel::
339 # cat /sys/kernel/debug/powerpc/fadump_region
354 accurate boot memory size that is required for a kernel to
359 kernel which will help second kernel to populate ELF core header with