summaryrefslogtreecommitdiffstats
path: root/src/build/debug/eSEL.pl
Commit message (Collapse)AuthorAgeFilesLines
* Support parsing call home informational eSELs with debug toolingNick Bofferding2018-12-061-5/+9
| | | | | | | | | | | | | | | | | Modifies eSEL.pl to support decoding call home informational eSELs which have the 'dd' type vs. the 'df' type for other eSELs. Hostboot sends call home informational eSELs when it finds an unacknowledged error from a previous boot. Change-Id: I0c4c8eabe2f104796b5bde05fd493958ddc662c7 CQ: SW452532 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69474 Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add Option to Use opal-elog-parse to eSEL.plIlya Smirnov2018-06-261-2/+12
| | | | | | | | | | | | | | | | | | | | | | To make eSEL.pl more OpenPOWER-friendly, an option is created to allow the user to not use the errl parser, and instead use opal-elog-parse that can be built with OpenPOWER package. This will allow OP partners to be able to use eSEL.pl to parse error logs. Change-Id: Ifc919283cadd00ee2b2388ac81d2fde688834344 Resolves #142 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60433 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: GEORGE KEISHING <gkeishin@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60504 Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Fix Timestamp Search for eSEL.plIlya Smirnov2018-01-241-20/+56
| | | | | | | | | | | | | | | | | | eSEL.pl had a bug where it would continuously search for keyword "Timestamp" and lock up until it found one. This doesn't work with one of the supported formats for OBMC, where there aren't any timestamps in the logs. Change-Id: Ie9092a10b57f9aad4f752c711f77858695861a31 CQ:SW414508 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52275 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Post-process hb timestamps in eSEL.plIlya Smirnov2018-01-121-4/+79
| | | | | | | | | | | | | | | | | Hostboot timestamps in the parsed eSEL logs were incorrect. The eSEL.pl script was changed to collect the timestamps from the BMC eSEL logs and re-populate them in output text file. Change-Id: Id1017cbfc76fb609ee53ef102aa469c41e7de256 CQ:SW408483 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50879 Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Modify eSEL script to not ignore cases for command line optionsVaibhav Jain2017-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default Perl's Getopt::Long will ignore case for option names. This causes conflict between for '-P' and '-p' options that are provide BMC password and decode option respectively. Below is an example of failed run with command having both '-P' and '-p' used: $./eSEL.pl -t <ip-addr> -p get_and_decode_ami -U ADMIN -P ADMIN ***ERROR: Incorrect option provided. Specify an option with -p <option>. To fix this the Getopt::Long import is configured to not ignore the case of option names by using the 'no_ignore_case' module config option at import time. With the fix the command above works as expected: $./eSEL.pl -t <ip-addr> -p get_and_decode_ami -U ADMIN -P ADMIN Found 69 eSELs with PEL data Resolves #122 Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com> Change-Id: I6996d3d26d1449c758c50cbbf3720f7351a14edb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49543 Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Strip commas and quotes from PEL data string in eSEL.plIlya Smirnov2017-11-151-15/+51
| | | | | | | | | | | Change-Id: I2d510a4c3a0ec5aae325fe868462b3c00c6192d8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47081 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add support of HBEL parsing to eSEL.plIlya Smirnov2017-05-221-12/+143
| | | | | | | | | | | | | | | | | | | | Implemented the decode_hbel_data option that takes an HBEL PNOR partition and parses out the errors. There is also an option to filter out ACKed errors by passing the -r flag to the script (only works with decode_hbel_data option). The script now removes the temporary files created during the process. Change-Id: Ia75e119a65b10edc107a4ba0ee1a75c74aaa4054 RTC:170649 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40090 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Modify eSEL script to take input files with eSEL dataIlya Smirnov2017-03-071-0/+650
The eSEL.pl can now be run with different options. The options are: get_ami_data - just fetch AMI eSEL data into a binary file, don't do any processing; decode_ami_data (takes a file) - parse AMI eSEL binary file; get_and_decode_ami - does both of the above; decode_obmc_data (takes a file) - parses the OpenBmc eSEL file. Change-Id: Ib226b6e12cff1ca805aed909ad647d33d1016ff3 RTC:166211 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36896 Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud