Testing automatic dump-on-panic
Cause a kernel panic to confirm that your dump configuration is set up to automatically create a dump if a kernel panic occurs.
Before you begin
- You need a Linux® instance with active magic sysrequest functions.
- For Linux on KVM, you can also use the virsh inject-nmi command on the KVM host.
Procedure
Crash the kernel with a forced kernel panic.
| If your method for triggering the magic sysrequest function is: | Enter: |
|---|---|
| A command on the 3270 terminal or line-mode terminal on the HMC | ^-c
|
| A command on the hvc0 terminal device | ![]() c |
| Writing to procfs | echo c > /proc/sysrq-trigger |
Note:
means pressing
means pressing o while holding down the control key.See Device Drivers, Features, and Commands on Red Hat® Enterprise Linux
9.2, SC34-7750 for more details about the magic
sysrequest functions.