Module build for kernel 6.8.12-4-pve was skipped since the kernel headers for this kernel do not seem to be installed.

Tur1can21

New Member
Feb 14, 2025
2
0
1
Hi

Using a fresh pbs 3.3 installation from iso.
Try to install my internal RTL8125 nic but struggle while install the "realtek-r8125-dkms_9.014.01-1_amd64.deb" package.
As the kernel headers seems to be not installed by default, i download http://download.proxmox.com/debian/...oxmox-headers-6.8.12-4-pve_6.8.12-4_amd64.deb and install it.

after installation:
apt list proxmox-headers-$(uname -r)
Listing... Done
proxmox-headers-6.8.12-4-pve/now 6.8.12-4 amd64 [installed,local]

uname -r shows:
6.8.12-4-pve

But i still get the error:
Module build for kernel 6.8.12-4-pve was skipped since the kernel headers for this kernel do not seem to be installed.

Does someone know to fix this ?

thx, best regards
Andi
 
Hi, you have to add the PVE repo in proxmox.
  1. >Updates >repositories >add >no_subscription
  2. apt update
  3. apt install proxmox-headers-$(uname -r)
  4. dpkg -i realtek-r8125-dkms_9.014.01-1_amd64.deb (or latest available from here - Realtek r8125 DKMS)
  5. Blacklist the old driver - echo "blacklist r8169" > /etc/modprobe.d/blacklist-r8169.conf
  6. sudo update-initramfs -u
  7. reboot

install lshw if not already there
apt install lshw
check driver with
lshw -C network

If it says
*-network UNCLAIMED
description: Ethernet controller
product: RTL8125 2.5GbE Controller

Driver isn't loaded,

If it says:
*-network DISABLED
description: Ethernet interface
product: RTL8125 2.5GbE Controller

Driver is loaded and will show up in Proxmox after a refreshing web page.

Looks like we are spending our weekend doing the same thing :)

FYI, i completed the original install using a USB network card/dongle and then did the above, post install.
Proxmox 8.3.3
 
Last edited:
Hi matt2025
Thank you very much for the detailed instructions. I strugle on step 3: apt install proxmox-headers-$(uname -r) does not work for me.
I did add the no_supscription Repo. Will try to follow your steps one i have access to this pc again.
thx