Hi All ,
I have been trying to figure this out in the passed weeks by troubleshooting and trying all the possible solution here people facing with no luck , right now the source of the crash identified after multiple tries and reached the point to try to have help and submit it here .
I have the following setup ruining PVE 8 , last time I used proxmox was on version 5 and did not face this issue before with same configs .moreover , both GPU & HBA are not in same iommu groups . when I remove the HBA from truenas vm it boot and runs with no issues along with windows vm with passe through VM .
Motherboard : ASRock > X399 Taichi
CPU : Threadripper 1950x
windows GPU : NVIDIA 1660
HBA SAS2008
I have followed many guides on reedit and as well the wiki to passthrough and identefy the issues .even changed the machine cpu config etc.. long story short haven't figured out how to make them work both in PVE 8 .
Here are some of the data might needed , if missing something please let me know . thanks .
just to note ruining dmesg | grep -e DMAR -e IOMMU show no output although able to pass-through the gpu and wroking fine .
/proc/cmdline
journalctl -k -g DMAR -g IOMMU
journalctl -k -g 'remapping'
/etc/modprobe.d/vfio.conf
/etc/modules
/etc/modprobe.d/blacklist.conf
win VM
NAS VM
I have been trying to figure this out in the passed weeks by troubleshooting and trying all the possible solution here people facing with no luck , right now the source of the crash identified after multiple tries and reached the point to try to have help and submit it here .
I have the following setup ruining PVE 8 , last time I used proxmox was on version 5 and did not face this issue before with same configs .moreover , both GPU & HBA are not in same iommu groups . when I remove the HBA from truenas vm it boot and runs with no issues along with windows vm with passe through VM .
Motherboard : ASRock > X399 Taichi
CPU : Threadripper 1950x
windows GPU : NVIDIA 1660
HBA SAS2008
I have followed many guides on reedit and as well the wiki to passthrough and identefy the issues .even changed the machine cpu config etc.. long story short haven't figured out how to make them work both in PVE 8 .
Here are some of the data might needed , if missing something please let me know . thanks .
just to note ruining dmesg | grep -e DMAR -e IOMMU show no output although able to pass-through the gpu and wroking fine .
/proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.2.16-5-pve root=/dev/mapper/pve-root ro quiet iommu=pt initcall_blacklist=sysfb_init
journalctl -k -g DMAR -g IOMMU
kernel: pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
kernel: pci 0000:40:00.2: AMD-Vi: IOMMU performance counters supported
kernel: pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
kernel: pci 0000:40:00.2: AMD-Vi: Found IOMMU cap 0x40
kernel: perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
kernel: perf/amd_iommu: Detected AMD IOMMU #1 (2 banks, 4 counters/bank).
journalctl -k -g 'remapping'
kernel: AMD-Vi: Interrupt remapping enabled
/etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:21c4,10de:1aeb disable_vga=1
options vfio-pci ids=1000:0072
softdep mpt3sas pre: vfio-pci
/etc/modules
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
/etc/modprobe.d/blacklist.conf
blacklist nouveau
blacklist nvidia*
blacklist radeon
win VM
cat /etc/pve/qemu-server/101.conf
agent: 1
bios: ovmf
boot: order=ide2;scsi0
cores: 12
cpu: host,hidden=1,flags=+pcid
efidisk0: StorageThin1:vm-101-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:42:00,pcie=1
ide2: none,media=cdrom
machine: pc-q35-6.2
memory: 16430
meta: creation-qemu=8.0.2,ctime=1690982257
name: WIN-Gaming01
net0: virtio=1EC:E4:FA:B6:AC,bridge=vmbr1,firewall=1,tag=200
numa: 0
ostype: win11
scsi0: StorageThin1:vm-101-disk-1,iothread=1,size=512G
scsihw: virtio-scsi-single
smbios1: uuid=519e853a-4ed1-4680-9163-96cd9d6a5b0e
sockets: 1
tpmstate0: StorageThin1:vm-101-disk-2,size=4M,version=v2.0
usb0: host=046d:c228,usb3=1
usb1: host=1532:001f,usb3=1
vga: none
vmgenid: 7a33b896-1eca-48ff-bff2-a79a11d9a099
NAS VM
cat /etc/pve/qemu-server/100.conf
boot: order=scsi0
cores: 4
cpu: host,flags=+pcid
hostpci0: 0000:08:00.0,rombar=0
machine: q35
memory: 16000
meta: creation-qemu=8.0.2,ctime=1690739256
name: VBSD-NAS
net0: virtio=AA:5B:6C:9D:85:A2,bridge=vmbr1,firewall=1
numa: 0
ostype: other
scsi0: local-lvm:vm-100-disk-0,iothread=1,size=20G
scsihw: virtio-scsi-single
smbios1: uuid=b63d816f-4dd0-4391-be88-260d6fe043b3
sockets: 1
startup: order=1
vmgenid: 203ae2cd-00d0-4cc5-b879-beb58dfd9b44