Hello, I'm helping someone setup hardware pass-thorugh on a new server but I haven't done hardware pass-through since PVE v7.
Following my old method everything seems to work...
Enabled IOMMU in BIOS & GRUB:
Ran pve-boot-tool refresh and rebooted.
Added the necessary drivers to /etc/modules:
Ran update-initramfs -u -k all with no errors:
Used a script created in /etc/initramfs-tools/scripts/init-top/ to block the kernel driver:
Updated initranfs again and restarted the server.
This method is working flawlessly in v7.1-7 but in 8.0-3 behaves as if I never ran update-initramfs -u -k all and no matter what I try the system is behaving like the vfio drivers I added to /etc/modules were not loaded at startup for the kernel.
I'm currently at a loss and Google isn't being very helpful unless I'm just using the wrong search terms...
Following my old method everything seems to work...
Enabled IOMMU in BIOS & GRUB:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on"
Added the necessary drivers to /etc/modules:
Code:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
Ran update-initramfs -u -k all with no errors:
Code:
update-initramfs: Generating /boot/initrd.img-6.2.16-3-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
Copying and configuring kernels on /dev/disk/by-uuid/7147-6DF6
Copying kernel and creating boot-entry for 6.2.16-3-pve
Used a script created in /etc/initramfs-tools/scripts/init-top/ to block the kernel driver:
Code:
#!/bin/sh
PREREQS=""
DEVS="0000:02:00.0"
for DEV in $DEVS;
do echo "vfio-pci" > /sys/bus/pci/devices/$DEV/driver_override
done
modprobe -i vfio-pci
This method is working flawlessly in v7.1-7 but in 8.0-3 behaves as if I never ran update-initramfs -u -k all and no matter what I try the system is behaving like the vfio drivers I added to /etc/modules were not loaded at startup for the kernel.
I'm currently at a loss and Google isn't being very helpful unless I'm just using the wrong search terms...