Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I9116ed7260e369136acb39eec15075db2d4dbeba
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Bad VPD plugin is an IBM specific plugin which collects all the
corrupted VPD files from /tmp/bad-vpd and puts it as a part of user
initiated BMC dump.
Openpower-vpd-parser makes a copy of the corrupted vpd's into
/tmp/bad-vpd at runtime, whenever there occurs a VPD ECC exception or
VPD record/keyword data exception.
Installed badvpd plugin in dreport via phosphor-debug-collector recipe.
Placed badvpd plugin in
openbmc/phosphor-debug-collector/tools/dreport/ibm.d directory as we
collect bad vpds' only when "ibm-parser" feature flag is enabled.
Tested on simics.
root@rainier:~# dreport -v
Wed Mar 3 04:43:18 UTC 2021 Name: obmcdump_00000000_1614746598.tar.xz
Wed Mar 3 04:43:18 UTC 2021 Epochtime: 1614746598
Wed Mar 3 04:43:18 UTC 2021 ID: 00000000
Wed Mar 3 04:43:18 UTC 2021 Type: user
Wed Mar 3 04:43:18 UTC 2021 INFO: Collected disk usage
Wed Mar 3 04:43:18 UTC 2021 INFO: Collected failed services
Wed Mar 3 04:43:19 UTC 2021 INFO: Collected Journal pretty log
Wed Mar 3 04:43:19 UTC 2021 INFO: Copied Memory info /proc/meminfo
Wed Mar 3 04:43:19 UTC 2021 INFO: Collected top
Wed Mar 3 04:43:19 UTC 2021 INFO: Copied Bad VPD /tmp/bad-vpd
Wed Mar 3 04:43:19 UTC 2021 INFO: Copied OS release info /etc/os-release
Wed Mar 3 04:43:19 UTC 2021 INFO: No elog entries
Wed Mar 3 04:43:19 UTC 2021 INFO: Collected inventory
Wed Mar 3 04:43:19 UTC 2021 INFO: Copied OBMC console log /var/log/obmc-console.log
Wed Mar 3 04:43:19 UTC 2021 INFO: Collected ip addr
Wed Mar 3 04:43:19 UTC 2021 INFO: Collected ip link
Wed Mar 3 04:43:19 UTC 2021 INFO: Collected PRI-Flash: U-Boot environment variables
Wed Mar 3 04:43:19 UTC 2021 INFO: Copied GUARD Records /var/lib/phosphor-software-manager/pnor/prsv/GUARD
Wed Mar 3 04:43:19 UTC 2021 ERROR: /etc/alt_fw_env.config does not exist
Wed Mar 3 04:43:19 UTC 2021 INFO: Copied CPU info /proc/cpuinfo
Wed Mar 3 04:43:19 UTC 2021 INFO: Collected uptime
Wed Mar 3 04:43:19 UTC 2021 INFO: Collected BMC State
Wed Mar 3 04:43:19 UTC 2021 INFO: Collected Chassis State
Wed Mar 3 04:43:19 UTC 2021 INFO: Collected hostnamectl
Wed Mar 3 04:43:19 UTC 2021 INFO: Collected Host State
Adding Dump Header :/usr/share/dreport.d/include.d/gendumpheader
Wed Mar 3 04:44:08 UTC 2021 Report is available in /tmp
Wed Mar 3 04:44:08 UTC 2021 Successfully completed
Check the dump tar file generated in /tmp directory.
After skipping 628 bytes of dump header in tar, untar it.
The files in /tmp/bad-vpd directory gets collected into the bmc dump.
Signed-off-by: PriyangaRamasamy <priyanga24@in.ibm.com>
Change-Id: Ifdbfa56b8c67263271059dbee390092b92977775
|
|
The IBM rainier machine name is being replaced with the generic p10bmc.
Change-Id: I5e0b884b405f56da7aa746b059d2490a1de2caab
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
For installing gendumpheader plugin, the recipe was including
all files from tools/dreport.d/ibm.d.
Corrected it to take only gendumpheader plugin so that it wont conflict
with installation of other plugins from same directory.
Signed-off-by: PriyangaRamasamy <priyanga24@in.ibm.com>
Change-Id: I5a1358f07aba6997cb9ae84dba59b3420c7ce968
|
|
The phosphor-debug-collector renamed "host-dump-offload-transport" build
option into "host-transport" to make generic for supporting other host
dump action (i.e create,delete) not only offload so, changed build option
here as well based on phosphor-debug-collector.
phosphor-debug-collector patch:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-debug-collector/+/38792
(From meta-ibm rev: eb951216a95e360431644dba46f04fc0541fb608)
Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: I4466896b67cb7490b13e6c32113bb59651fbcdb3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Enable OpenPower dumps on Tacoma and Rainier
(From meta-ibm rev: 0ce518f660df9490da3373dd64b580ea8672c93d)
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: Ic756ecbd793ca465ce3d6dc31ad93ac5170654d0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This commit will install the dump header script which
will create dump header and impose the same
on the dump.tar.xz file.
Header format will consist of the following:
-virtual file directory entry:
one file directory entry for BMC DUMP, which will have
file header and size of 40 bytes which consists of
system serial number, dump identifier, time stamp
of the dump.
-section directory entry:
This has SECTION as entry header, size is of 30 bytes
consists of total size of the dump along with other
details.
-dump header:
This has an eye catcher "BMC DUMP", dump
identifier, system serial number, system name etc.
-dump data table:
This will have dump version, dump valid
field and number of dump entries.
(From meta-ibm rev: 49710574e0e40b98d1b671b95568314838d55985)
Change-Id: I7906b6d602a8fd27655c90eb632ce55eaf8ab63a
Signed-off-by: Chirag Sharma <chirshar@in.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This collects all of the PEL files on user and elog dumps.
They will show up in a subdirectory named 'logs' in the dump.
(From meta-ibm rev: 1a247b7c27ec3021bf7396874d34844ca2e6b033)
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ia23a2fb72acfc1e4473d3c47ad78e34b37529f34
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This system will no longer be supported or maintained. Drop to minimize
cruft.
(From meta-ibm rev: 7c17e6a1f826cdfbbb39ffa3f237025e56fab52f)
Change-Id: Id954a1c91c754a1eb4eb67348c5fb01a115326ed
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The metadata common to all IBM systems is confusingly split between
meta-ibm and meta-witherspoon. Move everything to meta-ibm.
The meta-ibm README is re-written to more accurately reflect the scope
of the layer.
Allow the configuration samples (bblayers.conf.sample,
local.conf.sample) to be sourced from either meta-ibm or
meta-witherspoon until such a time that any workflows and tooling have
had the opportunity to move to meta-ibm.
(From meta-ibm rev: 6e05ef2e90b214eaf4e43ee7027bbbb1d8d09442)
Change-Id: I3ec890d5300f9649c974ea6b9dca93a2e8a889ab
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Drop symlink and rename bbappend for phosphor-debug-collector.
(From meta-ibm rev: cfe867c1ccf65ad1069732a5d28c3863f159dfec)
Change-Id: Id68e624c5405add0c5f03bd97a301617da5687aa
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Set the wildcard for version for phosphor-debug-collector_%.bbappend
(From meta-ibm rev: c1cbfe6e355ec07ffc1ba9b88c99d9faf29e393c)
Change-Id: I582475020dc67ceba0c101801509c4691cbb05d5
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The new subtree model brings the subtrees up from the openbmc-machines
layer.
Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|