- Allow platform specific reboot script to be called after crash kernel has finished copying the kernel vmcore - Disable pcie advanced features when running crash kernel. This improves reliability of the crash kernel to successfully create a vmcore and also reboot - Allow crash kernel to reboot if a panic is seen while it is generating a vmcore - Fix crash kernel to use the SONiC specific /usr/local/bin/reboot script instead of the Linux reboot command /sbin/reboot - Use sonic_platform as the kernel command line parameter to pass platform identifier string Signed-off-by: Rajendra Dendukuri <rajendra.dendukuri@broadcom.com>
14 lines
692 B
Plaintext
14 lines
692 B
Plaintext
# ---------------------------------------------------------------------------
|
|
# Additional Kdump environment settings used in SONiC
|
|
#
|
|
|
|
# Reboot crash kernel on panic
|
|
# Enable debug level logging of crash kernel for better visibility
|
|
# Disable advanced pcie features
|
|
# Disable high precision event timer as on some platforms it is interfering with the kdump operation
|
|
# Pass platform identifier string as part of crash kernel command line to be used by the reboot script during kdump
|
|
KDUMP_CMDLINE_APPEND+=" panic=10 debug hpet=disable pcie_port=compat pci=nommconf sonic_platform=__PLATFORM__"
|
|
|
|
# Use SONiC reboot wrapper script present in /usr/local/bin post kdump
|
|
PATH=/usr/local/bin:$PATH
|