summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/dump
AgeCommit message (Collapse)AuthorFilesLines
2023-04-27meta-ibm: Using append in override syntaxChirag Sharma1-1/+1
Currently, scripts in install_ibm_plugins link_ibm_plugins are not getting added in BMC image as a result of which changing "+=" to append. Tested: Post change can see the scripts are getting added in the image. Change-Id: I932257e3652d0d6911923d4e9e0a57abeeb392ce Signed-off-by: Chirag Sharma <chirshar@in.ibm.com>
2023-03-29meta-ibm:dump: Increasing bmcdump size for p10bmcChirag Sharma1-0/+1
Increasing the bmc dump size for ibm systems as the current size 200KB is not sufficient and have seen larger files i.e. journals are getting skipped. Hence increasing the max size of a dump to 20MB. Tested: -After increasing the size journals are getting collected in BMC dumps. Change-Id: I0282bd4ae38831b80309caa59d1e804ca3d2ff1f Signed-off-by: Chirag Sharma <chirshar@in.ibm.com>
2023-02-22meta-ibm: Increase the BMC dump total sizeDhruvaraj Subhashchandran1-0/+2
Set the BMC dump total allowed size as 409600KB. p10bmc machines have an emmc based filesystem so therefore can fit more bmc dumps. Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: I05c1626ce9a03685adfdfd9713b3053ae8e63737 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2023-01-25meta-ibm: support build of witherspoon-tacomaAndrew Geissler1-0/+1
IBM may have some prototyping use for our old witherspoon-tacoma systems so get it building again. clear_hostdumps_poweroff.service needs to be installed on tacoma otherwise we get a "installed but not shipped" error. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I3ceeabe272636bc37bed040cc7e3b288c1fb15e5
2022-11-10openpower: Add service link for host dump clear serviceDhruvaraj Subhashchandran1-0/+2
Add link for the service which clears the the dump stored in host memory during a host poweroff Included srcrev bump 583ebc090b..c0ab9d43d5 Claire Weinan (1): Populate timestamps with microsecond precision Dhruvaraj Subhashchandran (10): OpenPOWER: Do not wait for response deleting host dump OpenPOWER: Add additional trace to host dump operations OpenPOWER: Clear system and resource dump entries while powering off OpenPOWER: Do not delete dump entries during mp reboot OpenPOWER: Use non blocking call for host dump offload request OpenPOWER: Password is not mandatory for resource dump OpenPOWER: Prevent dump delete while offloading OpenPower: Return unavailable if any error in deleting host dump OpenPOWER: Add PCIInit also as host running state OpenPOWER: Add additional traces when requesting inst Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: Ibf2139402e8d190814c3fbc39b1ff93c269e9eb5
2022-05-11meta-ibm: p10bmc: Configure debug-trigger for dbus sink actionsAndrew Jeffery2-0/+11
The dbus sink actions will cause phosphor-dump-manager to take a full BMC dump if the debug action is received on the trigger source. Change-Id: If57612a75ca7f68ed2636c9b23dc04972d99626d Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2022-04-14dump: move dump plugins to repository but install from recipe.Marri Devender Rao3-71/+8
1) Move ibm specific plugins from recipe to tools/dreport.d/ibm.d/plugins.d in the repository 2) Move openpower specific plugins from recipe to tools/dreport/opepower.d/plugins.d in the repository. 4) Modified to install the plugins from the machine specific plugin folder from the repository Reference links https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-debug-collector/+/52852/ https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-debug-collector/+/52479 Includes: phosphor-debug-collector: srcrev bump 02634e5531..124d31f09c Marri Devender Rao (3): openpower:dreport: add guarded resolved and ephemeral records to BMC dump ibm:dreport add vpd persistent data to BMC dump dreport: Fix network and timedate plugin failures during BMC dump generation Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I0bd350b9b564c4e98a6765902de76274f90500e4
2021-08-11meta-ibm: prep for new override syntaxAdriana Kobylak1-6/+6
Change-Id: I9116ed7260e369136acb39eec15075db2d4dbeba Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-04-12Bad VPD Installation in dreportPriyangaRamasamy1-1/+14
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
2021-04-01ibm: debug-collector: Replace rainier with p10bmcAdriana Kobylak1-3/+3
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: I5e0b884b405f56da7aa746b059d2490a1de2caab Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-03-09Correction in debug-collector recipePriyangaRamasamy1-1/+1
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
2020-12-17dump: Used renamed build optionRamesh Iyyar1-2/+2
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>
2020-10-14Enable OpenPower dumps on supported systems.Dhruvaraj Subhashchandran1-0/+3
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>
2020-09-30meta-ibm: rainier: install dump header scriptChirag Sharma1-2/+10
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>
2020-08-04meta-ibm: collect PEL files during a dumpMatt Spinler2-0/+19
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>
2020-06-24meta-ibm: drop witherspoon-128Brad Bishop1-1/+0
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>
2020-04-27meta-ibm: move all meta-witherspoon metadataBrad Bishop1-2/+5
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>
2018-10-22meta-ibm: phosphor-debug-collector: drop symlinkPatrick Venture2-22/+21
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>
2018-10-17meta-ibm: phosphor-debug-collector: set version wildcardPatrick Venture1-0/+1
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>
2018-08-23[Subtree] Bring openbmc machines to top levelDave Cobbley2-0/+50
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>