Jump to content
XPEnology Community

How to enable IOMMU for doing passthrough with virtualbox ?


moondefer

Recommended Posts

Hello

 

Someone know if this is possible to enable IOMMU for do passthrough with Virtualbox please ?

 

I have this processor : OK for VT-D and VT-X

http://ark.intel.com/fr/products/80811/ ... o-3_90-GHz

 

I have this motherboard : OK for VT-D

http://www.asrockrack.com/general/produ ... ifications

 

I tried to use this tutorial :

https://www.virtualbox.org/manual/ch09. ... assthrough

 

I haved try to modified my syslinux.cfg after read this infos :

https://github.com/andy928/xpenology/bl ... meters.txt

AND

http://lime-technology.com/forum/index. ... ic=40683.0

 

APPEND root=/dev/md0 ihd_num=0 netif_num=4 syno_hw_version=DS3615xs ........................ loglevel=0 vga=0x305

TO

APPEND intel_iommu=on iommu=pt root=/dev/md0 ihd_num=0 netif_num=4 syno_hw_version=DS3615xs ......................... loglevel=0 vga=0x305

 

But same with this line no success too.

And if i wrote "dmesg | grep -e IOMMU -e DMAR" in ssh console i have this answer :roll:

 

DiskStation2> dmesg | grep -e IOMMU -e DMAR

[ 0.000000] ACPI: DMAR 00000000dd9049e8 00080 (v01 INTEL BDW 00000001 INTL 00000001)

[ 39.297358] vboxpci: IOMMU not found (not compiled)

DiskStation2>

 

AND with dmesg :

 

[ 37.268790] vboxdrv: Found 4 processor cores

[ 37.284869] vboxdrv: TSC mode is Invariant, tentative frequency 3492211717 Hz

[ 37.284870] vboxdrv: Successfully loaded version 5.0.14 (interface 0x00240000)

[ 39.287197] VBoxNetFlt: Successfully started.

[ 39.288766] VBoxNetAdp: Successfully started.

[ 39.297354] VBoxPciLinuxInit

[ 39.297358] vboxpci: pci-stub module not available, cannot detach PCI devices

[ 39.297358] vboxpci: IOMMU not found (not compiled)

[ 41.292265] SUPR0GipMap: fGetGipCpu=0x3

 

The only succefull thing than i can is to attach my nvidia card with ssh console :

VBoxManage modifyvm "Windows 7 Sp1 x64" --pciattach 01:00.0@01:05.0

Where 01:00.0 is the correct address than i obtain after wrote lspci in ssh console.

But after the VM can't boot with message :

Failed to open physical device: not existing, or not available (VERR_ACCESS_DENIED)

And i must use --pcidetach for boot again.

 

 

So IOMMU not found (not compiled) !!!!!!!! and pci-stub module is not available :roll: this is needeed too in the virtualbox tutorial.

 

I use the last xenoboot, his kernel don't have IOMMU compiled in ?

 

How i can enable IOMMU for do passthrough with virtualbox please ?

 

THANKS for help.

Link to comment
Share on other sites

×
×
  • Create New...