Lines Matching refs:kernel

21   for dump, with a single operation of echo 1 > /sys/kernel/fadump_release_mem.
22 - Once enabled through kernel boot parameter, fadump can be
23 started/stopped through /sys/kernel/fadump_registered interface (see
31 with a fresh copy of the kernel. In particular,
35 is immediately available to the running kernel. And therefore,
43 -- The first kernel registers the sections of memory with the
46 kernel during early boot.
54 that is required for a kernel to boot successfully when
61 kernel to boot successfully.
68 -- The freshly booted kernel will notice that there is a new
69 node (ibm,dump-kernel) in the device tree, indicating that
73 size. This will make sure that the second kernel will not
77 of memory, which holds the previous crashed kernel dump in ELF
82 '1' to /sys/kernel/fadump_release_mem to release the reserved
87 # echo 1 > /sys/kernel/fadump_release_mem
103 /sys/kernel/fadump_release_mem file is created, and the reserved
114 o Memory Reservation during first kernel
132 o Memory Reservation during second kernel after crash
144 kernel to boot
159 1. Set config option CONFIG_FA_DUMP=y and build kernel.
160 2. Boot into linux kernel with 'fadump=on' kernel cmdline option.
161 3. Optionally, user can also set 'fadump_reserve_mem=' kernel cmdline
167 is set at kernel cmdline.
175 Here is the list of files under kernel sysfs:
177 /sys/kernel/fadump_enabled
184 fadump is enabled in the kernel and act accordingly.
186 /sys/kernel/fadump_registered
193 To register fadump echo 1 > /sys/kernel/fadump_registered and
194 echo 0 > /sys/kernel/fadump_registered for un-register and stop the
199 /sys/kernel/fadump_release_mem
202 second kernel. This is used to release the reserved memory
206 echo 1 > /sys/kernel/fadump_release_mem
208 After echo 1, the content of the /sys/kernel/debug/powerpc/fadump_region
216 (Assuming debugfs is mounted on /sys/kernel/debug directory.)
218 /sys/kernel/debug/powerpc/fadump_region
226 Contents when fadump is registered during first kernel
228 # cat /sys/kernel/debug/powerpc/fadump_region
233 Contents when fadump is active during second kernel
235 # cat /sys/kernel/debug/powerpc/fadump_region
248 accurate boot memory size that is required for a kernel to
253 kernel which will help second kernel to populate ELF core header with