Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Adélie Package Tree Adélie Package Tree
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 384
    • Issues 384
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Adélie Linux
  • Adélie Package TreeAdélie Package Tree
  • Issues
  • #600
Closed
Open
Created Apr 26, 2022 by Zach van Rijn@zOwner

system/net-tools: ifconfig reports zero-value rx/tx counters

Found on ppc64 but happens on all architectures.

Occurs even with 2.10 (and ca. 1.60 which is present in RC2).

# uname -a
Linux adelie 5.4.66-mc1-easy #1 SMP Tue Feb 8 02:34:39 UTC 2022 x86_64 GNU/Linux

# cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo: 24875448119 31633640    0    0    0     0          0         0 24875448119 31633640    0    0    0     0       0          0
  eth0: 2868069466 2102964    0    0    0     0          0         0 52709223  465667    0    0    0 2327262       0          0

# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.10.108  netmask 255.255.255.0  broadcast 192.168.10.255
        inet6 fe80::5054:ff:fec1:38e3  prefixlen 64  scopeid 0x20<link>
        ether 52:54:00:c1:38:e3  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 2327507

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

and on the new kernel:

03:58 <~awilfox> awilcox on adelie-m1 ~ % grep eth0 /proc/net/dev
03:58 <~awilfox> eth0: 377841108 1340076    0    0    0     0          0         0 85516980  704282    0    0    0     0       0          0
03:58 <~awilfox> awilcox on adelie-m1 ~ % ifconfig | grep packets
03:58 <~awilfox>         RX packets 0  bytes 0 (0.0 B)
03:58 <~awilfox>         TX packets 0  bytes 0 (0.0 B)
03:58 <~awilfox> awilcox on adelie-m1 ~ % uname -a
03:58 <~awilfox> Linux adelie-m1.foxkit.us 5.15.28-mc1-easy #1 SMP Sun Apr 17 19:25:11 CDT 2022 aarch64 GNU/Linux
Assignee
Assign to
Time tracking