Enable 'softdog.soft_panic' kernel config option
This update adds 'softdog.soft_panic=1' kernel config option to system type kickstarts so that a kernel softdog timeout generates a crash dump. Change-Id: I8a7f67fbc44cdd268254c12466c40bd2be17870f Partial-Fix: 1898602 Depends-On: https://review.opendev.org/#/c/758564 Depends-On: https://review.opendev.org/#/c/758634 Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
This commit is contained in:
parent
829c7b1db6
commit
7d4196d32f
@ -49,6 +49,9 @@ else
|
||||
KERN_OPTS="${KERN_OPTS} nmi_watchdog=panic,1 softlockup_panic=1"
|
||||
fi
|
||||
|
||||
# Add kernel option to panic on a softdog timeout
|
||||
KERN_OPTS="${KERN_OPTS} softdog.soft_panic=1"
|
||||
|
||||
if [[ "$(dmidecode -s system-product-name)" =~ ^ProLiant.*Gen8$ ]]; then
|
||||
KERN_OPTS="${KERN_OPTS} intel_iommu=on,eth_no_rmrr"
|
||||
else
|
||||
|
@ -17,6 +17,9 @@ KERN_OPTS="${KERN_OPTS} selinux=0 enforcing=0"
|
||||
# Add kernel options to ensure NMI watchdog is enabled, if supported
|
||||
KERN_OPTS="${KERN_OPTS} nmi_watchdog=panic,1 softlockup_panic=1"
|
||||
|
||||
# Add kernel option to panic on a softdog timeout
|
||||
KERN_OPTS="${KERN_OPTS} softdog.soft_panic=1"
|
||||
|
||||
# Add kernel option to disable biosdevname if enabled
|
||||
# As this may already be in GRUB_CMDLINE_LINUX, only add if it is not already present
|
||||
grep -q '^GRUB_CMDLINE_LINUX=.*biosdevname=0' /etc/default/grub
|
||||
|
@ -11,6 +11,9 @@ KERN_OPTS="${KERN_OPTS} selinux=0 enforcing=0"
|
||||
# Add kernel options to ensure NMI watchdog is enabled, if supported
|
||||
KERN_OPTS="${KERN_OPTS} nmi_watchdog=panic,1 softlockup_panic=1"
|
||||
|
||||
# Add kernel option to panic on a softdog timeout
|
||||
KERN_OPTS="${KERN_OPTS} softdog.soft_panic=1"
|
||||
|
||||
# Add kernel option to disable biosdevname if enabled
|
||||
# As this may already be in GRUB_CMDLINE_LINUX, only add if it is not already present
|
||||
grep -q '^GRUB_CMDLINE_LINUX=.*biosdevname=0' /etc/default/grub
|
||||
|
Loading…
x
Reference in New Issue
Block a user