'\" t .\" Title: ipmctl-dump-debug-log .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.16 .\" Date: 2022-09-26 .\" Manual: ipmctl .\" Source: ipmctl .\" Language: English .\" .TH "IPMCTL\-DUMP\-DEBUG\-LOG" "1" "2022-09-26" "ipmctl" "ipmctl" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" ipmctl-dump-debug-log \- Dumps encoded firmware debug logs from specified PMem modules and optionally decodes to human readable text. .SH "SYNOPSIS" .sp .if n .RS 4 .nf .fam C ipmctl dump [OPTIONS] \-destination (file_prefix) [\-dict (file)] \-debug [TARGETS] [PROPERTIES] .fam .fi .if n .RE .SH "DESCRIPTION" .sp Dumps encoded firmware debug logs from specified PMem modules and optionally decodes to human readable text using a dictionary file. .SH "OPTIONS" .sp \-h, \-help .RS 4 Displays help for the command. .RE .sp \-ddrt .RS 4 Used to specify DDRT as the desired transport protocol for the current invocation of ipmctl. .RE .sp \-smbus .RS 4 Used to specify SMBUS as the desired transport protocol for the current invocation of ipmctl. .RE .if n .sp .RS 4 .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 .br .ps +1 .B Note .ps -1 .br .sp The \-ddrt and \-smbus options are mutually exclusive and may not be used together. .sp .5v .RE .sp \-lpmb .RS 4 Used to specify large transport payload size for the current invocation of ipmctl. .RE .sp \-spmb .RS 4 Used to specify small transport payload size for the current invocation of ipmctl. .RE .if n .sp .RS 4 .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 .br .ps +1 .B Note .ps -1 .br .sp The \-lpmb and \-spmb options are mutually exclusive and may not be used together. .sp .5v .RE .SH "TARGET" .sp \-destination (file_prefix) .RS 4 The command will create files that use the given filename as a prefix and append the PMem module UID, PMem module handle, debug log source, and the appropriate file type (.bin for encoded logs, .txt for decoded logs) onto the end. .RE .sp .if n .RS 4 .nf .fam C file_prefix_Uid_Handle_logsource.[bin,txt] .fam .fi .if n .RE .sp \-dict (path) .RS 4 Optional file path to the dictionary file. If supplied, the command will create both the binary debug log and a text file with decoded log data with the file prefix specified by \-destination. Firmware dictionaries are lookup tables that match firmware codes to their text descriptions. When referenced, the dictionary will be used to substitute the provided codes with text, making the logs more human readable. Dictionaries are included in every firmware release under the format nlog_dict.X.X.X.XXXX.txt. .RE .sp \-dimm [DimmIDs] .RS 4 Dumps the debug logs from the specified PMem modules. .RE .SH "EXAMPLES" .sp Dumps and decodes the debug log from PMem module 0x0001 and 0x0011 using the dictionary file. .sp .if n .RS 4 .nf .fam C ipmctl dump \-destination file_prefix \-dict nlog_dict.txt \-debug \-dimm 0x0001,0x0011 .fam .fi .if n .RE .SH "LIMITATIONS" .sp To successfully execute this command, the specified PMem modules must be manageable by the host software. .SH "RETURN DATA" .sp Dumps the encoded and optionally decoded contents of all 3 firmware debug log sources for the specified PMem modules. Output file names are generated based on the \-destination parameter above. .SH "SAMPLE OUTPUT" .sp .if n .RS 4 .nf .fam C Dumped media FW debug logs to file (file_prefix_8089\-A1\-1816\-00000016_0x0001_media.bin) Decoded 456 records to file (file_prefix_8089\-A1\-1816\-00000016_0x0001_media.txt) No spi FW debug logs found .fam .fi .if n .RE