Failed to Identify Accelerator Devices After KAE Is Installed
Symptom
Accelerator devices cannot be identified after KAE is installed.
Key Process and Cause Analysis
- Check whether the devices exist in the virtual file system.
- Check whether KAE is correctly installed.
- Check whether physical devices exist through the lspci command.
- If no physical device is found, check whether the accelerator license has been correctly imported or whether the iBMC and BIOS versions support the accelerator features.
Conclusion and Solution
- Check whether the devices exist in the virtual file system.
1ls -al /sys/class/uacce/
Normally, the following accelerators will be displayed:1 2 3 4 5 6 7
total 0 lrwxrwxrwx. 1 root root 0 Nov 14 03:45 hisi_hpre-2 -> ../../devices/pci0000:78/0000:78:00.0/0000:79:00.0/uacce/hisi_hpre-2 lrwxrwxrwx. 1 root root 0 Nov 14 03:45 hisi_hpre-3 -> ../../devices/pci0000:b8/0000:b8:00.0/0000:b9:00.0/uacce/hisi_hpre-3 lrwxrwxrwx. 1 root root 0 Nov 17 22:09 hisi_rde-4 -> ../../devices/pci0000:78/0000:78:01.0/uacce/hisi_rde-4 lrwxrwxrwx. 1 root root 0 Nov 17 22:09 hisi_rde-5 -> ../../devices/pci0000:b8/0000:b8:01.0/uacce/hisi_rde-5 lrwxrwxrwx. 1 root root 0 Nov 14 08:39 hisi_sec-0 -> ../../devices/pci0000:74/0000:74:01.0/0000:76:00.0/uacce/hisi_sec-0 lrwxrwxrwx. 1 root root 0 Nov 14 08:39 hisi_sec-1 -> ../../devices/pci0000:b4/0000:b4:01.0/0000:b6:00.0/uacce/hisi_sec-1
- If the hpre device is not found in 1, check whether the KAE software is correctly installed by referring to KAE Initialization Failure.
- If the KAE software is correctly installed according to 2, run the lspci command to check whether the physical devices exist.
- Check whether HPRE exists.
1lspci | grep HPRE
The command output is as follows:1 2
79:00.0 Network and computing encryption device: Huawei Technologies Co., Ltd. HiSilicon HPRE Engine (rev 21) b9:00.0 Network and computing encryption device: Huawei Technologies Co., Ltd. HiSilicon HPRE Engine (rev 21)
- Check whether SEC exists.
1lspci | grep SEC
The command output is as follows:1 2
76:00.0 Network and computing encryption device: Huawei Technologies Co., Ltd. HiSilicon SEC Engine (rev 21) b6:00.0 Network and computing encryption device: Huawei Technologies Co., Ltd. HiSilicon SEC Engine (rev 21)
- Check whether RDE exists.
1lspci | grep RDE
The command output is as follows:1 2
78:01.0 RAID bus controller: Huawei Technologies Co., Ltd. HiSilicon RDE Engine (rev 21) b8:01.0 RAID bus controller: Huawei Technologies Co., Ltd. HiSilicon RDE Engine (rev 21)
- Check whether HPRE exists.
- If no physical device is found in 3, perform the following operations:
- Check whether the accelerator license has been properly imported. If not, import the accelerator license. For details, see "License Management" in TaiShan Rack Server iBMC (V300 to V549) User Guide. After the accelerator license is imported, power off and restart the iBMC to enable the license.
- Check whether the iBMC and BIOS versions support the accelerator features. To support KAE, the BIOS version must be later than 1.05, and the iBMC version must be later than 3.65.
Parent topic: Troubleshooting