Bug 13114 - [AnolisOS8.8]pcilib: sysfs_read_vpd: read failed: Input/output error
Summary: [AnolisOS8.8]pcilib: sysfs_read_vpd: read failed: Input/output error
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: kernel - anck-5.10 (show other bugs) kernel - anck-5.10
Version: 8.8
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao_mq
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-05 10:29 UTC by xiaoheise
Modified: 2025-03-30 10:46 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xiaoheise 2025-01-05 10:29:07 UTC
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]
Comment 1 xiaoheise 2025-01-05 11:57:58 UTC
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 ~]#
***************************************************
Comment 2 xiaoheise 2025-01-05 12:30:03 UTC
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 ~]#
***************************************************
Comment 3 xiaoheise 2025-01-07 13:42:57 UTC
Please feel free to communicate at any time if you have any questions. Thank you.
Comment 4 xiaoheise 2025-01-08 18:10:48 UTC
Up,Looking forward to your reply.
Comment 5 xiaoheise 2025-01-13 09:04:02 UTC
Up,Looking forward to your reply.
Comment 6 xiaoheise 2025-03-30 10:46:13 UTC
Up,Looking forward to your reply.