Today's Kernel update broke the network manager/ doesn't see the cable

Kernel: 6.9.7-200.fc40.x86_64

(Does not happen on 6.9.6)


So after the latest what seemed like kernel update Fedora stopped recognizing my Ethernet cable, I am sure this is an update problem because now I am writing from Live Image I still had on my flash drive, If I am using the 8168 as a driver version on my disk installation

Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)

1 Like

Added kernel, realtek and removed kde

Can you give output using nm-cli?

nmcli device status

Also

journalctl -p warning
1 Like

So I was googling on the phone at the same time, and found the same problem on some Ubuntu forum I ran this command to find out how my driver is doing sudo modprobe r8169 && sudo dmesg | grep r816 commands and had the same output which is modprobe: FATAL: Module r8169 not found in directory - path to the current kernel which is in my case kernel-6.9.7-200.fc40.x86_64.

I also was able to load a session with 6.9.6 kernel using GRUB where internet runs fine, I still want to figure out how to fix it on a newer kernel so I can stay up to date however, I will reload now into the latest kernel and send you output of the commands you asked for. just a moment.

1 Like

nmcli device status

lo      loopback  connected (externally)  lo

journalctl -p warning

Jun 28 13:29:50 fedora kernel: sched: RT throttling activated
Jun 28 13:29:53 fedora backlighPCI 500.0: 0200 Ethernet controller
  [Created at pci.386]
  Unique ID: Ddhb.eyqrN5GWcA7
  Parent ID: ejN_.sArAqRDibeE
  SysFS ID: /devices/pci0000:00/0000:00:01.3/0000:01:00.2/0000:02:06.0/0000:05:00.0
  SysFS BusID: 0000:05:00.0
  Hardware Class: network
  Model: "Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8168 "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x8677 "PRIME B450M-A Motherboard"
  Revision: 0x15
  I/O Ports: 0xf000-0xf0ff (rw)
  Memory Range: 0xfce04000-0xfce04fff (rw,non-prefetchable)
  Memory Range: 0xfce00000-0xfce03fff (rw,non-prefetchable)
  IRQ: 15 (no events)
  Module Alias: "pci:v000010ECd00008168sv00001043sd00008677bc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is not active
    Driver Activation Cmd: "modprobe r8169"
  Driver Info #1:
    Driver Status: r8168 is not active
    Driver Activation Cmd: "modprobe r8168"tPCI 500.0: 0200 Ethernet controller
  [Created at pci.386]
  Unique ID: Ddhb.eyqrN5GWcA7
  Parent ID: ejN_.sArAqRDibeE
  SysFS ID: /devices/pci0000:00/0000:00:01.3/0000:01:00.2/0000:02:06.0/0000:05:00.0
  SysFS BusID: 0000:05:00.0
  Hardware Class: network
  Model: "Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8168 "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x8677 "PRIME B450M-A Motherboard"
  Revision: 0x15
  I/O Ports: 0xf000-0xf0ff (rw)
  Memory Range: 0xfce04000-0xfce04fff (rw,non-prefetchable)
  Memory Range: 0xfce00000-0xfce03fff (rw,non-prefetchable)
  IRQ: 15 (no events)
  Module Alias: "pci:v000010ECd00008168sv00001043sd00008677bc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is not active
    Driver Activation Cmd: "modprobe r8169"
  Driver Info #1:
    Driver Status: r8168 is not active
    Driver Activation Cmd: "modprobe r8168"helper[2173]: org.kde.powerdevil: no kernel baPCI 500.0: 0200 Ethernet controller
  [Created at pci.386]
  Unique ID: Ddhb.eyqrN5GWcA7
  Parent ID: ejN_.sArAqRDibeE
  SysFS ID: /devices/pci0000:00/0000:00:01.3/0000:01:00.2/0000:02:06.0/0000:05:00.0
  SysFS BusID: 0000:05:00.0
  Hardware Class: network
  Model: "Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8168 "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x8677 "PRIME B450M-A Motherboard"
  Revision: 0x15
  I/O Ports: 0xf000-0xf0ff (rw)
  Memory Range: 0xfce04000-0xfce04fff (rw,non-prefetchable)
  Memory Range: 0xfce00000-0xfce03fff (rw,non-prefetchable)
  IRQ: 15 (no events)
  Module Alias: "pci:v000010ECd00008168sv00001043sd00008677bc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is not active
    Driver Activation Cmd: "modprobe r8169"
  Driver Info #1:
    Driver Status: r8168 is not active
    Driver Activation Cmd: "modprobe r8168"cklight interface found
Jun 28 13:30:03 fedora (pcscd)[2929]: pcscd.service: Referenced but unset environment variable evaluates to an empty string: PCSCD_ARGS
Jun 28 13:33:07 fedora avahi-daemon[922]: Missed message org.freedesktop.DBus.Properties::GetAll()
Jun 28 13:33:07 fedora avahi-daemon[922]: Missed message org.freedesktop.DBus.Properties::GetAll()
Jun 28 13:33:07 fedora passimd[7103]: failed: failed to register: http server has not yet started
Jun 28 13:33:07 fedora passimd[7103]: failed: failed to register: http server has not yet started
Jun 28 13:33:23 fedora packagekit-dnf-[7284]: Skipping refresh of rpmfusion-free-updates: cannot update repo 'rpmfusion-free-updates':>
Jun 28 13:33:27 fedora packagekitd[2356]: Failed to get cache filename for kernel-core
Jun 28 13:33:27 fedora packagekitd[2356]: Failed to get cache filename for emacs-filesystem
Jun 28 13:33:27 fedora packagekitd[2356]: Failed to get cache filename for kernel-modules-core
Jun 28 13:33:27 fedora packagekitd[2356]: Failed to get cache filename for kernel-modules-extra
Jun 28 13:33:27 fedora packagekitd[2356]: Failed to get cache filename for merkuro
Jun 28 13:33:27 fedora packagekitd[2356]: Failed to get cache filename for kernel
Jun 28 13:33:27 fedora packagekitd[2356]: Failed to get cache filename for qpdf-libs
Jun 28 13:33:27 fedora packagekitd[2356]: Failed to get cache filename for xorg-x11-server-Xwayland
Jun 28 13:33:27 fedora packagekitd[2356]: Failed to get cache filename for mimetreeparser
Jun 28 13:33:27 fedora packagekitd[2356]: Failed to get cache filename for kernel-modules
Jun 28 14:55:49 fedora packagekitd[13240]: Failed to get cache filename for ktimer
Jun 28 14:55:59 fedora packagekitd[13240]: Failed to get cache filename for kdeplasma-addons
Jun 28 14:56:07 fedora packagekitd[13240]: Failed to get cache filename for gnome-break-timer
Jun 28 14:56:10 fedora packagekitd[13240]: Failed to get cache filename for kteatime
Jun 28 14:56:30 fedora packagekitd[13240]: Failed to get cache filename for kclock
Jun 28 19:12:17 fedora telegram-desktop[2230]: QBuffer::seek: Invalid pos: 2466465028
Jun 28 19:12:17 fedora telegram-desktop[2230]: QBuffer::seek: Invalid pos: 2143952051
Jun 28 19:12:17 fedora telegram-desktop[2230]: QBuffer::seek: Invalid pos: 3227886121
Jun 28 19:12:17 fedora telegram-desktop[2230]: QBuffer::seek: Invalid pos: 2999361770
Jun 28 19:12:17 fedora telegram-desktop[2230]: QBuffer::seek: Invalid pos: 547687116
Jun 28 19:12:17 fedora telegram-desktop[2230]: QBuffer::seek: Invalid pos: 2067912424
Jun 28 19:12:17 fedora telegram-desktop[2230]: QBuffer::seek: Invalid pos: 3971958939
Jun 28 19:12:17 fedora telegram-desktop[2230]: QBuffer::seek: Invalid pos: 854837643
Jun 28 19:12:17 fedora telegram-desktop[2230]: QBuffer::seek: Invalid pos: 2056494973
Jun 28 19:12:17 fedora telegram-desktop[2230]: QBuffer::seek: Invalid pos: 1027710157
Jun 28 19:12:17 fedora telegram-desktop[2230]: QBuffer::seek: Invalid pos: 1817103936```

Can you report this to the Fedora Bugzilla? More people see it there, that can actually fix something :wink:

You missed a “preformatted text” / codeblock formatting there

1 Like

Sure thing, will do in a moment, haven’t done this before but i will figure out, however,
it looks like this problems occurs because the linux kernel extra modules were not coming with my driver version in them pre-installed, my network adapter does work with newer versions as well.

IDK if Links to external forums are allowed,
but the guy fixed it by basically re-installing main kernel version and purging the same driver that I have,
Is there a chance I could do the same?
Because this driver I choose manually via some guide since my internet was somewhat
slow on the newer versions

Yes links are always allowed. (Please add some linebreaks and “.” here, to make it more readable)

So you are saying that the new kernel has the drivers included so you dont need the kernel module anymore?

If that is the case, then yes, you should absolutely do that.

I tried going into the bugzilla, doesn’t let me in

Blockquote You must have cookies enabled and a Fedora Account System (FAS) account to log in to Fedora Project Wiki. Additionally, due to spam edits, as of 2016-08 your account must have at least one non cla* group to be able to login and edit.

I have the FAS account and cookies are enabled, just signed contribution agreement will try again later.

And regarding the link here is what I am referring to

Solution

sudo modprobe r8169

if this starts the internet, than remove older driver

sudo dnf remove dkms-r8168 

So since this problem is on me and not on fedora as the 8168 is an old driver I don’t think I have to report a bug, however most of people with realtek network adapter do have issues with internet speed on the newer drivers, I only get 50 to 60 mb per second with r8169, and full 100 to 120 with r8168 so it would be nice to have this one pre-installed in newer kernels as well.

2 Likes

So, the old manually installed driver had better speed than the one in the kernel?

Hi, yeah, with the new one the download speed in lets say steam or just using dnf is way slower, this is a long time issue for realtek network adapters however, a quick search for " Realtek Ethernet connection is slower under linux" will almost instantly point you towards a bunch of articles and forum discussions that suggest trying 8168 instead. and it did help actually on my experience. Steam went from 43 mbs to 100 mbs and dnf is just significantly faster.

1 Like

You might be interested in this repo:

https://copr.fedorainfracloud.org/coprs/kwizart/kernel-longterm-6.6/

It compiles the upstream LTS kernel (2 years of support) for Fedora. You should be able to replace your kernel with that one.

As the changes are slower, the driver may just work.

Where do you get it from? rpmfusion?

1 Like

I followed this guide from 2 years ago, probably wasn’t the best idea, but I had to do it in rush as I needed connection to be fast enough for my work, and regarding the kernel, I will give it a try tomorrow, thank you for linking it to me!

1 Like

If wifi in your system is on a swapable card, there are good (and inexpensive) options for cards with kernel.org drivers.

Yeah no, it’s built into the motherboard :frowning: I probably one day will get another motherboard with better suited adapter