| 711efd8a | 19-Jun-2025 |
Gopichand Paturi <gopichandpaturi@gmail.com> |
ody_sbe_dump: Add dump content type for odyssey dumps
Odyssey dumps are sbe dumps, add dump content type into dump header so that dump extraction tools can classify it as a Odyssey sbe dump.
Verifi
ody_sbe_dump: Add dump content type for odyssey dumps
Odyssey dumps are sbe dumps, add dump content type into dump header so that dump extraction tools can classify it as a Odyssey sbe dump.
Verified: ``` BEFORE - ODY_SBE_DUMP 00000000 46 49 4c 45 20 20 20 20 00 40 00 00 00 00 00 00 |FILE .@......| 00000010 00 00 00 00 00 01 00 0f 53 59 53 44 55 4d 50 2e |........SYSDUMP.| 00000020 31 33 39 46 32 33 30 2e 34 30 30 30 30 30 30 46 |139F230.4000000F| 00000030 2e 32 30 32 35 30 36 31 39 31 36 35 39 33 34 00 |.20250619165934.| 00000040 53 45 43 54 49 4f 4e 20 00 30 00 00 00 00 00 00 |SECTION .0......| 00000050 00 00 00 00 00 02 00 00 00 00 00 00 00 00 04 00 |................| 00000060 44 55 4d 50 20 53 55 4d 4d 41 52 59 00 00 00 00 |DUMP SUMMARY....| 00000070 53 45 43 54 49 4f 4e 20 00 30 00 02 00 00 00 00 |SECTION .0......| 00000080 00 00 00 00 00 02 00 00 00 00 00 00 00 03 78 1d |..............x.| 00000090 48 41 52 44 57 41 52 45 20 44 41 54 41 00 00 00 |HARDWARE DATA...| 000000a0 53 45 43 54 49 4f 4e 20 00 30 00 02 00 00 00 00 |SECTION .0......| 000000b0 00 00 00 01 00 02 00 00 00 00 00 00 00 00 00 00 |................| 000000c0 48 59 50 45 52 56 49 53 4f 52 20 44 41 54 41 00 |HYPERVISOR DATA.| 000000d0 53 59 53 20 44 55 4d 50 20 25 06 19 16 59 34 00 |SYS DUMP %...Y4.| 000000e0 40 00 00 0f 02 21 04 00 00 00 00 00 00 03 7c 1d |@....!........|.| 000000f0 39 31 30 35 2d 32 32 41 00 00 00 00 00 00 00 00 |9105-22A........| 00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000110 70 31 30 62 6d 63 00 00 00 00 00 00 00 00 00 00 |p10bmc..........| 00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000130 31 33 39 46 32 33 30 01 00 00 00 00 00 d0 00 00 |139F230.........| 00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000360 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000370 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
AFTER FIX- ODY_SBE_DUMP 00000000 46 49 4c 45 20 20 20 20 00 40 00 00 00 00 00 00 |FILE .@......| 00000010 00 00 00 00 00 01 00 0f 53 59 53 44 55 4d 50 2e |........SYSDUMP.| 00000020 31 33 39 46 32 33 30 2e 34 30 30 30 30 30 31 33 |139F230.40000013| 00000030 2e 32 30 32 35 30 36 31 39 31 37 33 30 35 30 00 |.20250619173050.| 00000040 53 45 43 54 49 4f 4e 20 00 30 00 00 00 00 00 00 |SECTION .0......| 00000050 00 00 00 00 00 02 00 00 00 00 00 00 00 00 04 00 |................| 00000060 44 55 4d 50 20 53 55 4d 4d 41 52 59 00 00 00 00 |DUMP SUMMARY....| 00000070 53 45 43 54 49 4f 4e 20 00 30 00 02 00 00 00 00 |SECTION .0......| 00000080 00 00 00 00 00 02 00 00 00 00 00 00 00 03 78 3d |..............x=| 00000090 48 41 52 44 57 41 52 45 20 44 41 54 41 00 00 00 |HARDWARE DATA...| 000000a0 53 45 43 54 49 4f 4e 20 00 30 00 02 00 00 00 00 |SECTION .0......| 000000b0 00 00 00 01 00 02 00 00 00 00 00 00 00 00 00 00 |................| 000000c0 48 59 50 45 52 56 49 53 4f 52 20 44 41 54 41 00 |HYPERVISOR DATA.| 000000d0 53 59 53 20 44 55 4d 50 20 25 06 19 17 30 50 00 |SYS DUMP %...0P.| 000000e0 40 00 00 13 02 21 04 00 00 00 00 00 00 03 7c 3d |@....!........|=| 000000f0 39 31 30 35 2d 32 32 41 00 00 00 00 00 00 00 00 |9105-22A........| 00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000110 70 31 30 62 6d 63 00 00 00 00 00 00 00 00 00 00 |p10bmc..........| 00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000130 31 33 39 46 32 33 30 01 00 00 00 00 00 d0 00 00 |139F230.........| 00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000330 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000360 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000370 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
AFTER FIX (PROC SBE DUMP REMAINS UNAFFECTED) 00000000 46 49 4c 45 20 20 20 20 00 40 00 00 00 00 00 00 |FILE .@......| 00000010 00 00 00 00 00 01 00 0f 53 59 53 44 55 4d 50 2e |........SYSDUMP.| 00000020 31 33 39 46 32 33 30 2e 33 30 30 30 30 30 31 34 |139F230.30000014| 00000030 2e 32 30 32 35 30 36 31 39 31 37 33 37 33 37 00 |.20250619173737.| 00000040 53 45 43 54 49 4f 4e 20 00 30 00 00 00 00 00 00 |SECTION .0......| 00000050 00 00 00 00 00 02 00 00 00 00 00 00 00 00 04 00 |................| 00000060 44 55 4d 50 20 53 55 4d 4d 41 52 59 00 00 00 00 |DUMP SUMMARY....| 00000070 53 45 43 54 49 4f 4e 20 00 30 00 02 00 00 00 00 |SECTION .0......| 00000080 00 00 00 00 00 02 00 00 00 00 00 00 00 04 04 ac |................| 00000090 48 41 52 44 57 41 52 45 20 44 41 54 41 00 00 00 |HARDWARE DATA...| 000000a0 53 45 43 54 49 4f 4e 20 00 30 00 02 00 00 00 00 |SECTION .0......| 000000b0 00 00 00 01 00 02 00 00 00 00 00 00 00 00 00 00 |................| 000000c0 48 59 50 45 52 56 49 53 4f 52 20 44 41 54 41 00 |HYPERVISOR DATA.| 000000d0 53 59 53 20 44 55 4d 50 20 25 06 19 17 37 37 00 |SYS DUMP %...77.| 000000e0 30 00 00 14 02 21 04 00 00 00 00 00 00 04 08 ac |0....!..........| 000000f0 39 31 30 35 2d 32 32 41 00 00 00 00 00 00 00 00 |9105-22A........| 00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000110 70 31 30 62 6d 63 00 00 00 00 00 00 00 00 00 00 |p10bmc..........| 00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000130 31 33 39 46 32 33 30 01 00 00 00 00 00 d0 00 00 |139F230.........| 00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000330 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000360 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| ```
Change-Id: I3e032545ffe586c29dc677b5d93bd461bedf3288 Signed-off-by: Gopichand Paturi <gopichandpaturi@gmail.com>
show more ...
|
| da97c067 | 03-Dec-2025 |
Sera Susan Koshy <Sera.Koshy@ibm.com> |
bmcdump: Fix fetch serial number function in shell script
An extra space caused the shell to interpret the statement incorrectly, leading to unexpected behavior. The extra space was removed.
``` Te
bmcdump: Fix fetch serial number function in shell script
An extra space caused the shell to interpret the statement incorrectly, leading to unexpected behavior. The extra space was removed.
``` Test Results :
Before: Nov 26 07:30:18 p10bmc phosphor-dump-manager[2873]: /usr/share/dreport.d/include.d/opfunctions: line 15: [: missing `]' Nov 26 07:30:18 p10bmc phosphor-dump-manager[2878]: /usr/share/dreport.d/include.d/opfunctions: line 15: 137A791: command not found Nov 26 07:30:18 p10bmc phosphor-dump-manager[2873]: performing dump compression /tmp/BMCDUMP.0000000.00000051.20251126072948 Nov 26 07:30:21 p10bmc phosphor-dump-manager[2873]: Adding Dump Header :/usr/share/dreport.d/include.d/gendumpheader Nov 26 07:30:21 p10bmc phosphor-dump-manager[2902]: /usr/share/dreport.d/include.d/opfunctions: line 15: [: missing `]' Nov 26 07:30:21 p10bmc phosphor-dump-manager[2924]: /usr/share/dreport.d/include.d/opfunctions: line 15: 137A791: command not found Nov 26 07:30:39 p10bmc phosphor-dump-manager[2873]: Wed Nov 26 07:30:39 UTC 2025 Report is available in /var/lib/phosphor-debug-collector/dumps/51
After: Nov 26 07:39:43 p10bmc phosphor-dump-manager[3487]: performing dump compression /tmp/BMCDUMP.137A791.00000052.20251126073911 Nov 26 07:39:45 p10bmc phosphor-dump-manager[3487]: Adding Dump Header :/usr/share/dreport.d/include.d/gendumpheader Nov 26 07:40:03 p10bmc phosphor-dump-manager[3487]: Wed Nov 26 07:40:03 UTC 2025 Report is available in /var/lib/phosphor-debug-collector/dumps/52 Nov 26 07:40:03 p10bmc phosphor-dump-manager[3101]: Wed Nov 26 07:40:03 UTC 2025 Successfully completed ```
Change-Id: Ic1b4c3d5ec47efd664f4f610b7c40075a389fc8b Signed-off-by: Sera Susan Koshy <Sera.Koshy@ibm.com>
show more ...
|
| ccfcc08e | 18-Nov-2025 |
Parasa-Swetha1 <Parasa.Swetha1@ibm.com> |
opfunctions: Fix serial number check
If the serial number contains invalid characters, the BMC dump filename and header may be incorrect, causing extraction errors. Check that the serial number is
opfunctions: Fix serial number check
If the serial number contains invalid characters, the BMC dump filename and header may be incorrect, causing extraction errors. Check that the serial number is an alphanumeric string exactly 7 characters long; if it is not, assign 0000000 as a default value.
Test Results:
``` Before: Nov 23 01:04:53 p10bmc phosphor-dump-manager[10552]: serial no '' Nov 23 01:04:53 p10bmc phosphor-dump-manager[10552]: performing dump compression /tmp/BMCDUMP.''.00000016.20261123010343 Nov 23 01:04:56 p10bmc phosphor-dump-manager[10552]: Adding Dump Header :/usr/share/dreport.d/include.d/gendumpheader Nov 23 01:05:03 p10bmc phosphor-dump-manager[10552]: Mon Nov 23 01:05:03 UTC 2026 Report is available in /var/lib/phosphor-debug-collector/dumps/16 Nov 23 01:05:03 p10bmc phosphor-dump-manager[504]: Invalid Dump file name, FILENAME: /var/lib/phosphor-debug-collector/dumps/16/BMCDUMP.''.00000016.20261123010343
After: Nov 23 01:07:25 p10bmc phosphor-dump-manager[11104]: serial no '' Nov 23 01:07:25 p10bmc phosphor-dump-manager[11104]: performing dump compression /tmp/BMCDUMP.0000000.00000017.20261123010614 Nov 23 01:07:27 p10bmc phosphor-dump-manager[11104]: Adding Dump Header :/usr/share/dreport.d/include.d/gendumpheader Nov 23 01:07:35 p10bmc phosphor-dump-manager[11104]: Mon Nov 23 01:07:35 UTC 2026 Report is available in /var/lib/phosphor-debug-collector/dumps/17 Nov 23 01:07:35 p10bmc phosphor-dump-manager[10704]: Mon Nov 23 01:07:35 UTC 2026 Successfully completed ```
Change-Id: Ic4bbc83c7ca30c4b51aca10268188811b7584897 Signed-off-by: Swetha Parasa <parasa.swetha1@ibm.com>
show more ...
|
| 05dfcaac | 05-Nov-2024 |
Gopichand Paturi <gopichandpaturi@gmail.com> |
dumpheader: Add default serial number in the header
Whenever the serialNo is empty, use a default serial number (all zeroes) so that scripts/apps that decode the dump header would not throw errors.
dumpheader: Add default serial number in the header
Whenever the serialNo is empty, use a default serial number (all zeroes) so that scripts/apps that decode the dump header would not throw errors.
Use fetch_serial_number() so that default serialNo gets populated whenever the serialNo is empty.
Verified that the default serial number is utilized.
Change-Id: I0d9a8cc9e257ed0a852aaca5e6cb0c1833abd41e Signed-off-by: Gopichand Paturi <gopichandpaturi@gmail.com>
show more ...
|
| 1bee03b8 | 13-Jun-2024 |
Swarnendu-R-C <Swarnendu.Roy.Chowdhury@ibm.com> |
gendumpheader: Originator details info added
There are two parameters available for each dump, Originator ID and Originator Type. This change aims to include these fields into the BMC dump header.
gendumpheader: Originator details info added
There are two parameters available for each dump, Originator ID and Originator Type. This change aims to include these fields into the BMC dump header.
If for any reason either the originator ID or originator type or both are unavailable then they are been replaced by their allocated null bytes.
Test Results: Tested on generated BMC dumps and verified.
Signed-off-by: Swarnendu Roy Chowdhury <swarnendu.roy.chowdhury@ibm.com> Signed-off-by: Gopichand Paturi <gopichandpaturi@gmail.com> Change-Id: I611cce4f19aaef13c3ee68c16cf7b4fb2f841591
show more ...
|
| ed53dc7d | 24-Jan-2025 |
SwethaParasa <parasa.swetha1@ibm.com> |
Add error info to dump on collection failures
There is a possibility that dump collection may fail due to hardware procedure execution errors or other issues. Modified info.yaml to store error infor
Add error info to dump on collection failures
There is a possibility that dump collection may fail due to hardware procedure execution errors or other issues. Modified info.yaml to store error information along with driver details in case of dump collection failures.
Change-Id: I74c2fb8ebc31d1c3bd60feffa3f0467faa435d5c Signed-off-by: Swetha Parasa <parasa.swetha1@ibm.com>
show more ...
|
| 0d72381f | 24-Oct-2024 |
Gopichand Paturi <gopichandpaturi@gmail.com> |
Faultlog: Add support to install Faultlog
Add faultlog to bmcdump plugins and include faultlog in dreport_op.conf which shall install the plugin from meta-ibm layer in openbmc repo and creates sym-l
Faultlog: Add support to install Faultlog
Add faultlog to bmcdump plugins and include faultlog in dreport_op.conf which shall install the plugin from meta-ibm layer in openbmc repo and creates sym-link.
Test Results: Verified that openpower-debug-collector recipe installs faultlog script
sysroot-destdir$ ls usr/share/dreport.d/pl_faultdata.d E10faultlog
Change-Id: I46ece91a04d4d40a3bd72771d6fea11468e5e403 Signed-off-by: Gopichand Paturi <gopichandpaturi@gmail.com>
show more ...
|
| 9a39f43d | 18-Oct-2024 |
SwethaParasa <parasa.swetha1@ibm.com> |
opfunctions: Fix dumpId length
Dump Id in BMC Dump Filename is padded to 7 digits instead of 8 digits. This is causing file name mismatch between the dump offloaded to HMC/OS and the dump stored on
opfunctions: Fix dumpId length
Dump Id in BMC Dump Filename is padded to 7 digits instead of 8 digits. This is causing file name mismatch between the dump offloaded to HMC/OS and the dump stored on BMC. Fixing this issue by padding Dump Id to 8 digits.
Test Results:
Before: root@p10bmc:/var/lib/phosphor-debug-collector/dumps/6# ls BMCDUMP.13ECF8X.0000006.20241001051003
After: root@p10bmc:/var/lib/phosphor-debug-collector/dumps/17# ls BMCDUMP.1012345.00000017.20330125023119
Change-Id: I04c469ad3aaf6480c5732445ba7f8e644357262e Signed-off-by: SwethaParasa <parasa.swetha1@ibm.com>
show more ...
|
| eb46252d | 17-Jun-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://githu
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: Ib615c5fe1dfb01fc0adedd692524fe145c8c4e82 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
| 24226c4f | 16-May-2024 |
Gopichand Paturi <gopichandpaturi@gmail.com> |
Move dump scripts from phosphor-debug-collector
This commit is intended to move the dump collection scripts from openbmc/phosphor-debug-collector repository. Following are the scripts that are pulle
Move dump scripts from phosphor-debug-collector
This commit is intended to move the dump collection scripts from openbmc/phosphor-debug-collector repository. Following are the scripts that are pulled from the specified paths of openbmc/phosphor-debug-collector.
1. tools/dreport.d/ibm.d/package 2. tools/dreport.d/ibm.d/plugins.d/pels 3. tools/dreport.d/ibm.d/plugins.d/badpel 4. tools/dreport.d/ibm.d/plugins.d/vpd_data 5. tools/dreport.d/openpower.d/plugins.d/cfam 6. tools/dreport.d/openpower.d/plugins.d/dumpfilelist 7. tools/dreport.d/openpower.d/plugins.d/guardlist 8. tools/dreport.d/openpower.d/plugins.d/obmcconsole1 9. tools/dreport.d/openpower.d/plugins.d/occ 10.tools/dreport.d/openpower.d/plugins.d/phal_devtree
Also the following 3 patches have been applied. 1.https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/56428 2.https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/52436 3.https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/47917
Also, added meson changes to install the scripts.
Test: Verified that the scripts are getting installed correctly on BMC.
Change-Id: Iaddf909efaa138db06c877e5ca6a80608feb5baf Signed-off-by: Gopichand Paturi <gopichandpaturi@gmail.com>
show more ...
|
| 9eb4e482 | 17-May-2024 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Add script to generate dump info file
This commit introduces the gendumpinfo script which generates the info.yaml file containing metadata about the dump. It also updates the meson.build files to in
Add script to generate dump info file
This commit introduces the gendumpinfo script which generates the info.yaml file containing metadata about the dump. It also updates the meson.build files to include this script in the build process and ensures it gets installed correctly.
Change-Id: Idcd550ceac912ff42ce2df2bfcb333b4c8b8644b Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
| 65d15fb3 | 18-May-2024 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Create Dump Header for IBM Systems
Creating a dump header for IBM systems involves adding a new script to generate these headers specifically for IBM. This change only impacts IBM-specific systems a
Create Dump Header for IBM Systems
Creating a dump header for IBM systems involves adding a new script to generate these headers specifically for IBM. This change only impacts IBM-specific systems and does not alter the existing dump package format for other systems. For IBM systems, the generated header will be appended to the dump, ensuring compatibility with the existing dump process. Non-IBM systems will continue to use the current dump format without any modifications. This enhancement maintains the integrity and format of dumps across different systems while providing a consistent and specific dump format for IBM systems.
Change-Id: Id6540c90d7519cdd3a96af691a32d906c5e5b63e Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|