Bug 199467

Summary: r8169 pcilib: sysfs_read_vpd: read failed: Input/output error
Product: Drivers Reporter: Chris Murphy (bugzilla)
Component: NetworkAssignee: drivers_network (drivers_network)
Status: NEW ---    
Severity: normal CC: hkallweit1, kernelorg
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.16.3-300.fc28.x86_64 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg kernel-4.16.3
dmesg kernel-4.13.9
lspci -vvnn
strace lspci -vvnn

Description Chris Murphy 2018-04-22 19:21:43 UTC
Hardware

lspci
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
	Subsystem: Intel Corporation Device [8086:2060]

dmidecode
	Description: Realtek RTL8111HN Network Device


Problem

# lspci -vvnn results in an error in the middle of the output for this ethernet controller
pcilib: sysfs_read_vpd: read failed: Input/output error

There are no hints in dmesg with 4.16.3 kernel, but the error happens with 4.13.9 kernel with a possible hint:

[   50.144561] r8169 0000:03:00.0: invalid large VPD tag 7f at offset 0
Comment 1 Chris Murphy 2018-04-22 19:22:15 UTC
Created attachment 275491 [details]
dmesg kernel-4.16.3
Comment 2 Chris Murphy 2018-04-22 19:22:34 UTC
Created attachment 275493 [details]
dmesg kernel-4.13.9
Comment 3 Chris Murphy 2018-04-22 19:22:54 UTC
Created attachment 275495 [details]
lspci -vvnn
Comment 4 Chris Murphy 2018-04-22 19:25:44 UTC
Created attachment 275497 [details]
strace lspci -vvnn
Comment 5 Chris Murphy 2018-04-22 19:28:31 UTC
strace shows error on /sys/bus/pci/devices/0000:03:00.0/vpd which points to

[root@f28s ~]# cat /sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/vpd
cat: '/sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/vpd': Input/output error

Where I get the same error as root.

Seems benign, no crash or other funtionality lost.
Comment 6 Heiner Kallweit 2021-09-19 22:04:42 UTC
It's neither a bug nor an actual error. The message simply means that the optional VPD EEPROM isn't present. The ticket should be closed.