From 60e8c2219fc46acc72138a73f7033d9dfd87d73f Mon Sep 17 00:00:00 2001 From: Jagpal Singh Gill Date: Mon, 14 Oct 2024 13:59:58 -0700 Subject: 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 --- meta-facebook/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644 meta-facebook/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend 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" -- cgit v1.2.3