Custom Proxmox 6.19.0 Kernel. 6.18.0 is also available for Testing.

jaminmc

Member
Aug 1, 2022
77
67
23
DISCLAIMER: This is not Official Proxmox. I use the source code and applied it to the latest available kernels that Ubuntu has in the same way Proxmox does. Except they have a team, and a bunch of test benches, and procedures to make sure things are stable before releasing. I have only 3 Proxmox systems that I can test on.

I managed to make my own 6.19.0-jaminmc-pve kernel based on Ubuntu-6.19.0-3.3, which itself is based on Linux 6.19-rc6. With Proxmox Patches and Configuration, I was also able to get OpenZFS 2.4.0 to work with 6.19 with my own patches. So far, it’s been stable, and GPU passthrough is working well (Vega 64).

Both 6.18.0 and 6.19.0 are available here:
https://github.com/jaminmc/pve-kernel/releases/

There are 2 versions. One where Proxmox rolled back some of the new stuff in TCP in 6.17 that was causing problems with the PBS server, and one where those were not done to the TCP, so it is native to 6.19.

Here is the one that has the patch from Proxmox that rolls them back:
Code:
# Download Kernel & Headers
wget https://github.com/jaminmc/pve-kernel/releases/download/v6.19.0/proxmox-{kernel,headers}-6.19.0-1-jaminmc-tcp-pve_6.19.0-1_amd64.deb

# Download Firmware
wget https://github.com/jaminmc/pve-kernel/releases/download/v6.19.0/pve-firmware_3.19-1-jaminmc_all.deb

# Install Them
apt install ./proxmox-{kernel,headers}-6.19.0-1-jaminmc-tcp-pve_6.19.0-1_amd64.deb ./pve-firmware_3.19-1-jaminmc_all.deb

# Unpin your current kernel. Since it is the Newest and highest PVE kernel, it should be the default.
proxmox-boot-tool kernel unpin

And here is the one that doesn't:
Code:
# Download Kernel & Headers
wget https://github.com/jaminmc/pve-kernel/releases/download/v6.19.0-No-TCP-6.17-Regressions/proxmox-{kernel,headers}-6.19.0-1-jaminmc-pve_6.19.0-1_amd64.deb
# Download Firmware
wget https://github.com/jaminmc/pve-kernel/releases/download/v6.19.0/pve-firmware_3.19-1-jaminmc_all.deb

# Install Them
apt install ./proxmox-{kernel,headers}-6.19.0-1-jaminmc-pve_6.19.0-1_amd64.deb ./pve-firmware_3.19-1-jaminmc_all.deb

# Unpin your current kernel. Since it is the Newest and highest PVE kernel, it should be the default.
proxmox-boot-tool kernel unpin
 
just wanted to say thanks. I did install the latest 6.19.1 on my proxmox runnnig amd strix halo (framework desktop), and that kernel actually fixed the problem in my immich lxc container running onnx models. Before i was running 6.17 from proxmox and there are missing amd patches which seem to prevent being able to run this new migraph onnx inference engine.

PBS also worked for me

anyway long story short... i'm super happy, this was my first time running a (not self) custom compiled kernel but it did work.
 
Last edited:
  • Like
Reactions: jaminmc
I'm glad I could help! Every few days, I check for a newer kernel at the Ubuntu kernel repository on Launchpad, then pull and compile it with the Proxmox magic. If it works, I update my GitHub.

It looks like you have the latest version — so far, 6.19 has been stable on my systems, and I only needed to apply one patch to get it working. The patch was originally written for 6.18, and I haven't tested 6.19 without it. Without the patch, LXC containers fail to obtain an IPv4 address via DHCP.

EDIT:
If you're seeking an official Proxmox kernel, enabling the test repository grants access to pve-firmware version 3.18-1 (based on firmware-linux 20260110) and the newer proxmox-kernel-6.17.13-1-pve, which may suit your requirements. My 6.19 kernel uses the same firmware bundle, so if firmware compatibility is the issue, the older 6.17.13 kernel should also work.
 
Last edited: