summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagpal Singh Gill <paligill@gmail.com>2024-10-14 23:59:58 +0300
committerJagpal S Gill <paligill@gmail.com>2024-10-18 02:06:25 +0300
commit60e8c2219fc46acc72138a73f7033d9dfd87d73f (patch)
treeffa38a3a4cb69fff9e8bd5085cd093aabcd96245
parent8841e4208609b3a7bee85afa37fb743c74f0ab26 (diff)
downloadopenbmc-60e8c2219fc46acc72138a73f7033d9dfd87d73f.tar.xz
meta-facebook: enable jffs-workaround for coredump
More details on this feature in https://github.com/openbmc/openbmc/issues/2287. Yosemite4 was running into an issue where phosphor-debug-collector was only receiving inotify notifications for .#core* files and hence enabled this feature as it updates the inotify watch flag to when the actual coredump file gets created. Without the feature following filename notifications were received. ``` Feb 27 09:40:34 yosemite4 phosphor-dump-monitor[359]: FileName doesn't match expected name .#core.health-monitor.0.01d0274277cc4b5bbe2aa87e364319fe.371.170905563200000016a3fa7face3b03e Feb 27 09:40:36 yosemite4 phosphor-dump-monitor[359]: Watch callback was called Feb 27 09:40:36 yosemite4 phosphor-dump-monitor[359]: FileName doesn't match expected name .#core.health-monitor.0.01d0274277cc4b5bbe2aa87e364319fe.371.1709055632000000.zstc0ad381d17052da5 ``` Tested: ``` DOCKER >>>> curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Managers/bmc/LogServices/Dump/Entries { "@odata.id": "/redfish/v1/Managers/bmc/LogServices/Dump/Entries", "@odata.type": "#LogEntryCollection.LogEntryCollection", "Description": "Collection of BMC Dump Entries", "Members": [ { "@odata.id": "/redfish/v1/Managers/bmc/LogServices/Dump/Entries/16", "@odata.type": "#LogEntry.v1_11_0.LogEntry", "AdditionalDataSizeBytes": 134120, "AdditionalDataURI": "/redfish/v1/Managers/bmc/LogServices/Dump/Entries/16/attachment", "Created": "2024-02-27T17:38:10.000000+00:00", "DiagnosticDataType": "Manager", "EntryType": "Event", "Id": "16", "Name": "BMC Dump Entry" } ], "Members@odata.count": 1, "Name": "BMC Dump Entries" } ``` Change-Id: Ie665de89c1dc1076c1a492631f764f5b899c5156 Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
-rw-r--r--meta-facebook/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-facebook/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend b/meta-facebook/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend
new file mode 100644
index 0000000000..03a44e830b
--- /dev/null
+++ b/meta-facebook/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend
@@ -0,0 +1 @@
+PACKAGECONFIG:append = " jffs-workaround"