ba3e9141 | 12-Apr-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
ibm:dreport: move IBM specific dump plugins to repository
1) IBM specific plugins from the IBM specific dump recipe will be moved to ibm.d/plugins.d folder in the repository.
2) IBM specific dump r
ibm:dreport: move IBM specific dump plugins to repository
1) IBM specific plugins from the IBM specific dump recipe will be moved to ibm.d/plugins.d folder in the repository.
2) IBM specific dump recipe will install the IBM specific dump plugins from the repository.
4) Recipe changes will be made similar to https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/52752/6/ meta-openpower/recipes-phosphor/dump/phosphor-debug-collector_%2525.bbappend to copy plugins from repository to /usr/share during install
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I7f4d092d4678cee1c2831b024523057c2fc3474f
show more ...
|
7f8fe7fb | 14-Apr-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
dreport: add led manager persistent data to BMC dump
Adding plugin to copy /var/lib/phosphor-led-manager/ directory where LED manager persistent data is stored to BMC dump.
----------<Test case - f
dreport: add led manager persistent data to BMC dump
Adding plugin to copy /var/lib/phosphor-led-manager/ directory where LED manager persistent data is stored to BMC dump.
----------<Test case - failure in busctl command>------- Thu Apr 14 08:16:53 UTC 2022 ERROR: Failed to collect led groups Thu Apr 14 08:16:53 UTC 2022 INFO: Copied led groups /var/lib/phosphor-led-manager/
root@xxx:/tmp/test/obmcdump_00000000_1649924210# du -sh phosphor-led-manager/ 4.0K phosphor-led-manager/
----------<Test case - busctl command success>---------- root@xxx:/tmp/test/obmcdump_00000000_1649927154# ls -lah ledgroups.log -rw-r--r-- 1 root root 409.7K Apr 14 09:05 ledgroups.log
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I2939ae24762bf799f3fd1ccf6ebcc2c3c6d2c593
show more ...
|
888a1af9 | 12-Apr-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
dreport: add inventory persistent data to BMC dump
1.Run busctl command to get the inventory data and add to BMC dump. 2.Add /var/lib/phosphor-inventory-manager data to BMC dump.
Tested:
root@perf
dreport: add inventory persistent data to BMC dump
1.Run busctl command to get the inventory data and add to BMC dump. 2.Add /var/lib/phosphor-inventory-manager data to BMC dump.
Tested:
root@perfrain86bmc:/tmp/test/obmcdump_00000000_1649923539# du -sh phosphor-inventory-manager/ 12.4M phosphor-inventory-manager/ root@perfrain86bmc:/tmp/test/obmcdump_00000000_1649923539#
root@perfrain86bmc:/tmp/test/obmcdump_00000000_1649923539# ls -la inventory.log -rw-r--r-- 1 root root 0 Apr 14 08:05 inventory.log
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: Iccb50e5f3a068fe3e13326326bfc5e66471b8b9e
show more ...
|
3afa33d6 | 13-Apr-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
op:dreport change path of device-tree to copy to dump
1) At present using mount path, which might change so using the permanent path.
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-
op:dreport change path of device-tree to copy to dump
1) At present using mount path, which might change so using the permanent path.
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: Id29bbed3ac462ea6c74bb4112d515feb29657962
show more ...
|
fd4f3cad | 13-Apr-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
dreport: fix capturing guard data in BMC dump
At present using mount path to copy the guard partition to the BMC dump same is changed to /var/lib path as mount path is no longer used.
Export device
dreport: fix capturing guard data in BMC dump
At present using mount path to copy the guard partition to the BMC dump same is changed to /var/lib path as mount path is no longer used.
Export device tree environment variables as the guard tool needs it to parse the guard records from the guard partition.
Tested: [Guard list] ID | ERROR | Type | Path 00000001 | 00000000 | manual | physical:sys-0/node-0/proc-1
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I74b1720ce8c7140a59e00d35ac45ac8a7c020e53
show more ...
|
90a80d16 | 18-Oct-2022 |
Matt Spinler <spinler@us.ibm.com> |
Add README for dreport
Document how dreport works, especially the 'config' comment line in plugins that specifies when the plugins run.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I
Add README for dreport
Document how dreport works, especially the 'config' comment line in plugins that specifies when the plugins run.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I2063bd8ba8397139f38396752dfbb85eea570455
show more ...
|
2d38ad5a | 08-Sep-2022 |
Matt Spinler <spinler@us.ibm.com> |
dreport: Add phosphor-fan-monitor data to dump
Send the USR1 signal to phosphor-fan-monitor to collect its dump data as part of a BMC dump.
Tested:
~/BMCDUMP.139F210.00000041.20220908143628_out/ar
dreport: Add phosphor-fan-monitor data to dump
Send the USR1 signal to phosphor-fan-monitor to collect its dump data as part of a BMC dump.
Tested:
~/BMCDUMP.139F210.00000041.20220908143628_out/archive$ cat fan_monitor_dump.json { "logs": [], "sensors": { "sensors": { "/xyz/openbmc_project/sensors/fan_tach/fan0_0": { "functional": true, "in_range": true, "present": true, "prev_tachs": "[11904,11867,11904,11904,11867,11904,11867,11904]", "prev_targets": "[18000,0,0,0,0,0,0,0]", "tach": 11904.0, "target": 18000, "ticks": 0 }, ... }
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I1173a38a755edff14ee0d418ec29ac0c583a790f
show more ...
|
b7e6e2e4 | 02-Aug-2022 |
Matt Spinler <spinler@us.ibm.com> |
Test: dreport: Add entity-manager's system.json to dump
Add /var/configuration/system.json to BMC dumps as em-system.json. This file contains a JSON representation of the objects that entity-manage
Test: dreport: Add entity-manager's system.json to dump
Add /var/configuration/system.json to BMC dumps as em-system.json. This file contains a JSON representation of the objects that entity-manager puts on D-Bus and can be used to debug problems when entity-manager crashes.
Tested:
~/dumps/BMCDUMP.13BE960.00000000.20220802172737_out/archive$ ls -l em-system.json -rw-r--r--. 1 spinler spinler 10688 Aug 2 12:27 em-system.json
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Icc4e38e9594b578b83b65a23af8da67e514572c2
show more ...
|
124d31f0 | 11-Apr-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
dreport: Fix network and timedate plugin failures during BMC dump generation
1) Due to some script errors network and timedate plugins are failing during BMC dump generation fixed the same.
Failure
dreport: Fix network and timedate plugin failures during BMC dump generation
1) Due to some script errors network and timedate plugins are failing during BMC dump generation fixed the same.
Failures: /usr/share/dreport.d/pl_user.d/E30network: line 12: add_cmd_output: command not found /usr/share/dreport.d/pl_user.d/E30timedate: line 12: [: missing `]'
Tested: timedate.log timedatectl] Local time: Mon 2022-04-11 12:41:19 UTC Universal time: Mon 2022-04-11 12:41:19 UTC RTC time: Mon 2022-04-11 12:41:19 Time zone: UTC (UTC, +0000) System clock synchronized: no NTP service: active RTC in local TZ: no
network.log [netstat] Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 9.3.23.1 0.0.0.0 UG 0 0 0 eth1 0.0.0.0 9.3.23.1 0.0.0.0 UG 0 0 0 eth0 9.3.23.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: Id60b3238657af7edb3100319bfa57ab6503bad13
show more ...
|
33700c7c | 12-Apr-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
ibm:dreport add vpd persistent data to BMC dump
1) Added vpd persistent data to BMC dump 2) Included existing badbpd plugin contents here
Tested: Apr 12 07:56:59 UTC 2022 INFO: Copied vpd data /var
ibm:dreport add vpd persistent data to BMC dump
1) Added vpd persistent data to BMC dump 2) Included existing badbpd plugin contents here
Tested: Apr 12 07:56:59 UTC 2022 INFO: Copied vpd data /var/lib/vpd root@rain104bmc:/tmp/test/obmcdump_00000000_1649750320# du -sh vpd/ 140.0K vpd/
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: Ibc090ea6ab5a4ee9dd4f2ea627748d582c54bdf0
show more ...
|
d78c4ef4 | 30-Mar-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
openpower:dreport: add guarded resolved and ephemeral records to BMC dump
1) Append GUARD blob to the dump 2) List guard records, resolved records and ephemeral records and write to guard.log file 3
openpower:dreport: add guarded resolved and ephemeral records to BMC dump
1) Append GUARD blob to the dump 2) List guard records, resolved records and ephemeral records and write to guard.log file 3) Append guard.log file to the dump
Tested: root@ever8bmc:/tmp/test/obmcdump_00000000_1648632722# ls -lah GUARD -r--r----- 1 root root 20.0K Mar 30 09:32 GUARD root@ever8bmc:/tmp/test/obmcdump_00000000_1648632722#
root@ever8bmc:/tmp/test/obmcdump_00000000_1648632722# cat guard.log [Guard List] ID | ERROR | Type | Path 00000001 | 00000000 | manual | physical:sys-0/node-0/proc-1/eq-0/fc-0/core-0
[Guard resolved records] ID | ERROR | Type | Path ffffffff | 90001220 | unrecoverable | physical:sys-0/node-0/proc-3/pauc-3/iohs-0/smpgroup-1 ffffffff | 90001220 | unrecoverable | physical:sys-0/node-0/proc-0/pauc-3/iohs-1/smpgroup-0 ffffffff | 90001223 | unrecoverable | physical:sys-0/node-0/proc-3/pauc-2/iohs-1/smpgroup-1 ffffffff | 90001223 | unrecoverable | physical:sys-0/node-0/proc-6/pauc-3/iohs-1/smpgroup-0 ffffffff | 90001224 | unrecoverable | physical:sys-0/node-0/proc-3/pauc-2/iohs-1/smpgroup-0 ffffffff | 90001224 | unrecoverable | physical:sys-0/node-0/proc-7/pauc-3/iohs-1/smpgroup-0 ffffffff | 900007c3 | unrecoverable | physical:sys-0/node-0/proc-7/pauc-3/iohs-1/smpgroup-0 ffffffff | 50000527 | predictive | physical:sys-0/node-0/proc-6 ffffffff | 50000528 | predictive | physical:sys-0/node-0/proc-7 ffffffff | 50000712 | predictive | physical:sys-0/node-0/proc-2/pauc-3/iohs-1/smpgroup-1 ffffffff | 50000712 | predictive | physical:sys-0/node-0/proc-0/pauc-3/iohs-1/smpgroup-1
[Guard ephemeral records]
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: Ibd3e21a69cd98c3d1b5bee9fa8251566f04e741b
show more ...
|
ad298b6e | 29-Mar-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
openpower:dreport: add core and BMC generated dump file list to the BMC dump
List all the dump file names with path and append the output file to BMC dump.
Tested [core files]
[BMC dumps] /var/lib
openpower:dreport: add core and BMC generated dump file list to the BMC dump
List all the dump file names with path and append the output file to BMC dump.
Tested [core files]
[BMC dumps] /var/lib/phosphor-debug-collector/dumps/23/BMCDUMP.13E8CEX.00000023.20220328231804 /var/lib/phosphor-debug-collector/dumps/24/BMCDUMP.13E8CEX.00000024.20220329045155
[Hardware dumps]
[Hostboot dumps]
[SBE dumps]
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: Iac5f0e6d542ba1fa5b18b5c9399ee7537e05e274
show more ...
|
081ff834 | 29-Mar-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
dreport: add active services (systemd) status to the BMC dump
Generate the status of the active services "systemctl status --all" and add it to the dump.
Tested: State: degraded Jobs: 0 qu
dreport: add active services (systemd) status to the BMC dump
Generate the status of the active services "systemctl status --all" and add it to the dump.
Tested: State: degraded Jobs: 0 queued Failed: 3 units Since: Wed 2022-03-30 03:17:48 UTC; 7min ago CGroup: / ├─sys-kernel-debug.mount ├─sys-kernel-config.mount
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I45cef0ccfd4c86711a64bf5dcacb04f89bc5b50d
show more ...
|
9bd89b69 | 28-Mar-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
openpower:dreport: add PHAL device tree debug data to BMC dump
1. Generate attribute list to a file and append the file to the dump.
2. Append the device tree blob file to the dump
3. Append expor
openpower:dreport: add PHAL device tree debug data to BMC dump
1. Generate attribute list to a file and append the file to the dump.
2. Append the device tree blob file to the dump
3. Append export device tree file to the dump
4. Append attributes_info.db file to the dump
Tested root@ever8bmc:/tmp/test/obmcdump_00000000_1648657576# ls -lah DEVTREE -r--r----- 1 root root 840.0K Mar 30 16:26 DEVTREE root@ever8bmc:/tmp/test/obmcdump_00000000_1648657576# ls -lah attributes_info.db -rw-r--r-- 1 root root 10.4K Mar 30 16:26 attributes_info.db root@ever8bmc:/tmp/test/obmcdump_00000000_1648657576# ls -lah PHAL_devtree.txt -rw-r--r-- 1 root root 2.2M Mar 30 16:26 PHAL_devtree.txt
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I3b60f136e04be2ed44349c9c91fe3858dd78a91a
show more ...
|
30ff78ba | 28-Mar-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
dreport: add hwmon details to the BMC dump
Copy the hwmon details from /sys/class/hwmon/* to hwmon.log and append the file to the BMC dump
Tested: /sys/class/hwmon/hwmon0/in1_max_alarm: 0 /sys/clas
dreport: add hwmon details to the BMC dump
Copy the hwmon details from /sys/class/hwmon/* to hwmon.log and append the file to the BMC dump
Tested: /sys/class/hwmon/hwmon0/in1_max_alarm: 0 /sys/class/hwmon/hwmon0/curr2_crit_alarm: 0 /sys/class/hwmon/hwmon0/temp5_crit: -500
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I20a2f20323a9d5095eac0cede46595a2e011ba9f
show more ...
|
fcc91644 | 25-Mar-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
dreport: add active file descriptors list to the BMC dump
List all the active file descriptors to procfd.log and append the file to the BMC dump
Tested: cat procfd.log /proc/1/fd/: lrwx------ 1
dreport: add active file descriptors list to the BMC dump
List all the active file descriptors to procfd.log and append the file to the BMC dump
Tested: cat procfd.log /proc/1/fd/: lrwx------ 1 root root 64 Mar 25 11:05 0 -> /dev/null lrwx------ 1 root root 64 Mar 25 11:05 1 -> /dev/null
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I412abade104e5685a42150036e5149dadc94b3e7
show more ...
|
6f4870aa | 25-Mar-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
openpower:dreport: add obmconsole1 log file to the BMC dump
Add the host console log to the BMC dump.
Tested: root@xxxxbmc:/tmp/test/obmcdump_00000000_1648205747# cat obmc-console1.log 0B6EB088 "FC
openpower:dreport: add obmconsole1 log file to the BMC dump
Add the host console log to the BMC dump.
Tested: root@xxxxbmc:/tmp/test/obmcdump_00000000_1648205747# cat obmc-console1.log 0B6EB088 "FC" 000000000053000B 1599.92700|1329 SBEIO|trace_lite 15FEB01A 0000000000000001 0000000000000004 0
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: Ia2f0bb8a89d4e2a9d7249fd6e8d7efa6194f1542
show more ...
|
55e92765 | 25-Mar-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
dreport: add fanctl dump output to BMC dump
Execute "fanctl dump" command and append the output json file to the BMC dump.
Tested: Fan control dump written to: /tmp/fan_control_dump.json { "fli
dreport: add fanctl dump output to BMC dump
Execute "fanctl dump" command and append the output json file to the BMC dump.
Tested: Fan control dump written to: /tmp/fan_control_dump.json { "flight_recorder": [ "Mar 24 14:12:55.323331: main: Startup", . . .
}
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I52e972382f9e9c2aabab8c9034fd4da7775203e5
show more ...
|
8762fe1c | 24-Mar-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
dreport: Add time and date to the BMC dump
Execute the script and append the output log file to BMC dump.
[timedatectl] Local time: Thu 2022-03-24 10:28:17 UTC Universal t
dreport: Add time and date to the BMC dump
Execute the script and append the output log file to BMC dump.
[timedatectl] Local time: Thu 2022-03-24 10:28:17 UTC Universal time: Thu 2022-03-24 10:28:17 UTC RTC time: Thu 2022-03-24 10:28:17 Time zone: UTC (UTC, +0000) System clock synchronized: no NTP service: active RTC in local TZ: no
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: Ie1ac4e730d93d1959b2543de00b98c7513552560
show more ...
|
1640a3d1 | 24-Mar-2022 |
Marri Devender Rao <devenrao@in.ibm.com> |
dreport: add network details to the BMC dump
Captured below information and add it to the BMC dump
1) Adding route info the network.log file 2) Adding contents of eth0 and eth1 to the network.log f
dreport: add network details to the BMC dump
Captured below information and add it to the BMC dump
1) Adding route info the network.log file 2) Adding contents of eth0 and eth1 to the network.log file 3) Add network interface statistics to the network.log file 4) Add active TCP connection details to the network.log file
Append network.log to the BMC dump
Tested: [route] Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default x.x.xx.x 0.0.0.0 UG 0 0 0 eth1 default x.x.xx.x 0.0.0.0 UG 0 0 0 eth0 x.x.xx.0 * 255.255.255.0 U 0 0 0 eth0
[eth0] [Match] Name=eth0 [Link] MACAddress=xx:xx:xx:xx:xx:xx [Network] LinkLocalAddressing=no IPv6AcceptRA=false DHCP=ipv6 [Address] Address=x.x.xx.xxx/xx [Route] Gateway=x.x.xx.x [DHCP] ClientIdentifier=mac UseDNS=true UseNTP=true UseHostname=true SendHostname=true
[eth1] [Match] Name=eth1 [Link] MACAddress=xx:xx:xx:xx:xx:xx [Network] LinkLocalAddressing=no IPv6AcceptRA=false DHCP=true [Route] Gateway=x.x.xx.x [DHCP] ClientIdentifier=mac UseDNS=true UseNTP=true UseHostname=true SendHostname=true
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I8325b18400140f8f6e1463a5abbc1b9c526fad99
show more ...
|
af3b526d | 07-Mar-2022 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added error handling support in badvpd
This is to fix below error message in the journal logs. cp: can't stat '/tmp/bad-vpd': No such file or directory
"bad-vpd" is an optional file create
dreport: Added error handling support in badvpd
This is to fix below error message in the journal logs. cp: can't stat '/tmp/bad-vpd': No such file or directory
"bad-vpd" is an optional file created vpd, to store the failing data.
Tested: verified using dreport command line tool "INFO: No Bad VPD data"
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I56854c044d5479f48669736204d9b929fc5d8db5
show more ...
|
18be42d0 | 23-Feb-2022 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added dmesginfo plugin
Plugin used for collecting dmesg log
Tested: verified using dreport
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: If374c7c3a5d861bc6d562f2e23b428
dreport: Added dmesginfo plugin
Plugin used for collecting dmesg log
Tested: verified using dreport
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: If374c7c3a5d861bc6d562f2e23b4287ad1bb979e
show more ...
|
15de8884 | 17-Feb-2022 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: Added pldmflightrecorder plugin
Plugin used for collecting pldm flight recorder
Tested: verified using dreport
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I49f5a06507
dreport: Added pldmflightrecorder plugin
Plugin used for collecting pldm flight recorder
Tested: verified using dreport
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I49f5a06507593fc6dc07a2ae3d0e36891d176dfc
show more ...
|
4d9b3a75 | 17-Feb-2022 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: fix symlinks copy
Added -L option during directory copy to always follow symbolic links in SOURCE.
Tested: Verified using dreport.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Ch
dreport: fix symlinks copy
Added -L option during directory copy to always follow symbolic links in SOURCE.
Tested: Verified using dreport.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I65312424591ab4c29ef89df403dbdf999b3b6fa7
show more ...
|
a96d0b28 | 17-Feb-2022 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
dreport: fix missing log messages related to skipping copy
Existing add_copy_file function not logging "skipping copy" warning message incase dump size is reached to max size.
This message logging
dreport: fix missing log messages related to skipping copy
Existing add_copy_file function not logging "skipping copy" warning message incase dump size is reached to max size.
This message logging problem is fixed by call log function prior to return call.
Tested: verified using dreport tool
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I98ebe43e455e9b4cb93a102b7eb27e2a0f677309
show more ...
|