ModEdit; related ticket: #18204: PCI passthrough :invalid region
Host: debian 9 amd64
CPU: AMD
Virtualbox: 5.2.22-126460~Debian~stretch, 6.0.0-127566~Debian~stretch
Guest: win7 64-bit
PCI passthrough : AMD GPU
lspci -vv -s1e:00.0
Code: Select all
1e:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 687f (rev c1) (prog-if 00 [VGA controller])
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 6b76
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 41
Region 0: Memory at e0000000 (64-bit, prefetchable) [size=256M]
Region 2: Memory at f0000000 (64-bit, prefetchable) [size=2M]
Region 4: I/O ports at f000 [size=256]
Region 5: Memory at f7800000 (32-bit, non-prefetchable) [size=512K]
[virtual] Expansion ROM at f7880000 [disabled] [size=128K]
...
Code: Select all
1b:00.0 VGA compatible controller: NVIDIA Corporation GP108
Code: Select all
[10178.205401] vboxpci: detected device: 1002:687f at 1e:00.0, driver <none>
[10178.205458] pci-stub 0000:1e:00.0: claimed by stub
[10178.205486] vboxPciFileWrite: error -19
[10178.205560] vboxpci 0000:1e:00.0: vboxPciOsDevInit
[10178.205665] vboxpci 0000:1e:00.0: region 0: mmio e0000000+268435456
[10178.205668] vboxpci 0000:1e:00.0: region 2: mmio f0000000+2097152
[10178.205671] vboxpci 0000:1e:00.0: region 4: pio f000+256
[10178.205673] vboxpci 0000:1e:00.0: region 5: mmio f7800000+524288
[10178.205676] vboxpci 0000:1e:00.0: region 6: mmio f7880000+131072
[10178.205697] vboxpci 0000:1e:00.0: got irq 94
[10179.615799] vboxpci: created IOMMU domain ffff8a6575448a20
[10179.667123] vboxpci 0000:1e:00.0: PCIRAW_POWER_ON
[10179.667134] vboxpci 0000:1e:00.0: pci_reset_function() failed
[10179.667182] vboxpci 0000:1e:00.0: attached to IOMMU
[10179.673069] vboxpci 0000:1e:00.0: invalid region 5
[10179.673119] vboxpci 0000:1e:00.0: reg=0 start=e0000000 size=268435456
[10179.677495] vboxpci 0000:1e:00.0: invalid region 2
[10185.325467] vboxpci 0000:1e:00.0: reg=0 start=e0000000 size=268435456
[10185.327882] vboxpci 0000:1e:00.0: invalid region 2
[10185.327885] vboxpci 0000:1e:00.0: invalid region 5
[10186.596095] vboxpci: freeing IOMMU domain ffff8a699a958c20
[10187.832128] vboxpci 0000:1e:00.0: reg=0 start=e0000000 size=268435456
[10187.836709] vboxpci 0000:1e:00.0: invalid region 2
[10187.836714] vboxpci 0000:1e:00.0: invalid region 5
[10215.836023] vboxpci 0000:1e:00.0: PCIRAW_POWER_OFF
[10215.836071] vboxpci 0000:1e:00.0: detached from IOMMU
[10215.898276] traps: EMT-0[7904] general protection ip:7f1f36e5e1bf sp:7f1f6cff2db0 error:0
[10215.898284] in VBoxPciRawR3.so[7f1f36e5b000+c000]
[10216.035409] vboxpci 0000:1e:00.0: freeing irq 94
[10216.035428] vboxpci 0000:1e:00.0: vboxPciOsDevDeinit
[10216.035612] vboxpci: freeing IOMMU domain ffff8a6575448a20
[10219.287799] vboxpci: created IOMMU domain ffff8a6a1c90cc20
uname -r
Code: Select all
4.9.0-8-amd64
Code: Select all
vboxPciFileWrite: error -19
Code: Select all
vboxpci 0000:1e:00.0: pci_reset_function() failed