Bug 827137
Summary: | f17 r8169 vpd r/w failed. This is likely a firmware bug on this device. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Reartes Guillermo <rtguille> | ||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 17 | CC: | gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-07-10 16:44:09 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Reartes Guillermo
2012-05-31 17:32:23 UTC
I'll check with the upstream driver author, but as the message says, this is likely a problem we can't do anything about. I found this old bugreport: Also, with device 0000:07:00.0 https://bugzilla.redhat.com/show_bug.cgi?id=528392 # ls -lZ /sys/bus/pci/devices/0000:07:00.0/vpd -rw-------. root root system_u:object_r:sysfs_t:s0 /sys/bus/pci/devices/0000:07:00.0/vpd # ls -lZ /sys/bus/pci/devices/0000:08:00.0/vpd -rw-------. root root system_u:object_r:sysfs_t:s0 /sys/bus/pci/devices/0000:08:00.0/vpd # time cat /sys/bus/pci/devices/0000:07:00.0/vpd cat: /sys/bus/pci/devices/0000:07:00.0/vpd: Connection timed out real 0m0.054s user 0m0.000s sys 0m0.053s # time cat /sys/bus/pci/devices/0000:08:00.0/vpd real 0m0.661s user 0m0.001s sys 0m0.659s # strace lspci -vvv 2>&1 | grep -B 10 'sysfs_read_vpd: read failed' | grep open | tail -n1 open("/sys/bus/pci/devices/0000:07:00.0/vpd", O_RDONLY) = 4 # strace cat /sys/bus/pci/devices/0000:08:00.0/vpd execve("/bin/cat", ["cat", "/sys/bus/pci/devices/0000:08:00."...], [/* 21 vars */]) = 0 brk(0) = 0xccc000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f931a284000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=105415, ...}) = 0 mmap(NULL, 105415, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f931a268000 close(3) = 0 open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\30\202B;\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=2065560, ...}) = 0 mmap(0x3b42800000, 3892376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b42800000 mprotect(0x3b429ac000, 2097152, PROT_NONE) = 0 mmap(0x3b42bac000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ac000) = 0x3b42bac000 mmap(0x3b42bb2000, 17560, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3b42bb2000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f931a267000 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f931a265000 arch_prctl(ARCH_SET_FS, 0x7f931a265740) = 0 mprotect(0x60a000, 4096, PROT_READ) = 0 mprotect(0x3b42bac000, 16384, PROT_READ) = 0 mprotect(0x3b4221f000, 4096, PROT_READ) = 0 munmap(0x7f931a268000, 105415) = 0 brk(0) = 0xccc000 brk(0xced000) = 0xced000 brk(0) = 0xced000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=105038240, ...}) = 0 mmap(NULL, 105038240, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9313e38000 close(3) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 open("/sys/bus/pci/devices/0000:08:00.0/vpd", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0600, st_size=32768, ...}) = 0 fadvise64(3, 0, 0, POSIX_FADV_SEQUENTIAL) = 0 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 4096 write(1, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 4096 write(1, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 4096 write(1, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 4096 write(1, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 4096 write(1, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 4096 write(1, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 4096 write(1, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 4096 write(1, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 read(3, "", 32768) = 0 close(3) = 0 close(1) = 0 close(2) = 0 exit_group(0) = ? +++ exited with 0 +++ # strace cat /sys/bus/pci/devices/0000:07:00.0/vpd execve("/bin/cat", ["cat", "/sys/bus/pci/devices/0000:07:00."...], [/* 21 vars */]) = 0 brk(0) = 0x15c2000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f447ae0c000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=105415, ...}) = 0 mmap(NULL, 105415, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f447adf0000 close(3) = 0 open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\30\202B;\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=2065560, ...}) = 0 mmap(0x3b42800000, 3892376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b42800000 mprotect(0x3b429ac000, 2097152, PROT_NONE) = 0 mmap(0x3b42bac000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ac000) = 0x3b42bac000 mmap(0x3b42bb2000, 17560, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3b42bb2000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f447adef000 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f447aded000 arch_prctl(ARCH_SET_FS, 0x7f447aded740) = 0 mprotect(0x60a000, 4096, PROT_READ) = 0 mprotect(0x3b42bac000, 16384, PROT_READ) = 0 mprotect(0x3b4221f000, 4096, PROT_READ) = 0 munmap(0x7f447adf0000, 105415) = 0 brk(0) = 0x15c2000 brk(0x15e3000) = 0x15e3000 brk(0) = 0x15e3000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=105038240, ...}) = 0 mmap(NULL, 105038240, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f44749c0000 close(3) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 open("/sys/bus/pci/devices/0000:07:00.0/vpd", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0600, st_size=32768, ...}) = 0 fadvise64(3, 0, 0, POSIX_FADV_SEQUENTIAL) = 0 read(3, 0x15c4000, 32768) = -1 ETIMEDOUT (Connection timed out) write(2, "cat: ", 5cat: ) = 5 write(2, "/sys/bus/pci/devices/0000:07:00."..., 37/sys/bus/pci/devices/0000:07:00.0/vpd) = 37 open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=2512, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f447ae0b000 read(4, "# Locale name alias data base.\n#"..., 4096) = 2512 read(4, "", 4096) = 0 close(4) = 0 munmap(0x7f447ae0b000, 4096) = 0 open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, ": Connection timed out", 22: Connection timed out) = 22 write(2, "\n", 1 ) = 1 close(3) = 0 close(1) = 0 close(2) = 0 exit_group(1) = ? +++ exited with 1 +++ I tried booting with system rescue cd 2.8.0 and could not reproduce the issue with such kernel. Also lspci -vv does not reproduce the issue. With F17 latest kernel it is still there. So, changing the kernel results in a different outcome. The bugreport should probably re-opened. With Fedora: lspci -vv shows for 07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01): Capabilities: [48] Vital Product Data Not readable But with system rescue cd it shows: Capabilities: [48] Vital Product Data Unknown small resource type 05, will not decode more. So there is something in the kernel that can be done to read the VPD of the affected card. |