Re: SYSFS "errors"

From: Felipe Balbi
Date: Tue Feb 19 2013 - 05:12:33 EST


+netdev

On Tue, Feb 19, 2013 at 08:41:47AM +0100, Alexander Stein wrote:
> On Monday 18 February 2013 09:49:16, Greg KH wrote:
> > > Invalid argument - /sys/devices/virtual/net/lo/speed
> > > Invalid argument - /sys/devices/virtual/net/lo/duplex
>
> This is even true for ethernet devices which do not have a link currently or non-ethernet devices (e.g. CAN).
> > LANG=C cat /sys/class/net/enp1s8/speed
> > cat: /sys/class/net/enp1s8/speed: Invalid argument
> > ethtool enp1s8 | grep -A1 Speed
> > Speed: Unknown!
> > Duplex: Unknown! (255)
> > LANG=C cat /sys/class/net/can0/speed
> > cat: /sys/class/net/can0/speed: Invalid argument
>
> Regards,
> Alexander
>

--
balbi

Attachment: signature.asc
Description: Digital signature