Issues with 1050 ti passthrough

Laynord

New Member
Apr 5, 2023
12
0
1
Hi i'm just simply trying to passthrough a 1050 ti to a vm but i have many issues first :
- it is not in the mapped list so i have to use the raw device one .
- if i tick All funcions it spits out an error :


kvm: -device vfio-pci,host=0000:24:00.1,id=hostpci1.1,bus=pci.0,addr=0x11.1: vfio 0000:24:00.1: failed to setup container for group 38: Failed to set iommu for container: Operation not permitte

If i dont the vm starts but there is another error :

kvm: vfio: Cannot reset device 0000:24:00.0, depends on group 38 which is not owned.
twice

i see the 1050 in the device manager but either under others with an error code 43 or not depends on god knows what
and in any case it is not found in the task manager .

i 'll be back later today to provide any other info i can i followed as far as i could the guide on the wiki but no luck with that either ..

( I installed drivers on the vm ( windows ) with geforce expérience but nothing more )

Thanks anyway
Laynord
 
Last edited:
kvm: -device vfio-pci,host=0000:24:00.1,id=hostpci1.1,bus=pci.0,addr=0x11.1: vfio 0000:24:00.1: failed to setup container for group 38: Failed to set iommu for container: Operation not permitte
Either you have a HP server and your need to set (or work around) RMRR, or the VM configuration is incorrect. Please show the VM configuration file (qm config ?
 
agent: 0 boot: order=sata0;net0 cores: 4 cpu: x86-64-v2-AES hostpci1: 0000:24:00.0,rombar=0 memory: 32768 meta: creation-qemu=8.0.2,ctime=1696477132 net0: e1000=E2:73:80:A1:5F:3F,bridge=vmbr0,firewall=1 numa: 0 onboot: 1 ostype: win10 sata0: local-lvm:vm-101-disk-0,size=2500G scsihw: virtio-scsi-single smbios1: uuid=154662b0-a23e-4538-9d42-69bddeb1f103 sockets: 2 unused0: local-lvm:vm-101-disk-1 vmgenid: d2b1d3a3-9cb1-4ddf-a9ec-652289dd5c0d
for vm config and yes i have a hp proliand dl560
 
for the journal thing : Dec 03 10:27:39 main kernel: ACPI: Reserving DMAR table memory at [mem 0xbddab840-0xbddabe2b] Dec 03 10:27:39 main kernel: DMAR: IOMMU enabled Dec 03 10:27:39 main kernel: DMAR: Host address width 46 Dec 03 10:27:39 main kernel: DMAR: DRHD base: 0x000000ddffe000 flags: 0x0 Dec 03 10:27:39 main kernel: DMAR: dmar0: reg_base_addr ddffe000 ver 1:0 cap d2078c106f0466 ecap f020de Dec 03 10:27:39 main kernel: DMAR: DRHD base: 0x000000f7efe000 flags: 0x0 Dec 03 10:27:39 main kernel: DMAR: dmar1: reg_base_addr f7efe000 ver 1:0 cap d2078c106f0466 ecap f020de Dec 03 10:27:39 main kernel: DMAR: DRHD base: 0x000000fbefe000 flags: 0x0 Dec 03 10:27:39 main kernel: DMAR: dmar2: reg_base_addr fbefe000 ver 1:0 cap d2078c106f0466 ecap f020de Dec 03 10:27:39 main kernel: DMAR: DRHD base: 0x000000d8ffe000 flags: 0x1 Dec 03 10:27:39 main kernel: DMAR: dmar3: reg_base_addr d8ffe000 ver 1:0 cap d2078c106f0466 ecap f020de Dec 03 10:27:39 main kernel: DMAR: RMRR base: 0x000000bdffd000 end: 0x000000bdffffff Dec 03 10:27:39 main kernel: DMAR: RMRR base: 0x000000bdff6000 end: 0x000000bdffcfff Dec 03 10:27:39 main kernel: DMAR: RMRR base: 0x000000bdf83000 end: 0x000000bdf84fff Dec 03 10:27:39 main kernel: DMAR: RMRR base: 0x000000bdf7f000 end: 0x000000bdf82fff Dec 03 10:27:39 main kernel: DMAR: RMRR base: 0x000000bdf6f000 end: 0x000000bdf7efff Dec 03 10:27:39 main kernel: DMAR: RMRR base: 0x000000bdf6e000 end: 0x000000bdf6efff Dec 03 10:27:39 main kernel: DMAR: RMRR base: 0x000000000f4000 end: 0x000000000f4fff Dec 03 10:27:39 main kernel: DMAR: RMRR base: 0x000000000e8000 end: 0x000000000e8fff Dec 03 10:27:39 main kernel: DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x00000000000e8000-0x00000000000e8fff], contact BIOS vendor for fixes Dec 03 10:27:39 main kernel: DMAR: [Firmware Bug]: Your BIOS is broken; bad RMRR [0x00000000000e8000-0x00000000000e8fff] Dec 03 10:27:39 main kernel: DMAR: RMRR base: 0x000000bddde000 end: 0x000000bdddefff Dec 03 10:27:39 main kernel: DMAR: ATSR flags: 0x0 Dec 03 10:27:39 main kernel: DMAR-IR: IOAPIC id 12 under DRHD base 0xfbefe000 IOMMU 2 Dec 03 10:27:39 main kernel: DMAR-IR: IOAPIC id 11 under DRHD base 0xf7efe000 IOMMU 1 Dec 03 10:27:39 main kernel: DMAR-IR: IOAPIC id 10 under DRHD base 0xddffe000 IOMMU 0 Dec 03 10:27:39 main kernel: DMAR-IR: IOAPIC id 8 under DRHD base 0xd8ffe000 IOMMU 3 Dec 03 10:27:39 main kernel: DMAR-IR: IOAPIC id 0 under DRHD base 0xd8ffe000 IOMMU 3 Dec 03 10:27:39 main kernel: DMAR-IR: HPET id 0 under DRHD base 0xd8ffe000 Dec 03 10:27:39 main kernel: DMAR-IR: x2apic is disabled because BIOS sets x2apic opt out bit. Dec 03 10:27:39 main kernel: DMAR-IR: Use 'intremap=no_x2apic_optout' to override the BIOS setting. Dec 03 10:27:39 main kernel: DMAR-IR: Enabled IRQ remapping in xapic mode Dec 03 10:27:39 main kernel: DMAR: No SATC found Dec 03 10:27:39 main kernel: DMAR: dmar2: Using Queued invalidation Dec 03 10:27:39 main kernel: DMAR: dmar1: Using Queued invalidation Dec 03 10:27:39 main kernel: DMAR: dmar0: Using Queued invalidation Dec 03 10:27:39 main kernel: DMAR: dmar3: Using Queued invalidation Dec 03 10:27:39 main kernel: DMAR: Intel(R) Virtualization Technology for Directed I/O Dec 03 10:27:39 main kernel: DMAR: DRHD: handling fault status reg 2 Dec 03 10:27:39 main kernel: DMAR: [INTR-REMAP] Request device [01:00.0] fault index 0x60 [fault reason 0x26] Blocked an interrupt request due to source-id verification failure Dec 03 10:30:13 main kernel: vfio-pci 0000:24:00.1: DMAR: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor. Dec 03 10:30:13 main kernel: vfio-pci 0000:24:00.1: DMAR: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor. Dec 03 10:39:40 main kernel: vfio-pci 0000:24:00.1: DMAR: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor. Dec 03 10:39:40 main kernel: vfio-pci 0000:24:00.1: DMAR: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor. Dec 03 10:40:34 main kernel: vfio-pci 0000:24:00.1: DMAR: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor. Dec 03 10:40:34 main kernel: vfio-pci 0000:24:00.1: DMAR: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor.
 
for the journal thing :
Dec 03 10:27:39 main kernel: DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x00000000000e8000-0x00000000000e8fff], contact BIOS vendor for fixes Dec 03 10:27:39 main kernel: DMAR: [Firmware Bug]: Your BIOS is broken; bad RMRR [0x00000000000e8000-0x00000000000e8fff]
You have the infamous HP RMRR issue. Contact HP, update the BIOS and/or search the forum on how to fix it or work around it. I have no personal experience with HP and don't know the details.