trying to enable igpu passthrough - dmesg showing the following

therealivandrago

New Member
Jun 6, 2023
13
3
3
Hi,

Been following the following 2 guides and I cannot get igpu to passthrough to my linux VMs. Tried with a fresh debian install and a fresh ubuntu server install everytime i enable add the pci device using hardware > add > pci device > raw device > uhd 630 (intel i3-10305) the power on the virtual machine it crashes.

The cpu supports vt-d and vt-x according to intels site.

https://192.168.x.x:8006/pve-docs/chapter-qm.html#qm_pci_passthrough
https://pve.proxmox.com/wiki/PCI_Passthrough

I then started checking the verifying IOMMU part of the wiki and got a crap ton of errors below running
Code:
dmesg
. The other dmesg with grep command above it just returns nothing.

virtualization options are also enabled in the motherboard settings. strangely running intel_iommu=on or iommu=pt return nothing and do not reflect within /etc/default/grub

Hardware
  • i3-10305
  • AsRock H510M-HDV
  • 32GB g.skill ripjaws F4-3600C18D-32GVW


Code:
[79373.767082] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8f821000 [fault reason 0x06] PTE Read access is not set
[79373.767087] DMAR: DRHD: handling fault status reg 3
[79373.767088] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8fce1000 [fault reason 0x06] PTE Read access is not set
[79373.767091] DMAR: DRHD: handling fault status reg 3
[79373.767092] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8fd21000 [fault reason 0x06] PTE Read access is not set
[79373.767094] DMAR: DRHD: handling fault status reg 3
[79378.771132] dmar_fault: 63489 callbacks suppressed
[79378.771135] DMAR: DRHD: handling fault status reg 3
[79378.771138] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8f821000 [fault reason 0x06] PTE Read access is not set
[79378.771142] DMAR: DRHD: handling fault status reg 3
[79378.771144] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8f9c1000 [fault reason 0x06] PTE Read access is not set
[79378.771146] DMAR: DRHD: handling fault status reg 3
[79378.771147] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8fa10000 [fault reason 0x06] PTE Read access is not set
[79378.771152] DMAR: DRHD: handling fault status reg 3
[79383.775327] dmar_fault: 65877 callbacks suppressed
[79383.775330] DMAR: DRHD: handling fault status reg 3
[79383.775333] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8f821000 [fault reason 0x06] PTE Read access is not set
[79383.775338] DMAR: DRHD: handling fault status reg 3
[79383.775339] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8fd21000 [fault reason 0x06] PTE Read access is not set
[79383.775343] DMAR: DRHD: handling fault status reg 3
[79383.775345] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8fd61000 [fault reason 0x06] PTE Read access is not set
[79383.775361] DMAR: DRHD: handling fault status reg 3
[79388.779357] dmar_fault: 74051 callbacks suppressed
[79388.779359] DMAR: DRHD: handling fault status reg 3
[79388.779362] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8f821000 [fault reason 0x06] PTE Read access is not set
[79388.779366] DMAR: DRHD: handling fault status reg 3
[79388.779367] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8f8a1000 [fault reason 0x06] PTE Read access is not set
[79388.779371] DMAR: DRHD: handling fault status reg 3
[79388.779372] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8f8e1000 [fault reason 0x06] PTE Read access is not set
[79388.779376] DMAR: DRHD: handling fault status reg 3
[79393.783573] dmar_fault: 73691 callbacks suppressed
[79393.783575] DMAR: DRHD: handling fault status reg 3
[79393.783578] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8f821000 [fault reason 0x06] PTE Read access is not set
[79393.783582] DMAR: DRHD: handling fault status reg 3
[79393.783584] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8fd12000 [fault reason 0x06] PTE Read access is not set
[79393.783586] DMAR: DRHD: handling fault status reg 3
[79393.783588] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8fd52000 [fault reason 0x06] PTE Read access is not set
[79393.783592] DMAR: DRHD: handling fault status reg 3
[79398.787698] dmar_fault: 62719 callbacks suppressed
[79398.787701] DMAR: DRHD: handling fault status reg 3
[79398.787703] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8f821000 [fault reason 0x06] PTE Read access is not set
[79398.787708] DMAR: DRHD: handling fault status reg 3
[79398.787709] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8fd21000 [fault reason 0x06] PTE Read access is not set
[79398.787714] DMAR: DRHD: handling fault status reg 3
[79398.787715] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8fd61000 [fault reason 0x06] PTE Read access is not set
[79398.787735] DMAR: DRHD: handling fault status reg 3
[79400.154148]  zd32: p1 p2 < p5 >
[79400.275734] tap102i0: left allmulticast mode
[79400.275747] fwbr102i0: port 2(tap102i0) entered disabled state
[79400.288358] fwbr102i0: port 1(fwln102i0) entered disabled state
[79400.288443] vmbr0: port 4(fwpr102p0) entered disabled state
[79400.288593] fwln102i0 (unregistering): left allmulticast mode
[79400.288596] fwln102i0 (unregistering): left promiscuous mode
[79400.288597] fwbr102i0: port 1(fwln102i0) entered disabled state
[79400.296645] fwpr102p0 (unregistering): left allmulticast mode
[79400.296646] fwpr102p0 (unregistering): left promiscuous mode
[79400.296647] vmbr0: port 4(fwpr102p0) entered disabled state
[79436.293278] tap104i0: left allmulticast mode
[79436.293292] fwbr104i0: port 2(tap104i0) entered disabled state
[79436.307770] fwbr104i0: port 1(fwln104i0) entered disabled state
[79436.307812] vmbr0: port 3(fwpr104p0) entered disabled state
[79436.307858] fwln104i0 (unregistering): left allmulticast mode
[79436.307860] fwln104i0 (unregistering): left promiscuous mode
[79436.307861] fwbr104i0: port 1(fwln104i0) entered disabled state
[79436.316272] fwpr104p0 (unregistering): left allmulticast mode
[79436.316274] fwpr104p0 (unregistering): left promiscuous mode
[79436.316275] vmbr0: port 3(fwpr104p0) entered disabled state
[83072.694120] tap104i0: entered promiscuous mode
[83072.725599] vmbr0: port 3(fwpr104p0) entered blocking state
[83072.725603] vmbr0: port 3(fwpr104p0) entered disabled state
[83072.725612] fwpr104p0: entered allmulticast mode
[83072.725638] fwpr104p0: entered promiscuous mode
[83072.725663] vmbr0: port 3(fwpr104p0) entered blocking state
[83072.725664] vmbr0: port 3(fwpr104p0) entered forwarding state
[83072.731409] fwbr104i0: port 1(fwln104i0) entered blocking state
[83072.731412] fwbr104i0: port 1(fwln104i0) entered disabled state
[83072.731420] fwln104i0: entered allmulticast mode
[83072.731443] fwln104i0: entered promiscuous mode
[83072.731480] fwbr104i0: port 1(fwln104i0) entered blocking state
[83072.731482] fwbr104i0: port 1(fwln104i0) entered forwarding state
[83072.737084] fwbr104i0: port 2(tap104i0) entered blocking state
[83072.737087] fwbr104i0: port 2(tap104i0) entered disabled state
[83072.737091] tap104i0: entered allmulticast mode
[83072.737124] fwbr104i0: port 2(tap104i0) entered blocking state
[83072.737126] fwbr104i0: port 2(tap104i0) entered forwarding state
[84504.661247]  zd48: p1 p2
[84504.773563] tap100i0: left allmulticast mode
[84504.773577] fwbr100i0: port 2(tap100i0) entered disabled state
[84504.793206] fwbr100i0: port 1(fwln100i0) entered disabled state
[84504.793250] vmbr0: port 2(fwpr100p0) entered disabled state
[84504.793428] fwln100i0 (unregistering): left allmulticast mode
[84504.793431] fwln100i0 (unregistering): left promiscuous mode
[84504.793432] fwbr100i0: port 1(fwln100i0) entered disabled state
[84504.807732] fwpr100p0 (unregistering): left allmulticast mode
[84504.807734] fwpr100p0 (unregistering): left promiscuous mode
[84504.807735] vmbr0: port 2(fwpr100p0) entered disabled state
[84573.401627]  zd96: p1 p2 p3
[84573.532408] tap104i0: left allmulticast mode
[84573.532421] fwbr104i0: port 2(tap104i0) entered disabled state
[84573.542567] fwbr104i0: port 1(fwln104i0) entered disabled state
[84573.542615] vmbr0: port 3(fwpr104p0) entered disabled state
[84573.542659] fwln104i0 (unregistering): left allmulticast mode
[84573.542661] fwln104i0 (unregistering): left promiscuous mode
[84573.542662] fwbr104i0: port 1(fwln104i0) entered disabled state
[84573.551102] fwpr104p0 (unregistering): left allmulticast mode
[84573.551104] fwpr104p0 (unregistering): left promiscuous mode
[84573.551105] vmbr0: port 3(fwpr104p0) entered disabled state
[84836.812371] tap104i0: entered promiscuous mode
[84836.846215] vmbr0: port 2(fwpr104p0) entered blocking state
[84836.846219] vmbr0: port 2(fwpr104p0) entered disabled state
[84836.846228] fwpr104p0: entered allmulticast mode
[84836.846257] fwpr104p0: entered promiscuous mode
[84836.846281] vmbr0: port 2(fwpr104p0) entered blocking state
[84836.846283] vmbr0: port 2(fwpr104p0) entered forwarding state
[84836.852331] fwbr104i0: port 1(fwln104i0) entered blocking state
[84836.852336] fwbr104i0: port 1(fwln104i0) entered disabled state
[84836.852360] fwln104i0: entered allmulticast mode
[84836.852384] fwln104i0: entered promiscuous mode
[84836.852405] fwbr104i0: port 1(fwln104i0) entered blocking state
[84836.852407] fwbr104i0: port 1(fwln104i0) entered forwarding state
[84836.858442] fwbr104i0: port 2(tap104i0) entered blocking state
[84836.858446] fwbr104i0: port 2(tap104i0) entered disabled state
[84836.858455] tap104i0: entered allmulticast mode
[84836.858495] fwbr104i0: port 2(tap104i0) entered blocking state
[84836.858497] fwbr104i0: port 2(tap104i0) entered forwarding state
[85444.031332]  zd96: p1 p2 p3
[85444.160964] tap104i0: left allmulticast mode
[85444.160978] fwbr104i0: port 2(tap104i0) entered disabled state
[85444.171026] fwbr104i0: port 1(fwln104i0) entered disabled state
[85444.171055] vmbr0: port 2(fwpr104p0) entered disabled state
[85444.171106] fwln104i0 (unregistering): left allmulticast mode
[85444.171108] fwln104i0 (unregistering): left promiscuous mode
[85444.171109] fwbr104i0: port 1(fwln104i0) entered disabled state
[85444.181601] fwpr104p0 (unregistering): left allmulticast mode
[85444.181603] fwpr104p0 (unregistering): left promiscuous mode
[85444.181604] vmbr0: port 2(fwpr104p0) entered disabled state
[85466.075343] tap104i0: entered promiscuous mode
[85466.109787] vmbr0: port 2(fwpr104p0) entered blocking state
[85466.109791] vmbr0: port 2(fwpr104p0) entered disabled state
[85466.109803] fwpr104p0: entered allmulticast mode
[85466.109828] fwpr104p0: entered promiscuous mode
[85466.109861] vmbr0: port 2(fwpr104p0) entered blocking state
[85466.109863] vmbr0: port 2(fwpr104p0) entered forwarding state
[85466.115941] fwbr104i0: port 1(fwln104i0) entered blocking state
[85466.115945] fwbr104i0: port 1(fwln104i0) entered disabled state
[85466.115956] fwln104i0: entered allmulticast mode
[85466.115981] fwln104i0: entered promiscuous mode
[85466.116015] fwbr104i0: port 1(fwln104i0) entered blocking state
[85466.116017] fwbr104i0: port 1(fwln104i0) entered forwarding state
[85466.122142] fwbr104i0: port 2(tap104i0) entered blocking state
[85466.122159] fwbr104i0: port 2(tap104i0) entered disabled state
[85466.122163] tap104i0: entered allmulticast mode
[85466.122217] fwbr104i0: port 2(tap104i0) entered blocking state
[85466.122219] fwbr104i0: port 2(tap104i0) entered forwarding state
[85573.166321]  zd96: p1 p2 p3
[85573.297006] tap104i0: left allmulticast mode
[85573.297020] fwbr104i0: port 2(tap104i0) entered disabled state
[85573.307981] fwbr104i0: port 1(fwln104i0) entered disabled state
[85573.308015] vmbr0: port 2(fwpr104p0) entered disabled state
[85573.308054] fwln104i0 (unregistering): left allmulticast mode
[85573.308056] fwln104i0 (unregistering): left promiscuous mode
[85573.308057] fwbr104i0: port 1(fwln104i0) entered disabled state
[85573.316357] fwpr104p0 (unregistering): left allmulticast mode
[85573.316359] fwpr104p0 (unregistering): left promiscuous mode
[85573.316360] vmbr0: port 2(fwpr104p0) entered disabled state
root@proxmox:~#
 
whoops, looks like i had only enabled VT-d in the BIOS and forgot to turn on SR-IOV (not realizing the igpu uses pci) and SR-IOV is needed to allow virtualization for PCI devices.
 
  • Like
Reactions: UdoB