Reading BMC Event Logs

Getting Started with Napatech Link-Security™ Software

Platform
Napatech IPU
Content Type
Getting Started
Capture Software Version
Link-Security™ Software 1.0

The bmclog tool is used to retrieve the system event log entries from the main BMC on the IPU.

Displaying log entries

mctp-demux-daemon is required for running the bmcvpd tool. See Retrieving IPU Information.

To run the bmclog tool, see the command example as follows.
soc# cd /opt/ipu_tools/bin
soc# ./bmclog -n 2
where soc# indicates the SoC on the IPU where provided commands are to be to executed. ./bmclog -n 2 displays 2 log entries.
An output example:
Collecting log entries, please wait until the bar is full...

[---------------------------------------------------------------]
 -------------------------------------------------------------##

Displaying 2 of 63 log entries

------- System Event Log entry #02  --------
  Event log version: 01
  Module Revision Info
    BMCM - (main)
    - image        : 201-6001-64-0-18-20
    - build time   : 2024-04-24   13:55    (0x7e84c377)
    BMCD - (daughter)
    - image        : 201-6002-64-0-18-20
    - build time   : 2024-04-24   13:55    (0x7e84c377)
    FPGA -
    - image        : 200-7102-0-0-10-5
    - build time   : 2024-08-30   21:18    (0x7e88f552)
  BMCM BOOT Info
    -Section data not present-
  BMCM APP Info
    BMCM APP FW               : bmcm-main v.1.1.1-366d50d8 (Sep  4 2024 14:53:04)
  PMCI APP Info
    PMCI APP FW               : pmci-main v.1.1.1-df2fda2d (Aug  1 2024 12:00:43)
  F2070x PSU Config Version Status
    BMCM PSU config version
      PSU-1&2 (MP2978)        : 0x00000003
      PSU-3&4 (MP2978)        : 0x00000002
      PSU-5&6 (MP2978)        : 0x00000002
      PSU-7   (MPQ8645PGVT)   : 0x00000001
    BMCD PSU config version
      PSU-1   (MPQ8645PGVT)   : 0x00000001
      PSU-2   (MP2978)        : 0x00000001
      PSU-3   (MPQ8646)       : 0x00000001
      PSU-5   (MPQ8645PGVT)   : 0x00000001
…
…

By default, it displays all log entries from the IPU.

A help output example:
soc# ./bmclog -h
command options:
 -h        | --help
 -n <1-63> | --num-entries      - Display 'n' number of log entries (default all)
 -v        | --verbose