Error Codes

Table 1 Ascend DMI error codes

Type

Error Code

Description

ADMI_OK

0x00

Success

ADMI_ERR_UNKNOWN

0x01

Unknown error

ADMI_ERR_GENERAL

0x02

Common error, software error, or internal error

ADMI_ERR_PARAM_ERROR

0x03

Incorrect parameter. Check and input the correct parameter.

ADMI_ERR_MALLOC_FAILED

0x04

Memory allocation failure

ADMI_ERR_PTR_NULL

0x05

Null pointer. Check the memory usage.

ADMI_ERR_MODE_ERROR

0x06

Incorrect test mode

ADMI_ERR_DEVICE_ID_INVALID

0x0a

No or invalid device ID. For details about the value range, see "Help Information".

ADMI_ERR_DEVICE_ABNORMAL

0x0b

Abnormal device status

ADMI_ERR_TIMES_INVALID

0x0c

Invalid number of execution times. For details about the value range, see "Help Information".

ADMI_ERR_NOT_FOUND

0x0d

Not found. Check whether the file or device operation type exists.

ADMI_ERR_CARD_ID_INVALID

0x0e

No or invalid board ID

ADMI_ERR_LEVEL_INVALID

0x0f

Invalid diagnosis level. For details about the value range, see "Help Information".

ADMI_ERR_OPTION_NOT_SUPPORT

0x10

on-chip memory diagnosis not supported by the current device

ADMI_ERR_MEMCPY_FAILED

0x11

Memory copy failure

ADMI_ERR_DEVICE_INIT_FAILED

0x12

Failed to initialize the device. Check the environment dependency.

ADMI_ERR_LOAD_DLL

0x13

Failed to load the dynamic library. Check the environment dependency.

ADMI_ERR_SIZE_INVALID

0x14

Invalid data size. For details about the value range, see "Help Information".

ADMI_ERR_PATH_NOT_FOUND

0x15

Invalid specified path or no path found

ADMI_ERR_PKG_NOT_FOUND

0x16

Installation package information not found

ADMI_ERR_FLOPS_TEST_TIMES_INVALID

0x17

Number of computing power tests not match the AI CPU type

ADMI_ERR_DEVICE_STATUS_ABNORMAL

0x18

Abnormal device status

ADMI_ERR_PARSE_JSON

0x1a

JSON parsing failure

ADMI_ERR_COMPATIBLE

0x1b

Compatibility check failure

ADMI_ERR_DRIVER_NOT_SUPPORT

0x1c

Driver version not supported

ADMI_ERR_SERVER_NOT_SUPPORT

0x1d

Server not supported

ADMI_ERR_DEVICE_NOT_SUPPORT

0x1e

Device not supported

ADMI_ERR_TIMEOUT

0x1f

Execution timeout

ADMI_ERR_INTERRUPTS

0x20

Program aborted

ADMI_ERR_USER_NOT_SUPPORT

0x21

User not supported

ADMI_ERR_PARAM_ERROR_SUPER_POD

0x22

execute-times or size inconsistent for the SuperPoD to be tested

ADMI_ERR_DIAGNOSISTEST_FAIL

0x23

Diagnosis/stress test failure

ADMI_ERR_FILE_EXISTS

0x24

File already exists. Another SuperPoD test is being performed on the current node.

ADMI_ERR_SOFTWARE_ABNORMAL

0x25

Abnormal third-party software

ADMI_SERVERID_ID_ERROR_SUPER_POD

0x26

Abnormal IP address or SDID of the SuperPoD

ADMI_ERR_CANN_NOT_SUPPORT

0x27

CANN version not supported

ADMI_ERR_A3_H2D_OR_D2H_FAIL

0x28

H2D or D2H bandwidth test failure on Atlas A3 training product and Atlas A3 inference products

E_INTERNAL_ERROR

0x10000000

Internal hardware error

E_ADAPTER_NOT_FOUND

0x10000001

Hardware adapter not found

E_ADAPTER_NOT_IMPLEMENTED

0x10000002

No hardware adapter interface

E_DRIVER_CALL_FAILED

0x10000003

Failed to call the driver.

E_DRIVER_NOT_SUPPORTED

0x10000004

Feature not supported by the driver

E_HARDWARE_UNKNOWN

0x10000005

Unknown hardware type

E_HARDWARE_NOT_EXISTED

0x10000006

Hardware not found

E_DCMI_LOAD_FAILED

0x10000007

Failed to load the DCMI.

E_DRIVER_NOT_PERMITTED

0x10000008

Driver interfaces not supported in containers and virtual machines

E_DRIVER_NOT_SUPPORTED_PARTIAL

0x10000009

Driver interfaces not supported by the SoC device