| From: Baoquan He <bhe@redhat.com> |
| Subject: Documentation: kdump: clean up the outdated description |
| Date: Fri, 29 Mar 2024 21:28:25 +0800 |
| |
| After commit 443cbaf9e2fd ("crash: split vmcoreinfo exporting code out |
| from crash_core.c"), Kconfig item CRASH_CORE has gone away in kernel. |
| Items VMCORE_INFO and CRASH_RESERVE are used instead. |
| |
| So clean up the outdated description about CRASH_CORE and update it |
| accordingly. |
| |
| Link: https://lkml.kernel.org/r/20240329132825.1102459-3-bhe@redhat.com |
| Signed-off-by: Baoquan He <bhe@redhat.com> |
| Cc: Jonathan Corbet <corbet@lwn.net> |
| Cc: Geert Uytterhoeven <geert@linux-m68k.org> |
| Cc: Huacai Chen <chenhuacai@kernel.org> |
| Cc: WANG Xuerui <kernel@xen0n.name> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| Documentation/admin-guide/kdump/kdump.rst | 8 ++++---- |
| 1 file changed, 4 insertions(+), 4 deletions(-) |
| |
| --- a/Documentation/admin-guide/kdump/kdump.rst~documentation-kdump-clean-up-the-outdated-description |
| +++ a/Documentation/admin-guide/kdump/kdump.rst |
| @@ -136,10 +136,6 @@ System kernel config options |
| |
| CONFIG_KEXEC_CORE=y |
| |
| - Subsequently, CRASH_CORE is selected by KEXEC_CORE:: |
| - |
| - CONFIG_CRASH_CORE=y |
| - |
| 2) Enable "sysfs file system support" in "Filesystem" -> "Pseudo |
| filesystems." This is usually enabled by default:: |
| |
| @@ -168,6 +164,10 @@ Dump-capture kernel config options (Arch |
| |
| CONFIG_CRASH_DUMP=y |
| |
| + And this will select VMCORE_INFO and CRASH_RESERVE:: |
| + CONFIG_VMCORE_INFO=y |
| + CONFIG_CRASH_RESERVE=y |
| + |
| 2) Enable "/proc/vmcore support" under "Filesystems" -> "Pseudo filesystems":: |
| |
| CONFIG_PROC_VMCORE=y |
| _ |