Information Collection

To locate Ascend DMI faults, you can collect the command outputs, Ascend DMI logs, plogs (including atrace logs), device logs, and message logs. These logs help identify the root cause and resolve faults.

Command Outputs

The following shows the command outputs of Ascend DMI-related commands:

[***@***]# ascend-dmi --dg -i prbs -q
Summary:
    Arch: aarch64
    Mode: ******
    Time: 20250411-16:31:52

Hardware:
    prbs:
        FAIL
        *** error occurred on device 1
        *** error occurred on device 5
        *** error occurred on device 6
        *** error occurred on device 7

Ascend DMI Logs

Collect log files in the following directories. For more information, see Log Description.

  • root user: /var/log/ascend-dmi
  • Non-root user: ~/var/log/ascend-dmi
[***@***]# ll /var/log/ascend-dmi/
total 48
-rw-------. 1 root root 15474 May 30 17:01 ascend-cert-operation.log
-rw-------. 1 root root 25050 May 30 18:06 ascend-dmi.log
-rw-------. 1 root root   572 May 30 18:06 ascend-dmi-operation.log

Plogs

Collect log files in the $HOME/ascend directory. For more information, see CANN Log Reference.

The root user is used as an example here.

  • If there are too many files in the plog directory, you can check the process ID based on the timestamp of a problem in the ascend-dmi-operation.log file and collect the plog associated with that process ID.

  • If a core dump occurs, collect the atrace log of the corresponding process ID.

Device Logs

Run the msnpureport -f command to collect device logs. For more information, see msnpureport Tool Usage.

Message Logs

View the OS logs in the /var/log/messages or /var/log/syslog directory.

[***@***]# ll /var/log/messages
-rw-------. 1 root root 1432006 Jun 3 11:20 /var/log/messages