Clear old crashkernl=auto in comment and doc
Acked-by: Pingfan Liu <piliu@redhat.com> Signed-off-by: Kairui Song <kasong@redhat.com>
This commit is contained in:
parent
146f662622
commit
097059dedc
@ -344,9 +344,12 @@ or
|
|||||||
OR
|
OR
|
||||||
# grubby --update-kernel=/boot/vmlinuz-`uname -r` --args="fadump=off"
|
# grubby --update-kernel=/boot/vmlinuz-`uname -r` --args="fadump=off"
|
||||||
|
|
||||||
If KDump is to be used as the dump capturing mechanism, update the crashkernel
|
Remove "crashkernel=" from kernel cmdline parameters:
|
||||||
parameter (Else, remove "crashkernel=" parameter too, using grubby):
|
|
||||||
|
|
||||||
# grubby --update-kernel=/boot/vmlinuz-$kver --args="crashkernl=auto"
|
# grubby --update-kernel=/boot/vmlinuz-`uname -r` --remove-args="crashkernel"
|
||||||
|
|
||||||
|
If KDump is to be used as the dump capturing mechanism, reset the crashkernel parameter:
|
||||||
|
|
||||||
|
# kdumpctl reset-crashkernel `uname -r`
|
||||||
|
|
||||||
Reboot the system for the settings to take effect.
|
Reboot the system for the settings to take effect.
|
||||||
|
2
kdumpctl
2
kdumpctl
@ -1262,7 +1262,7 @@ do_estimate() {
|
|||||||
baseline=$(( ${baseline%Y} * 1048576 ))
|
baseline=$(( ${baseline%Y} * 1048576 ))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# The default value when using crashkernel=auto
|
# The default pre-reserved crashkernel value
|
||||||
baseline_size=$((baseline * size_mb))
|
baseline_size=$((baseline * size_mb))
|
||||||
# Current reserved crashkernel size
|
# Current reserved crashkernel size
|
||||||
reserved_size=$(cat /sys/kernel/kexec_crash_size)
|
reserved_size=$(cat /sys/kernel/kexec_crash_size)
|
||||||
|
Loading…
Reference in New Issue
Block a user