Description of problem: 1.command:lspci -vvs 0d:00.0 | grep LnkSta,show failed: [root@bogon ascend_check]# lspci -vvs 0d:00.0 | grep LnkSta: pcilib: sysfs_read_vpd: read failed: Input/output error LnkSta: Speed 16GT/s (ok), Width x16 (ok) [root@bogon ascend_check]# # 0d:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) # Huawei Atlas 300I Duo Version-Release number of selected component (if applicable): [root@bogon ascend_check]# cat /etc/os-release NAME="Anolis OS" VERSION="8.8" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.8" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.8" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" [root@bogon ascend_check]# [root@bogon ascend_check]# uname -r 5.10.134-13.an8.x86_64 [root@bogon ascend_check]# [root@bogon ascend_check]# lspci --version lspci version 3.7.0 [root@bogon ascend_check]# How reproducible: 1.run lspci -vvs command for Huawei device Steps to Reproduce: 1.lspci -vvs 0d:00.0 Actual results: 1.[root@bogon ascend_check]# lspci -vvs 0d:00.0 | grep LnkSta: pcilib: sysfs_read_vpd: read failed: Input/output error LnkSta: Speed 16GT/s (ok), Width x16 (ok) [root@bogon ascend_check]# Expected results: 1.[root@bogon ascend_check]# lspci -vvs 0d:00.0 | grep LnkSta: LnkSta: Speed 16GT/s (ok), Width x16 (ok) [root@bogon ascend_check]# Additional info: 1.The server is identical and the hardware environment is the same; however, on RHEL 8.6, the lspci command does not show any failed devices. 2.I have updated lspci from version 3.7.0 to 3.13.0 on Anolis 8.8, but it still displays the same error: “pcilib: sysfs_read_vpd: read failed: Input/output error.” 3.I have updated the kernel to “Enterprise Linux (5.4.288-1.el8.elrepo.x86_64) 8.10” using ELRepo on Anolis 8.8, but the same failure persists.\ 4.On the same server, lspci -vvs c8:00.0 runs without issues in the aforementioned environments. # c8:00.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5]
The issue also appears on Anolis OS 8.9. *************************************************** [root@localhost ~]# cat /etc/os os-release ostree/ [root@localhost ~]# cat /etc/os-release NAME="Anolis OS" VERSION="8.9" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.9" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.9" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" [root@localhost ~]# uname -r 5.10.134-18.an8.x86_64 [root@localhost ~]# [root@localhost ~]# lspci | grep acc 0d:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) 22:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) 37:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) 61:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) 85:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) 9b:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) b1:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) dd:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) [root@localhost ~]# lspci -vvs 0d:00.0 | grep LnkSta: pcilib: sysfs_read_vpd: read failed: Input/output error LnkSta: Speed 16GT/s, Width x16 [root@localhost ~]# ***************************************************
The issue does not occur on Anolis OS 8.9 with the RHEL-compatible kernel 4.18. *************************************************** [root@bogon ~]# cat /etc/os-release NAME="Anolis OS" VERSION="8.9" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.9" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.9" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" [root@bogon ~]# uname -r 4.18.0-553.32.1.0.1.an8.x86_64 [root@bogon ~]# [root@bogon ~]# lspci | grep acc 0d:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) 22:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) 37:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) 61:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) 85:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) 9b:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) b1:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) dd:00.0 Processing accelerators: Huawei Technologies Co., Ltd. Device d500 (rev 23) [root@bogon ~]# lspci -vvs 0d:00.0 | grep LnkSta: LnkSta: Speed 16GT/s, Width x16 [root@bogon ~]# ***************************************************
Please feel free to communicate at any time if you have any questions. Thank you.
Up,Looking forward to your reply.