The headers package of pve-kernel is pve-headers-<abi-version> - install the meta-package for the 6.1 kernel:
apt install pve-headers-6.1
(this should pull in `pve-headers-6.1.0-1-pve`)
I hope this helps!
thanks it worked whit zenpower3 now, but for nvidia v-gpu get:
ERROR: An error occurred while performing the step: "Building kernel modules". See/var/log/nvidia-installer.log for details.
ERROR: An error occurred while performing the step: "Checking to see whether the nvidia-vgpu-vfio kernel module was successfully built". See /var/log/nvidia-installer.log for details.
/tmp/selfgz96890/NVIDIA-Linux-x86_64-525.60.12-vgpu-kvm-custom/kernel/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c:3497:9: warning: statement with no effect [-Wu>
3497 | ret = vfio_unpin_pages(vgpu_dev->dev, tgpfn_buffer, cnt);
| ^~~
cc1: some warnings being treated as errors
/tmp/selfgz96890/NVIDIA-Linux-x86_64-525.60.12-vgpu-kvm-custom/kernel/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c: In function 'nv_vgpu_probe':
/tmp/selfgz96890/NVIDIA-Linux-x86_64-525.60.12-vgpu-kvm-custom/kernel/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c:4841:13: error: implicit declaration of functi>
4841 | if (mdev_register_device(&pdev->dev, phys_dev->vgpu_fops) != 0)
| ^~~~~~~~~~~~~~~~~~~~
| mdev_register_driver
make[2]: *** [scripts/Makefile.build:258: /tmp/selfgz96890/NVIDIA-Linux-x86_64-525.60.12-vgpu-kvm-custom/kernel/nvidia-vgpu-vfio/vgpu-devices.o] Error 1
/tmp/selfgz96890/NVIDIA-Linux-x86_64-525.60.12-vgpu-kvm-custom/kernel/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c:4860:5: error: implicit declaration of functio>
4860 | mdev_unregister_device(&pdev->dev);
| ^~~~~~~~~~~~~~~~~~~~~~
| mdev_unregister_driver
/tmp/selfgz96890/NVIDIA-Linux-x86_64-525.60.12-vgpu-kvm-custom/kernel/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c: In function 'nv_get_device':
/tmp/selfgz96890/NVIDIA-Linux-x86_64-525.60.12-vgpu-kvm-custom/kernel/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c:358:1: error: control reaches end of non-void >
358 | }
| ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:258: /tmp/selfgz96890/NVIDIA-Linux-x86_64-525.60.12-vgpu-kvm-custom/kernel/nvidia-vgpu-vfio/nvidia-vgpu-vfio.o] Err>
make[2]: Target '/tmp/selfgz96890/NVIDIA-Linux-x86_64-525.60.12-vgpu-kvm-custom/kernel/' not remade because of errors.
make[1]: *** [Makefile:1996: /tmp/selfgz96890/NVIDIA-Linux-x86_64-525.60.12-vgpu-kvm-custom/kernel] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-1-pve'
make: *** [Makefile:82: modules] Error 2
ERROR: The nvidia-vgpu-vfio kernel module was not created.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation probl>
lsmod | grep 'nvidia\|vfio'
vfio_pci 16384 4
vfio_pci_core 77824 1 vfio_pci
vfio_virqfd 16384 1 vfio_pci_core
irqbypass 16384 127 vfio_pci_core,kvm
vfio_iommu_type1 40960 1
vfio 45056 10 vfio_pci_core,vfio_iommu_type1,vfio_pci
root@pve:~# find /usr/lib/modules -name "*.ko" | grep -i nvidia
/usr/lib/modules/5.15.60-2-pve/kernel/drivers/platform/x86/nvidia-wmi-ec-backlight.ko
/usr/lib/modules/5.15.60-2-pve/kernel/drivers/usb/typec/altmodes/typec_nvidia.ko
/usr/lib/modules/5.15.60-2-pve/kernel/drivers/i2c/busses/i2c-nvidia-gpu.ko
/usr/lib/modules/5.15.60-2-pve/kernel/drivers/video/fbdev/nvidia/nvidiafb.ko
/usr/lib/modules/5.15.60-2-pve/kernel/drivers/net/ethernet/nvidia/forcedeth.ko
/usr/lib/modules/5.19.17-1-pve/kernel/drivers/platform/x86/nvidia-wmi-ec-backlight.ko
/usr/lib/modules/5.19.17-1-pve/kernel/drivers/usb/typec/altmodes/typec_nvidia.ko
/usr/lib/modules/5.19.17-1-pve/kernel/drivers/i2c/busses/i2c-nvidia-gpu.ko
/usr/lib/modules/5.19.17-1-pve/kernel/drivers/video/fbdev/nvidia/nvidiafb.ko
/usr/lib/modules/5.19.17-1-pve/kernel/drivers/net/ethernet/nvidia/forcedeth.ko
/usr/lib/modules/6.1.0-1-pve/kernel/drivers/platform/x86/nvidia-wmi-ec-backlight.ko
/usr/lib/modules/6.1.0-1-pve/kernel/drivers/usb/typec/altmodes/typec_nvidia.ko
/usr/lib/modules/6.1.0-1-pve/kernel/drivers/i2c/busses/i2c-nvidia-gpu.ko
/usr/lib/modules/6.1.0-1-pve/kernel/drivers/video/fbdev/nvidia/nvidiafb.ko
/usr/lib/modules/6.1.0-1-pve/kernel/drivers/net/ethernet/nvidia/forcedeth.ko
/usr/lib/modules/5.15.74-1-pve/kernel/drivers/platform/x86/nvidia-wmi-ec-backlight.ko
/usr/lib/modules/5.15.74-1-pve/kernel/drivers/usb/typec/altmodes/typec_nvidia.ko
/usr/lib/modules/5.15.74-1-pve/kernel/drivers/i2c/busses/i2c-nvidia-gpu.ko
/usr/lib/modules/5.15.74-1-pve/kernel/drivers/video/fbdev/nvidia/nvidiafb.ko
/usr/lib/modules/5.15.74-1-pve/kernel/drivers/net/ethernet/nvidia/forcedeth.ko
Pass-Through works whit this kernel but v-gpu still problem.
5950x on x570m pro4
dmesg --level=err,warn
[ 0.000000] secureboot: Secure boot could not be determined (mode 0)
[ 0.004257] secureboot: Secure boot could not be determined (mode 0)
[ 0.709618] #17 #18 #19 #20 #21 #22 #23 #24 #25 #26 #27 #28 #29 #30 #31
[ 1.304274] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[ 1.304316] platform eisa.0: EISA: Cannot allocate resource for mainboard
[ 1.304317] platform eisa.0: Cannot allocate resource for EISA slot 1
[ 1.304317] platform eisa.0: Cannot allocate resource for EISA slot 2
[ 1.304318] platform eisa.0: Cannot allocate resource for EISA slot 3
[ 1.304318] platform eisa.0: Cannot allocate resource for EISA slot 4
[ 1.304319] platform eisa.0: Cannot allocate resource for EISA slot 5
[ 1.304319] platform eisa.0: Cannot allocate resource for EISA slot 6
[ 1.304320] platform eisa.0: Cannot allocate resource for EISA slot 7
[ 1.304320] platform eisa.0: Cannot allocate resource for EISA slot 8
[ 1.687057] usb: port power management may be unreliable
[ 2.004726] nvme nvme0: missing or invalid SUBNQN field.
[ 15.760570] zenpower: loading out-of-tree module taints kernel.
[ 15.990545] znvpair: module license 'CDDL' taints kernel.
[ 15.990547] Disabling lock debugging due to kernel taint
[ 18.907063] usb 7-4: Warning! Unlikely big volume range (=3072), cval->res is probably wrong.
[ 18.907066] usb 7-4: [5] FU [Mic Capture Volume] ch = 1, val = 4608/7680/1
[ 48.124086] xhci_hcd 0000:08:00.2: xHC error in resume, USBSTS 0x401, Reinit
[ 53.601655] hrtimer: interrupt took 4809 ns
kernel 5.15:
CPU BOGOMIPS: 217197.12
REGEX/SECOND: 2819574
HD SIZE: 93.93 GB (/dev/mapper/pve-root)
BUFFERED READS: 216.59 MB/sec
AVERAGE SEEK TIME: 0.09 ms
FSYNCS/SECOND: 1473.99
DNS EXT: 52.72 ms
DNS INT: 84.88 ms (neutrino-digital.com)
kerne l 6.1:
CPU BOGOMIPS: 217183.36
REGEX/SECOND: 4898363
HD SIZE: 93.93 GB (/dev/mapper/pve-root)
BUFFERED READS: 239.50 MB/sec
AVERAGE SEEK TIME: 0.08 ms
FSYNCS/SECOND: 1515.82
DNS EXT: 57.68 ms
DNS INT: 87.66 ms (neutrino-digital.com)