*** BLURB HERE ***
Tong Li (2): Correct two typos in kdumpctl and kdump.conf Debug kernel dump explanation
kdump.conf | 2 +- kdumpctl | 2 +- kexec-kdump-howto.txt | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-)
Signed-off-by: Tong Li tonli@redhat.com --- kdump.conf | 2 +- kdumpctl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kdump.conf b/kdump.conf index 2865414..ebf9587 100644 --- a/kdump.conf +++ b/kdump.conf @@ -111,7 +111,7 @@ # The default option is "reboot". # # force_rebuild <0 | 1> -# - By default, kdump initrd will only be rebuilt whennecessary. +# - By default, kdump initrd will only be rebuilt when necessary. # Specify 1 to force rebuilding kdump initrd every time when kdump # service starts. # diff --git a/kdumpctl b/kdumpctl index 1cd57e6..6f5df33 100755 --- a/kdumpctl +++ b/kdumpctl @@ -607,7 +607,7 @@ need_64bit_headers() print (strtonum("0x" r[2]) > strtonum("0xffffffff")); }'` }
-# Load the kdump kerel specified in /etc/sysconfig/kdump +# Load the kdump kernel specified in /etc/sysconfig/kdump # If none is specified, try to load a kdump kernel with the same version # as the currently running kernel. load_kdump()
On 2016/11/15 at 17:07, Tong Li wrote:
Signed-off-by: Tong Li tonli@redhat.com
Better to have something in the changelog, anyway for this change: Reviewed-by: Xunlei Pang xlpang@redhat.com
kdump.conf | 2 +- kdumpctl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kdump.conf b/kdump.conf index 2865414..ebf9587 100644 --- a/kdump.conf +++ b/kdump.conf @@ -111,7 +111,7 @@ # The default option is "reboot". # # force_rebuild <0 | 1> -# - By default, kdump initrd will only be rebuilt whennecessary. +# - By default, kdump initrd will only be rebuilt when necessary. # Specify 1 to force rebuilding kdump initrd every time when kdump # service starts. # diff --git a/kdumpctl b/kdumpctl index 1cd57e6..6f5df33 100755 --- a/kdumpctl +++ b/kdumpctl @@ -607,7 +607,7 @@ need_64bit_headers() print (strtonum("0x" r[2]) > strtonum("0xffffffff")); }'` }
-# Load the kdump kerel specified in /etc/sysconfig/kdump +# Load the kdump kernel specified in /etc/sysconfig/kdump # If none is specified, try to load a kdump kernel with the same version # as the currently running kernel. load_kdump()
Add announcement about that "crashkernel=auto" is not supported on debug kernel.
Signed-off-by: Tong Li tonli@redhat.com --- kexec-kdump-howto.txt | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/kexec-kdump-howto.txt b/kexec-kdump-howto.txt index f46563f..7c7cf85 100644 --- a/kexec-kdump-howto.txt +++ b/kexec-kdump-howto.txt @@ -73,6 +73,10 @@ And based on arch and system configuration, one might require more than 128M to be reserved for kdump. One need to experiment and test kdump, if 128M is not sufficient, try reserving more memory.
+Note: Since a lot of debug options are enabled, a debug kernel consumes much +more memory than a normal one does. So "crashkernel=auto" is not supported on +debug kernel. + # grubby --args="crashkernel=128M" --update-kernel=/boot/vmlinuz-`uname -r`
Note that there is an alternative form in which to specify a crashkernel
On 2016/11/15 at 17:08, Tong Li wrote:
Add announcement about that "crashkernel=auto" is not supported on debug kernel.
Seems we don't have "crashkernel=auto" support on Fedora kernel.
Regards, Xunlei
Signed-off-by: Tong Li tonli@redhat.com
kexec-kdump-howto.txt | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/kexec-kdump-howto.txt b/kexec-kdump-howto.txt index f46563f..7c7cf85 100644 --- a/kexec-kdump-howto.txt +++ b/kexec-kdump-howto.txt @@ -73,6 +73,10 @@ And based on arch and system configuration, one might require more than 128M to be reserved for kdump. One need to experiment and test kdump, if 128M is not sufficient, try reserving more memory.
+Note: Since a lot of debug options are enabled, a debug kernel consumes much +more memory than a normal one does. So "crashkernel=auto" is not supported on +debug kernel.
- # grubby --args="crashkernel=128M" --update-kernel=/boot/vmlinuz-`uname -r`
Note that there is an alternative form in which to specify a crashkernel