Issues after opt-in kernel 6.2 / Realtek 8125

tlex

Member
Mar 9, 2021
103
14
23
43
I have 2 proxmox hosts.
The first one was installed a while ago and I had to install dkms in order to support my Realtek 8125 4 ports nic card since it was not supported natively by proxmox at that time.
The second host was installed more recently and I didn't had to go the dkms way to make the Realtek 8125 card in that system to work.
Now after installing pve-kernel-6.2, the host with dkms complains that I'm missing some headers to reinstall the kernel module and the nic obviously wont work.
Now my question is, in that specific case, how can I get rid of dkms and reinstall the nic module / drivers as it is installed in the other system ?

I tried just to run dkms remove -m realtek-r8125 -v 9.003.05 but after a reboot the nic interfaces don't show up...

Any help appreciated :)

Working system without dkms on kernel 6.2:
Code:
dmesg |grep eth
[    1.595150] r8169 0000:04:00.0 eth0: RTL8125B, 1c:fd:08:74:76:b8, XID 641, IRQ 132
lspci -v:
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
    Subsystem: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller
    Flags: bus master, fast devsel, latency 0, IRQ 18
    I/O ports at 3000 [size=256]
    Memory at b1000000 (64-bit, non-prefetchable) [size=64K]
    Memory at b1010000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
    Capabilities: [70] Express Endpoint, MSI 01
    Capabilities: [b0] MSI-X: Enable+ Count=32 Masked-
    Capabilities: [d0] Vital Product Data
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [148] Virtual Channel
    Capabilities: [168] Device Serial Number 01-00-00-00-68-4c-e0-00
    Capabilities: [178] Transaction Processing Hints
    Capabilities: [204] Latency Tolerance Reporting
    Capabilities: [20c] L1 PM Substates
    Capabilities: [21c] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
    Kernel driver in use: r8169
    Kernel modules: r8169

Non-Working (when upgrading to 6.2 kernel) system with dkms:
Code:
dmesg |grep eth
[   16.563071] r8125 0000:06:00.0 enp6s0: renamed from eth0
lspci -v
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
    Subsystem: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller
    Flags: bus master, fast devsel, latency 0, IRQ 109
    I/O ports at a000 [size=256]
    Memory at fc600000 (64-bit, non-prefetchable) [size=64K]
    Memory at fc610000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable+ Count=1/1 Maskable+ 64bit+
    Capabilities: [70] Express Endpoint, MSI 01
    Capabilities: [b0] MSI-X: Enable- Count=32 Masked-
    Capabilities: [d0] Vital Product Data
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [148] Virtual Channel
    Capabilities: [168] Device Serial Number 01-00-00-00-68-4c-e0-00
    Capabilities: [178] Transaction Processing Hints
    Capabilities: [204] Latency Tolerance Reporting
    Capabilities: [20c] L1 PM Substates
    Capabilities: [21c] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
    Kernel driver in use: r8125
    Kernel modules: r8169, r8125
 
Last edited:
Damn... my bad... module r8169 was blacklisted...
I wish we could delete our own posts.
sorry for that
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!