[sos-devel] question about ethtool dumps

Carl Heymann carl.heymann at netronome.com
Fri Mar 23 13:31:23 UTC 2018


Hi,

is it currently possible to create ethtool debug dumps with sosreport? E.g. a command such as:

 ethtool -W <netdev> <flag> && ethtool -w <netdev> data /dev/stdout

for all (or some) netdevs.

If this is not currently possible, would it be seen as a desirable feature?

One might want to exclude dumps if they are larger than some threshold. After setting the flag parameter, the size can be seen (before generating the actual dump output) with e.g.:
$ ethtool -W eth0 0
$ ethtool -w eth0
flag: 0, version: 1, length: 8192

Some config might also be useful, to enable such debug dumps for specific PCI vendor IDs, with a set of flags to use.

Regards
Carl Heymann




More information about the sos-devel mailing list