Network issue with 6.4

Hi.
Strange issue this morning, my network was ok until about 11 AM when I went out, coming back about 1 hour later.
There, no network anymore.
I also couldn’t use my android shared connection.
eno1 & wlo1 desperately down the former was using 8169
This until I rebooted on the 6.1 kernel.

There I did this

And network is back on 6.4

The odd thing is that I was totally up to date and did no update today…

What may have happened ?

➜  ~ inxi -Fazy
System:
  Kernel: 6.4.9-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.4-x86_64
    root=UUID=78fe8df9-a5da-4f7c-9ec3-52993d393e57 rw quiet
    udev.log_priority=3
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel, plank
    wm: xfwm v: 4.18.0 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux
    base: Arch Linux
Machine:
  Type: Laptop System: HP product: Victus by HP Laptop 16-e0xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 8934 v: 80.72 serial: <superuser required> UEFI: AMI
    v: F.13 date: 02/14/2022
Battery:
  ID-1: BAT0 charge: 66.0 Wh (99.7%) condition: 66.2/66.2 Wh (100.0%)
    volts: 16.8 min: 15.4 model: HP Primary type: Li-ion serial: <filter>
    status: not charging cycles: 58
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000C
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 1565 high: 3300 min/max: 1200/4280 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3300 2: 1200
    3: 1198 4: 1386 5: 1200 6: 3300 7: 1200 8: 1200 9: 1200 10: 1200 11: 1200
    12: 1200 bogomips: 79080
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
    vendor: Hewlett-Packard driver: amdgpu v: kernel arch: RDNA-1 code: Navi-1x
    process: TSMC n7 (7nm) built: 2019-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: none empty: HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:7340
    class-ID: 0380
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: Hewlett-Packard driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: eDP-1 empty: DP-1
    bus-ID: 09:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 41.0 C
  Device-3: Quanta HP Wide Vision HD Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:2 chip-ID: 0408:5425
    class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
    compositor: xfwm v: 4.18.0 driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP model: ChiMei InnoLux 0x1606 built: 2019
    res: 1920x1080 hz: 60 dpi: 137 gamma: 1.2 size: 355x199mm (13.98x7.83")
    diag: 407mm (16") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 23.1.5 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.52 6.4.9-1-MANJARO) direct-render: Yes
Audio:
  Device-1: AMD Navi 10 HDMI Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 03:00.1 chip-ID: 1002:ab38 class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 09:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
    driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x, snd_pci_acp5x,
    snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt pcie: gen: 3 speed: 8 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 09:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 09:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  API: ALSA v: k6.4.9-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.77 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8168 v: 8.051.02-NAPI modules: r8169 pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 04:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw89_8852ae v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0 chip-ID: 10ec:8852
    class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IF-ID-1: docker0 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
  IF-ID-2: vethf714311 state: up speed: 10000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:3 chip-ID: 0bda:2852
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 7c010c
Drives:
  Local Storage: total: 1.38 TiB used: 753.8 GiB (53.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN730
    SDBPNTY-512G-1006 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: HPS2 temp: 36.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:6 vendor: Crucial model: CT1000P5SSD8
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: P4CR311 temp: 37.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 376.3 GiB size: 369.32 GiB (98.15%) used: 94.62 GiB (25.6%)
    fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 86.9 MiB (34.0%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 931.51 GiB size: 915.82 GiB (98.32%)
    used: 659.09 GiB (72.0%) fs: ext4 dev: /dev/nvme1n1p1 maj-min: 259:7
Swap:
  Kernel: swappiness: 5 (default 60) cache-pressure: 50 (default 100)
    zswap: yes compressor: zstd max-pool: 20%
  ID-1: swap-1 type: file size: 16 GiB used: 256 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 51.9 C mobo: N/A
  Fan Speeds (rpm): fan-1: 2207 fan-2: 2401
  GPU: device: amdgpu temp: 41.0 C device: amdgpu temp: 39.0 C mem: 0.0 C
    fan: 65535 watts: 4.00
Info:
  Processes: 420 Uptime: 7m wakeups: 4 Memory: total: 16 GiB note: est.
  available: 14.97 GiB used: 9.48 GiB (63.3%) Init: systemd v: 253
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 15.0.7
  Packages: 2966 pm: pacman pkgs: 2865 libs: 514 tools: pamac,yay pm: flatpak
  pkgs: 101 Shell: Zsh v: 5.9 running-in: xfce4-terminal inxi: 3.3.29
➜  ~ 

I think it’s probably a kernel bug. Over at the PCLinuxOS forum, several people are also reporting the loss of network functionality — mainly Ethernet, but sometimes WiFi as well — with the Realtek RTL8111/8168/8411 chipset in combination with a 6.4 kernel, although in one instance it was also with 6.1, and in that person’s case, switching from the r8169 driver to the r8168 driver only made things worse.

I myself am using the 6.1 kernel with the in-kernel r8169 driver — my chipset may be slightly different though, because this is a desktop, and it doesn’t have WiFi — although until recently I was using the out-of-tree r8168 driver module due to that one having been the default when I installed Manjaro back in 2019. And I can’t say that I’ve ever had any connection problems with either driver so far.

So it may be specific to that particular chipset, and then one can only hope that the kernel developers will hear about the problem and that they get to fix the driver. :thinking:

2 Likes

Thank you for caring.
What is supposed to be the most efficient driver for these ?

➜  ~ inxi -N
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8168
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    driver: rtw89_8852ae
➜  ~

Well, the r8169 driver is the in-tree driver, meaning that it’s the official driver as it ships from the kernel developers at kernel.org, but when I myself installed Manjaro back in April 2019, it defaulted to using the r8168 driver, which was no longer part of the official kernel sources — and r8169 was blacklisted in /etc/modprobe.d/blacklist.conf. At present time, Manjaro does not install r8168 by default anymore.

I asked @philm about why Manjaro defaulted to r8168 instead of r8169, and he said that many people were having compatibility problems with r8169 — even back then.

Well, all I can say is that on my system here, I’ve taken the leap and removed r8168, deleted /etc/blacklist.conf, and that I’m happily running r8169 now without any problems. But like I said, I’m on the 6.1 LTS kernel, and my chipset may be slightly different because it doesn’t have any WiFi functionality, given that this is a desktop computer.

So I guess the most efficient driver is the one that works for you, given that lots of people are reporting problems with either driver, depending on their exact setup. :man_shrugging:

1 Like

I’ve also read this:

https://askubuntu.com/a/1279662

2 Likes

:point_up:
kernel 6.4 has really flaws with the realtek chipsets. the network shuts down and is no longer responding as it would disappeared in nothing. fun fact, i connected a usb-network-dongle and switched the ethernet-cable to this and suddenly both (!!!) network adapters are connecting back to the router and the realtek-network adapter is working again. silly game

2 Likes

By the way, I’ve just checked with inxi, and my network chipset is the same as yours. But as I said, I’m running the 6.1 LTS kernel here — I prefer stability. :stuck_out_tongue:

1 Like

i compiled the clear-linux-kernel-6.4.10 just for fun and the problem is solved. maybe a problem of the shipped binary of kernel 6.4. who knows, who cares ? there’s no reason to think about because kernel 6.5 is coming soon.

1 Like

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