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
 
Hi !
I have the same touble with my realtek-r8126 network adapter.
After command dpkg -i realtek-r8126-dkms_10.016.00-1_amd64.deb I get:
Code:
(Reading database ... 105974 files and directories currently installed.)
Preparing to unpack realtek-r8126-dkms_10.016.00-1_amd64.deb ...
Deleting module realtek-r8126/10.016.00 completely from the DKMS tree.
Unpacking realtek-r8126-dkms (10.016.00-1) over (10.016.00-1) ...
Setting up realtek-r8126-dkms (10.016.00-1) ...
Loading new realtek-r8126/10.016.00 DKMS files...
Building for 6.17.2-2-pve
Building for architecture amd64

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

When I try to install headers with command apt install pve-headers-$(uname -r) i get:
Code:
Note, selecting 'proxmox-headers-6.17.2-2-pve' instead of 'pve-headers-6.17.2-2-pve'
proxmox-headers-6.17.2-2-pve is already the newest version (6.17.2-2).
The following packages were automatically installed and are no longer required:
  libnutscan2  libupsclient6t64
Use 'apt autoremove' to remove them.

Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

Message Note, selecting 'proxmox-headers-6.17.2-2-pve' instead of 'pve-headers-6.17.2-2-pve' confused me.
Can anyone help me please?