History log of /openbmc/phosphor-debug-collector/ffdc (Results 1 – 11 of 11)
Revision Date Author Comments
# 41167a2a 10-Dec-2024 Jian Zhang <zhangjian.3032@bytedance.com>

dreport: collecting all namespace journal logs

For BMCs that support multiple namespaces to manage logs, add the
--namespace=* option to the journalctl command to collect all logs.

refer to systemd

dreport: collecting all namespace journal logs

For BMCs that support multiple namespaces to manage logs, add the
--namespace=* option to the journalctl command to collect all logs.

refer to systemd-journald.service.html[0].

Tested:
1. Prepare a namespace configuration, to isolate logs (in general for
the third-party code, like silicon vendor, etc), avoid too many
unexpected to noise the system.
```
~# cp /etc/systemd/journald.conf /etc/systemd/journald@intel.conf
~# mkdir -p /etc/systemd/system/com.intel.crashdump.service.d
~# echo "[Service]" > /etc/systemd/system/com.intel.crashdump.service.d/override.conf
~# echo "LogNamespace=intel" >> /etc/systemd/system/com.intel.crashdump.service.d/override.conf
~# reboot # or restart systemd-journald, and daemon-reload
````

2. using journalctl vs journalctl --namespace=*
```
~# journalctl -u com.intel.crashdump.service
Dec 10 16:56:49 xxx systemd[1]: Starting Intel BMC CPU Crashdump...
Dec 10 16:56:55 xxx systemd[1]: Started Intel BMC CPU Crashdump.
```

```
~# journalctl --namespace=*
Dec 10 16:56:49 xxx systemd[1]: Starting Intel BMC CPU Crashdump...
Dec 10 16:56:55 xxx systemd[1]: Started Intel BMC CPU Crashdump.
Dec 10 16:56:57 xxx crashdump[258]: Crashdump version: ....
Dec 10 16:56:57 xxx crashdump[258]: Initializing crashdump...
....
```

3. After this change, check the journal logs, and the journal logs
should be collect the logs from all namespaces.
```
cat journal-pretty.log| ag "Initializing crashdump"
"MESSAGE" : "Initializing crashdump...",
```

[0]: https://www.freedesktop.org/software/systemd/man/latest/systemd-journald.service.html#Journal%20Namespaces

Change-Id: I70f33eb6119cbe041bb0dc2aac527e02d8f5e757
Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com>

show more ...


# c04e0e0a 19-Jun-2023 Eddie James <eajames@linux.ibm.com>

Add linux trace events

Add the output of the linux trace buffer to user dumps, with
lowest priority since the file can be large (~10MB).

Change-Id: I186b123154098400245f24db438e2a79a8da8b10
Signed-

Add linux trace events

Add the output of the linux trace buffer to user dumps, with
lowest priority since the file can be large (~10MB).

Change-Id: I186b123154098400245f24db438e2a79a8da8b10
Signed-off-by: Eddie James <eajames@linux.ibm.com>

show more ...


# 9d26e4fa 08-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

beautysh: re-format

beautysh is enabled in the openbmc-build-scripts on Bash/Zsh/POSIX-sh
files to have a consistent formatting. Re-run the formatter on the
whole repository.

Signed-off-by: Patric

beautysh: re-format

beautysh is enabled in the openbmc-build-scripts on Bash/Zsh/POSIX-sh
files to have a consistent formatting. Re-run the formatter on the
whole repository.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I38048dcd55f2db51bcc87b33ea0748a6cfdcca68

show more ...


# d8166111 02-Nov-2017 Jayanth Othayoth <ojayanth@in.ibm.com>

ffdc: Enable dreport based ffdc debug data collection

Enabled dreport based debug data collection by default
in the ffdc tool.

Added -D option to disable the dreport based data collection
and switc

ffdc: Enable dreport based ffdc debug data collection

Enabled dreport based debug data collection by default
in the ffdc tool.

Added -D option to disable the dreport based data collection
and switch back to ffdc way.

Change-Id: I429533d3d04495ea3cda2bcb2b1090f1d971d530
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>

show more ...


# 8c996505 02-Nov-2017 Jayanth Othayoth <ojayanth@in.ibm.com>

Revert "ffdc: Added -e option to enable dump specific functions"

This reverts commit ab741df3415931d146460af88e79716e4bd40fe2.

ffdc -e option is no longer used by dump manager and it
is replaced by

Revert "ffdc: Added -e option to enable dump specific functions"

This reverts commit ab741df3415931d146460af88e79716e4bd40fe2.

ffdc -e option is no longer used by dump manager and it
is replaced by dreport.

Change-Id: I8a0c5f8627fa87571541b578711fc91bdd0ff4b8
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>

show more ...


# 56a0bc8a 22-Aug-2017 George Keishing <gkeishin@in.ibm.com>

Remove "cat /etc/version" from FFDC script.

This file is from older version of BMC, the newer no longer have
this file as part of the FW.

Change-Id: Iecda46592794517f80145f45f0ca32900a353885
Signed

Remove "cat /etc/version" from FFDC script.

This file is from older version of BMC, the newer no longer have
this file as part of the FW.

Change-Id: Iecda46592794517f80145f45f0ca32900a353885
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# 5cca05a8 13-Jul-2017 Jayanth Othayoth <ojayanth@in.ibm.com>

Include core file in FFDC tarball

Change-Id: I924b6724c715b81da5dc9d53094358993dcd335a
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>


# ab741df3 13-Jul-2017 Jayanth Othayoth <ojayanth@in.ibm.com>

ffdc: Added -e option to enable dump specific functions

Added support for the dump specific filename format.

Change-Id: I8771017c5a029675f98bca54170dc3330ac2c24d
Signed-off-by: Jayanth Othayoth <oj

ffdc: Added -e option to enable dump specific functions

Added support for the dump specific filename format.

Change-Id: I8771017c5a029675f98bca54170dc3330ac2c24d
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>

show more ...


# 599c7afe 09-Jul-2017 Jayanth Othayoth <ojayanth@in.ibm.com>

ffdc -d: enhancement

Create user specified ffdc location incase not present in the BMC.

Change-Id: If472ab34826b34037bc99cb978d5be77a51c30ec
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>


# a19440dc 20-Jun-2017 Jayanth Othayoth <ojayanth@in.ibm.com>

Add fix for ffdc tool -d option.

ffdc -d option expected to store the output in directory
specified by the user.
Fixed the incorrect behaviour in this option.

Change-Id: I2694c0a7d2050bd318aeb3792b

Add fix for ffdc tool -d option.

ffdc -d option expected to store the output in directory
specified by the user.
Fixed the incorrect behaviour in this option.

Change-Id: I2694c0a7d2050bd318aeb3792b96cb128d15ce82
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>

show more ...


# 3e3f28b4 18-Jan-2017 Michael Tritz <mtritz@us.ibm.com>

First version of FFDC script

This script provides users a command-line tool to collect and
tar up debug data.

Change-Id: I28b5431056625e6ff3d194f1ab668a0246b414b4
Signed-off-by: Michael Tritz <mtri

First version of FFDC script

This script provides users a command-line tool to collect and
tar up debug data.

Change-Id: I28b5431056625e6ff3d194f1ab668a0246b414b4
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>

show more ...