Skip to content

Commit

Permalink
Merge pull request #4146 from heywji/kdumpctl
Browse files Browse the repository at this point in the history
kdump: Update kdump kernel_param_cmd command for different OS version
  • Loading branch information
vivianQizhu authored Oct 18, 2024
2 parents a24871b + 3f0915e commit 855202e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions generic/tests/cfg/kdump.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
crashkernel_default_params = 2G-4G:384M,4G-16G:512M,16G-64G:1G,64G-128G:2G,128G-:4G
s390x:
crashkernel_default_params = 1G-4G:192M,4G-64G:256M,64G-:512M
kernel_param_cmd = "kdumpctl reset-crashkernel --kernel=DEFAULT"
kdump_enable_cmd = "systemctl enable --now kdump.service"
kdump_restart_cmd = "systemctl restart kdump.service"
kernel_param_cmd = "grubby --update-kernel=`grubby --default-kernel` --args=crashkernel=${crashkernel_default_params}"
RHEL.5:
kdump_config = core_collector makedumpfile -c -d 31
RHEL.6:
Expand All @@ -56,9 +56,7 @@
- @default:
- nmi:
no aarch64 s390 s390x
kernel_param_cmd = "grubby --update-kernel=`grubby --default-kernel` --args='crashkernel=auto nmi_watchdog=1'"
RHEL.9:
kernel_param_cmd = "grubby --update-kernel=`grubby --default-kernel` --args='nmi_watchdog=1'"
kernel_param_cmd = "grubby --update-kernel=`grubby --default-kernel` --args='nmi_watchdog=1'"
crash_cmd = nmi
send_nmi_cmd = "echo 1 > /proc/sys/kernel/unknown_nmi_panic"
ppc64, ppc64le:
Expand Down

0 comments on commit 855202e

Please sign in to comment.