Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kdump: Update kdump kernel_param_cmd command for different OS version #4146

Merged
merged 2 commits into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading