#
e6978e5b |
| 03-Mar-2022 |
Shantappa Teekappanavar <sbteeks@yahoo.com> |
Request hostboot dump when Host State is 'Running'
When CurrentHostStatus is not in 'Running' state, either host is 'Off' or current state is changed by HW dump to a state other than 'Running' and m
Request hostboot dump when Host State is 'Running'
When CurrentHostStatus is not in 'Running' state, either host is 'Off' or current state is changed by HW dump to a state other than 'Running' and may have initiated/created the dump. In these cases, there is no need to initiate hostboot dump. This commit allows initiating hostboot dump collection when the current host state is 'Running' and the watchdog times out.
Testing: Run watchdog_timeout and check the following entries in the journal log: 'Running' state: Mar 03 12:22:34 <xxxx> watchdog_timeout[3626]: Host did not respond within watchdog timeout interval Mar 03 12:22:34 <xxxx> watchdog_timeout[3626]: Handle Hostboot boot failure Mar 03 12:22:34 <xxxx> watchdog_timeout[3626]: hostboot dump requested Mar 03 12:23:26 <xxxx> watchdog_timeout[3626]: /xyz/openbmc_project/dump/hostboot/entry/20000028 Mar 03 12:23:26 <xxxx> watchdog_timeout[3626]: xyz.openbmc_project.Common.Progress.OperationStatus.Completed Mar 03 12:23:26 <xxxx> watchdog_timeout[3626]: dump collection completed
'Quiesced' state: Mar 03 12:26:04 <xxxx> watchdog_timeout[3917]: Host did not respond within watchdog timeout interval Mar 03 12:26:04 <xxxx> watchdog_timeout[3917]: Host is not in 'Running' state. Dump maybe already occurring, skipping this dump request...
Signed-off-by: Shantappa Teekappanavar <sbteeks@yahoo.com> Change-Id: I7245fef1639299bf501667eef48e275a93307c00
show more ...
|
#
fc437560 |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I3be9475e7639ae8f52bceb1d5ff843a8dffde0a5
show more ...
|
#
b64983f0 |
| 01-Feb-2022 |
Shantappa Teekappanavar <sbteeks@yahoo.com> |
Callout support for SBE when watchdog times out
This commit provides additional callout support for SBE when the host does not respond within watchdog timeout interval during SBE boot window.
Testi
Callout support for SBE when watchdog times out
This commit provides additional callout support for SBE when the host does not respond within watchdog timeout interval during SBE boot window.
Testing: Steps used: 1. obmcutil poweroff 2. istep -s0 3. systemctl start org.open_power.Dump.Manager.service 4. systemctl start openpower-debug-collector-watchdog@0.service 5. Check the journal log, and get the PEL id to print PEL info
PEL info: "Callout Section": { "Callout Count": "2", "Callouts": [{ "FRU Type": "Maintenance Procedure Required", "Priority": "Mandatory, replace all with this type as a unit", "Procedure": "BMC0002" }, { "FRU Type": "Normal Hardware FRU", "Priority": "Medium Priority", "Location Code": "xxxxxxxxxxxxx", "Part Number": "xxxxx", "CCIN": "xxxx", "Serial Number": "xxxxxxx" } ... "User Data 2": { "Section Version": "1", "Sub-section type": "1", "Created by": "0x2000", "Data": [ { "Priority": "H", "Procedure": "BMC0002" }, { "Deconfigured": false, "Guarded": false, "LocationCode": "Ufcs-xx-xxx", "Priority": "M" } ] }
Signed-off-by: Shantappa Teekappanavar <sbteeks@yahoo.com> Change-Id: I5e182cb415a807d97c98812a6713905d39fdbc9a
show more ...
|
#
1ac6162d |
| 22-Jun-2021 |
Shantappa Teekappanavar <sbteeks@yahoo.com> |
watchdog: Collect hostboot dump when watchdog times out
The hostboot dump collection to be initiated by watchdog_timeout is disabled by default. When watchdog times out, only error message correspon
watchdog: Collect hostboot dump when watchdog times out
The hostboot dump collection to be initiated by watchdog_timeout is disabled by default. When watchdog times out, only error message corresponding to watchdog timeout is logged. To enable hostboot dump collection whenever watchdog times out, the meson option 'hostboot-dump-collection' must be enabled.
Testing - with meson option 'hostboot-dump-collection' enabled: Ran watchdog_timeout: case-1: CurrentHostState - off, AutoReboot - false - Verified PEL object was not created - Verified hostboot dump was not created - Verified the Host State changed to Quiesce
case-2: CurrentHostState - off, AutoReboot - true - Verified PEL object was created - Verified hostboot dump was not created - Verified the Host State changed to Running
case-3: CurrentHostState - Running, AutoBoot - false - Verified PEL object was not created - Verified hostboot dump was not created - Verified the Host State changed to Quiesce
case-4: CurrentHostState - Running, AutoBoot - true, default timeout = 300s - Verified PEL object was created - Verified hostboot dump was created - Observed Host state moving to either Running or Quiesce
case-5: CurrentHostState - Running, AutoBoot - true, specified timeout = 5s - Verified PEL object was created - Verified hostboot dump was created - Observed Host state moving to either Running or Quiesce
Docker Unit test: passed
Signed-off-by: Shantappa Teekappanavar <sbteeks@yahoo.com> Change-Id: Ib92d0c2f282816fb742cf07c1cb876b2cc093c12
show more ...
|