No stats on network interface on Intel I225-V

Hello everyone.

I have trouble with my network interface on Intel I225-V chipset. Everything works nice, except no RX/TX stats are provided for it, so I can’t track network activity in any of system monitors.

Zero stats on enp6s0:

eden@sunce:~ >  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:   38925     159    0    0    0     0          0         0    38925     159    0    0    0     0       0          0
    enp6s0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
    wlp5s0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0    

Stats in separate files:

eden@sunce:~ >  cat /sys/class/net/enp6s0/statistics/*
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Available interfaces:

eden@sunce:~ >  ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 24:4b:fe:5d:61:4d brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.69/24 brd 192.168.1.255 scope global noprefixroute enp6s0
       valid_lft forever preferred_lft forever
    inet6 fe80::e555:b19a:4355:249f/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: wlp5s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 16:65:5c:68:b7:c9 brd ff:ff:ff:ff:ff:ff permaddr a8:7e:ea:c9:f4:69

Here’s the hardware:

eden@sunce:~ >  inxi -N
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi 
           Device-2: Intel Ethernet I225-V driver: igc

I tried with different versions of kernels, but the result is same:

  • 5.4.72-1
  • 5.8.16-2
  • 5.9.1-1

If I switch to wlp5s0, stats are available. Any clues?

Thanks.

As you did not provide a full inxi --admin --verbosity=7 --filter --no-host --width it’s hard to speculate, but if this is a home-built rig, did you install the UEFI drivers for that card?

If not a home-built rig: did you upgrade your UEFI firmware yet?

:thinking:

Fabby,

Motherboard manufacturer released new firmware few days ago, I updated it but the problem remains. It’s home-built rig without any additional UEFI drivers installed.

Here’s the full spec:

eden@sunce:~ >  inxi --admin --verbosity=7 --filter --no-host --width
System:
  Kernel: 5.9.1-1-MANJARO x86_64 bits: 64 compiler: N/A 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 
  root=UUID=8e54b3e5-faff-4f7f-bde6-1e055ed78e1c rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.19.5 tk: Qt 5.15.1 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <filter> 
  Mobo: ASUSTeK model: ROG STRIX B550-F GAMING (WI-FI) v: Rev X.0x 
  serial: <filter> UEFI: American Megatrends v: 1202 date: 10/21/2020 
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse PID:0082 
  serial: N/A charge: 55% (should be ignored) rechargeable: yes 
  status: Discharging 
  Device-2: hidpp_battery_1 model: Logitech Wireless Keyboard PID:0066 
  serial: N/A charge: 55% (should be ignored) rechargeable: yes 
  status: Discharging 
Memory:
  RAM: total: 31.34 GiB used: 12.30 GiB (39.2%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Topology: 6-Core model: AMD Ryzen 5 3600X bits: 64 type: MT MCP arch: Zen 2 
  family: 17 (23) model-id: 71 (113) stepping: N/A microcode: 8701021 
  L2 cache: 3072 KiB bogomips: 91071 
  Speed: 2794 MHz min/max: 2200/3800 MHz boost: enabled Core speeds (MHz): 
  1: 2662 2: 1863 3: 2195 4: 2193 5: 1863 6: 2197 7: 2191 8: 2193 9: 2676 
  10: 1924 11: 1863 12: 2196 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy 
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs irperf lahf_lm lbrv lm 
  mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc 
  nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq 
  pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse 
  pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sev sha_ni skinit 
  smap smca sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm 
  svm_lock syscall tce topoext tsc tsc_scale umip v_vmsave_vmload vgif 
  vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt 
  xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 3GB] vendor: Micro-Star MSI 
  driver: nvidia v: 455.28 alternate: nouveau,nvidia_drm bus ID: 07:00.0 
  chip ID: 10de:1c02 
  Display: x11 server: X.Org 1.20.9 compositor: kwin_x11 driver: nvidia 
  display ID: :0 screens: 1 
  Screen-1: 0 s-res: 3840x1200 s-dpi: 93 s-size: 1049x324mm (41.3x12.8") 
  s-diag: 1098mm (43.2") 
  Monitor-1: DVI-D-0 res: 1920x1200 hz: 60 dpi: 94 
  size: 518x324mm (20.4x12.8") diag: 611mm (24.1") 
  Monitor-2: HDMI-0 res: 1920x1080 hz: 60 dpi: 94 size: 521x293mm (20.5x11.5") 
  diag: 598mm (23.5") 
  OpenGL: renderer: GeForce GTX 1060 3GB/PCIe/SSE2 v: 4.6.0 NVIDIA 455.28 
  direct render: Yes 
Audio:
  Device-1: NVIDIA GP106 High Definition Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 07:00.1 chip ID: 10de:10f1 
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 09:00.4 chip ID: 1022:1487 
  Sound Server: ALSA v: k5.9.1-1-MANJARO 
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus ID: 05:00.0 
  chip ID: 8086:2723 
  IF: wlp5s0 state: down mac: <filter> 
  Device-2: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel 
  port: N/A bus ID: 06:00.0 chip ID: 8086:15f3 
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: noprefixroute scope: global broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Drives:
  Local Storage: total: 2.05 TiB used: 881.81 GiB (42.0%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 vendor: Kingston model: SA2000M81000G size: 931.51 GiB 
  block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
  serial: <filter> rev: S5Z42105 scheme: GPT 
  ID-2: /dev/sda vendor: Samsung model: SSD 840 PRO Series size: 238.47 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> 
  rev: 6B0Q scheme: GPT 
  ID-3: /dev/sdb vendor: Western Digital model: WD10EAVS-00M4B0 
  size: 931.51 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: <filter> rev: 0A01 scheme: MBR 
  Message: No Optical or Floppy data was found. 
RAID:
  Message: No RAID data was found. 
Partition:
  ID-1: / raw size: 97.66 GiB size: 95.62 GiB (97.92%) used: 14.90 GiB (15.6%) 
  fs: ext4 dev: /dev/nvme0n1p2 label: N/A 
  uuid: 8e54b3e5-faff-4f7f-bde6-1e055ed78e1c 
  ID-2: /boot/efi raw size: 300.0 MiB size: 299.4 MiB (99.80%) 
  used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 label: N/A uuid: C031-0060 
  ID-3: /home raw size: 727.10 GiB size: 714.69 GiB (98.29%) 
  used: 273.22 GiB (38.2%) fs: ext4 dev: /dev/nvme0n1p5 label: N/A 
  uuid: 10dc0016-599b-449c-adfb-14d835c9c403 
  ID-4: /mnt/backup raw size: 238.47 GiB size: 233.73 GiB (98.01%) 
  used: 71.82 GiB (30.7%) fs: ext4 dev: /dev/sda1 label: backup 
  uuid: f95b73ab-80f5-4a8d-a622-37c2eb4fb5d9 
  ID-5: /mnt/wdpass raw size: 931.51 GiB size: 915.89 GiB (98.32%) 
  used: 498.73 GiB (54.5%) fs: ext4 dev: /dev/sdb1 label: wdpass 
  uuid: 20375b64-27c4-4df8-ab73-71c9d3219fcd 
  ID-6: /run/timeshift/backup raw size: 238.47 GiB 
  size: <superuser/root required> used: <superuser/root required> fs: ext4 
  dev: /dev/sda1 label: backup uuid: f95b73ab-80f5-4a8d-a622-37c2eb4fb5d9 
  ID-7: /var raw size: 97.66 GiB size: 95.62 GiB (97.92%) 
  used: 23.10 GiB (24.2%) fs: ext4 dev: /dev/nvme0n1p4 label: N/A 
  uuid: 60ec20d1-e3fb-4233-8113-41ea8e9d439c 
Swap:
  Kernel: swappiness: 10 (default 60) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 8.80 GiB used: 41.3 MiB (0.5%) 
  priority: -2 dev: /dev/nvme0n1p3 label: N/A 
  uuid: 5cb90f66-1abb-4bfd-aff6-3f2fd512a218 
Unmounted:
  Message: No unmounted partitions found. 
USB:
  Hub: 1-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0 speed: 480 Mb/s 
  chip ID: 1d6b:0002 
  Device-1: 1-5:2 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb 
  interfaces: 2 rev: 2.0 speed: 12 Mb/s chip ID: 8087:0029 
  Device-2: 1-6:3 info: ASUSTek AURA LED Controller type: <vendor specific> 
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  chip ID: 0b05:1939 serial: <filter> 
  Hub: 1-7:4 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  chip ID: 05e3:0610 
  Hub: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip ID: 1d6b:0003 
  Hub: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  chip ID: 1d6b:0002 
  Device-1: 3-2:2 info: Logitech LX710 Cordless Desktop Laser 
  type: Keyboard,Mouse driver: logitech-djreceiver,usbhid interfaces: 2 
  rev: 1.1 speed: 1.5 Mb/s chip ID: 046d:c517 
  Device-2: 3-3:3 info: Corsair Vengeance K70R keyboard type: Keyboard,HID 
  driver: corsair,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  chip ID: 1b1c:1b09 
  Hub: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip ID: 1d6b:0003 
Sensors:
  System Temperatures: cpu: 45.9 C mobo: N/A gpu: nvidia temp: 38 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 35% 
Info:
  Processes: 359 Uptime: 1d 11h 02m Init: systemd v: 246 Compilers: 
  gcc: 10.2.0 clang: 10.0.1 Packages: 1464 pacman: 1460 lib: 377 flatpak: 4 
  Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.05 

I’m only on page 49 of the 2706 pages of the UEFI manual so I won’t be able to help you any further, except to point you to the Intel UEFI drivers already mentioned before and see if that helps.

(If the generic UEFI driver doesn’t expose statistics to the OS, you will have to install a specific one.)

If you want the full UEFI spec I’m reading as well, that’s here

:+1:

Thanks for the help, Fabby. I need to check the whole story with UEFI drivers first, which is not quite my area.

Just before you go to deep into the UEFI spec, which has probably nothing to do with your problem, read this

https://bugzilla.kernel.org/show_bug.cgi?id=208431

There is no solution. It looks more like a normal driver bug.

Interestingly, the ethtool should show (some) statistics. Maybe you can try it.

1 Like

Indeed, ethtool really shows interface stats:

eden@sunce:~ >  ethtool -S enp6s0
NIC statistics:
     rx_packets: 14558168
     tx_packets: 14568229
     rx_bytes: 12338911322
     tx_bytes: 12914245311
     rx_broadcast: 5480
     tx_broadcast: 568
     rx_multicast: 79984
     tx_multicast: 3674
     multicast: 79984
     collisions: 0
     ...

Thanks.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.