Enable 'soft_panic' kernel config option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Eric MacDonald |
Bug Description
This issue requests to enable the 'soft_panic' kernel config option for two reasons:
1. Assist in debug of system stalls that lead to a softdog (kernel watchdog) timeout.
- a panic will show what the processor was doing during the stall.
2. To know that a the softdog was a reset cause.
- there is no kernel or dmesg log that reaches disk over a softdog reset event.
https:/
static int soft_panic;
module_
MODULE_
"Softdog action, set to 1 to panic, 0 to reboot (default=0)");
Want 'soft_panic=1'
Severity
--------
Major: No explicit bug but is an important change to assist system stall debug and understanding softdog reset timeout case cause.
Steps to Reproduce
------------------
N/A
Expected Behavior
------------------
Panic or kern log on softdog timeout
Actual Behavior
----------------
No panic or kern log on softdog timeout
Reproducibility
---------------
100%
System Configuration
-------
All
Branch/Pull Time/Commit
-------
Branch and the time when code was pulled or git commit or cengn load info
Last Pass
---------
N/A
Timestamp/Logs
--------------
softdog timeout is only indicated by console log which does not persist.
"Initiating system reboot"
Need kernel log or panic logs.
The panic logs will provide a whole lot more information as well.
Test Activity
-------------
Issue Investigation
Workaround
----------
Monitor and record console output for softdog timeout log.
stx.5.0 / medium priority - would be nice to help w/ issue debugging