OCI: Workarounds for Future Investigation when a Vmcore was not Generated
Applies to:
Linux OS - Version Oracle Linux 7 and later
Linux x86-64
Linux x86
Linux ARM 64-bit
Goal:
How to create a vmcore ( kernel memory dump ) when there was no kernel panic, for example during a hung_task or a soft lockup
Solution:
- The following parameters can be set in /etc/sysctl.conf in order to generate a vmcore automatically:
# generate a vmcore when a hung process is detected
kernel.hung_task_panic = 1
# generate a vmcore for hardware IO related issues
kernel.panic_on_io_nmi = 1
# Generate a vmcore when unrecovered nmi signal is sent
kernel.panic_on_unrecovered_nmi = 1
Tagged:
0