Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: Workarounds for Future Investigation when a Vmcore was not Generated

edited Oct 25, 2024 5:30PM in Linux

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:

  1. 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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!