[libvirt] odd message from latest libvirt.git

# ./run daemon/libvirtd 2014-07-01 04:27:19.913+0000: 1160: info : libvirt version: 1.2.6 2014-07-01 04:27:19.913+0000: 1160: error : virFileReadAll:1297 : Failed to read file '/sys/class/net/wlp3s0/speed': Invalid argument This is probably a kernel bug in Fedora 20; but we shouldn't be polluting the logs just because of the kernel being unable to read a file that it claims exists: # ls -l /sys/class/net/wlp3s0/speed -r--r--r--. 1 root root 4096 Jun 28 07:41 /sys/class/net/wlp3s0/speed # cat /sys/class/net/wlp3s0/speed cat: /sys/class/net/wlp3s0/speed: Invalid argument -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

[added Michal] On 07/01/14 06:29, Eric Blake wrote:
# ./run daemon/libvirtd 2014-07-01 04:27:19.913+0000: 1160: info : libvirt version: 1.2.6 2014-07-01 04:27:19.913+0000: 1160: error : virFileReadAll:1297 : Failed to read file '/sys/class/net/wlp3s0/speed': Invalid argument
This is probably a kernel bug in Fedora 20; but we shouldn't be polluting the logs just because of the kernel being unable to read a file that it claims exists:
# ls -l /sys/class/net/wlp3s0/speed -r--r--r--. 1 root root 4096 Jun 28 07:41 /sys/class/net/wlp3s0/speed # cat /sys/class/net/wlp3s0/speed cat: /sys/class/net/wlp3s0/speed: Invalid argument
Looks like the code detecting network interface link speeds that Michal was adding recently caused this. Peter

On 07/01/2014 06:29 AM, Eric Blake wrote:
# ./run daemon/libvirtd 2014-07-01 04:27:19.913+0000: 1160: info : libvirt version: 1.2.6 2014-07-01 04:27:19.913+0000: 1160: error : virFileReadAll:1297 : Failed to read file '/sys/class/net/wlp3s0/speed': Invalid argument
This is probably a kernel bug in Fedora 20; but we shouldn't be polluting the logs just because of the kernel being unable to read a file that it claims exists:
# ls -l /sys/class/net/wlp3s0/speed -r--r--r--. 1 root root 4096 Jun 28 07:41 /sys/class/net/wlp3s0/speed # cat /sys/class/net/wlp3s0/speed cat: /sys/class/net/wlp3s0/speed: Invalid argument
Patches 3 and 4 from this series of mine deal with that error: https://www.redhat.com/archives/libvir-list/2014-June/msg01453.html Jan

On 07/01/2014 01:51 AM, Ján Tomko wrote:
On 07/01/2014 06:29 AM, Eric Blake wrote:
# ./run daemon/libvirtd 2014-07-01 04:27:19.913+0000: 1160: info : libvirt version: 1.2.6 2014-07-01 04:27:19.913+0000: 1160: error : virFileReadAll:1297 : Failed to read file '/sys/class/net/wlp3s0/speed': Invalid argument
This is probably a kernel bug in Fedora 20; but we shouldn't be polluting the logs just because of the kernel being unable to read a file that it claims exists:
# ls -l /sys/class/net/wlp3s0/speed -r--r--r--. 1 root root 4096 Jun 28 07:41 /sys/class/net/wlp3s0/speed # cat /sys/class/net/wlp3s0/speed cat: /sys/class/net/wlp3s0/speed: Invalid argument
Patches 3 and 4 from this series of mine deal with that error: https://www.redhat.com/archives/libvir-list/2014-June/msg01453.html
Good to know; let's get that series reviewed and in for 1.2.6 then. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

On 07/01/2014 05:10 PM, Eric Blake wrote:
On 07/01/2014 01:51 AM, Ján Tomko wrote:
On 07/01/2014 06:29 AM, Eric Blake wrote:
# ./run daemon/libvirtd 2014-07-01 04:27:19.913+0000: 1160: info : libvirt version: 1.2.6 2014-07-01 04:27:19.913+0000: 1160: error : virFileReadAll:1297 : Failed to read file '/sys/class/net/wlp3s0/speed': Invalid argument
This is probably a kernel bug in Fedora 20; but we shouldn't be polluting the logs just because of the kernel being unable to read a file that it claims exists:
# ls -l /sys/class/net/wlp3s0/speed -r--r--r--. 1 root root 4096 Jun 28 07:41 /sys/class/net/wlp3s0/speed # cat /sys/class/net/wlp3s0/speed cat: /sys/class/net/wlp3s0/speed: Invalid argument
Patches 3 and 4 from this series of mine deal with that error: https://www.redhat.com/archives/libvir-list/2014-June/msg01453.html
Good to know; let's get that series reviewed and in for 1.2.6 then.
It's pushed already, Michal reviewed it. Jan

On 07/01/2014 09:14 AM, Ján Tomko wrote:
On 07/01/2014 05:10 PM, Eric Blake wrote:
On 07/01/2014 01:51 AM, Ján Tomko wrote:
On 07/01/2014 06:29 AM, Eric Blake wrote:
# ./run daemon/libvirtd 2014-07-01 04:27:19.913+0000: 1160: info : libvirt version: 1.2.6 2014-07-01 04:27:19.913+0000: 1160: error : virFileReadAll:1297 : Failed to read file '/sys/class/net/wlp3s0/speed': Invalid argument
This is probably a kernel bug in Fedora 20; but we shouldn't be polluting the logs just because of the kernel being unable to read a file that it claims exists:
# ls -l /sys/class/net/wlp3s0/speed -r--r--r--. 1 root root 4096 Jun 28 07:41 /sys/class/net/wlp3s0/speed # cat /sys/class/net/wlp3s0/speed cat: /sys/class/net/wlp3s0/speed: Invalid argument
Patches 3 and 4 from this series of mine deal with that error: https://www.redhat.com/archives/libvir-list/2014-June/msg01453.html
Good to know; let's get that series reviewed and in for 1.2.6 then.
It's pushed already, Michal reviewed it.
Serves me right for reading my inbox out-of-order :) Thanks again for the fix. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (3)
-
Eric Blake
-
Ján Tomko
-
Peter Krempa