IOMMU stuck on 'disabled'


mttnep

Recommended Posts

I'm going to take a guess that one of your components doesn't support directed I/O for hardware.

 

Your BIOS states this for "IOMMU" (which doesn't mean amd-vi (or more common Intel's vt-d), and I see nowhere else to enable virtualization.

IOMMU

IOMMU is supported on LINUX based systems to convert 32bit PCI IO address

to 64 bits.

Enabled / Disabled

 

You can try adding this to your syslinux.cfg file (on your unRAID flash drive):

You may only need the iommu=1 part.

iommu=pt iommu=1

 

It would then look something like this:

label unRAID OS
  menu default
  kernel /bzimage 
  append iommu=pt iommu=1 initrd=/bzroot

 

The problem is your hardware is pretty old, and AMD is difficult to lookup for the needed "AMD-Vi" specification for your CPU.

Hopefully it is supported (on both the CPU, the chipset, and in the BIOS), and you're all set, but I'm not too confident as of now.

Link to comment

I'm going to take a guess that one of your components doesn't support directed I/O for hardware.

 

Your BIOS states this for "IOMMU" (which doesn't mean amd-vi (or more common Intel's vt-d), and I see nowhere else to enable virtualization.

IOMMU

IOMMU is supported on LINUX based systems to convert 32bit PCI IO address

to 64 bits.

Enabled / Disabled

 

You can try adding this to your syslinux.cfg file (on your unRAID flash drive):

You may only need the iommu=1 part.

iommu=pt iommu=1

 

It would then look something like this:

label unRAID OS
  menu default
  kernel /bzimage 
  append iommu=pt iommu=1 initrd=/bzroot

 

The problem is your hardware is pretty old, and AMD is difficult to lookup for the needed "AMD-Vi" specification for your CPU.

Hopefully it is supported (on both the CPU, the chipset, and in the BIOS), and you're all set, but I'm not too confident as of now.

 

hi - I tried that, and managed to get it to boot in safe mode... however, IOMMU was still disabled. When booting in normal mode, it throws up an error, detailed in the photo linked below. I know for certain that AMD-v is supported on the CPUs, so maybe the motherboard is the issue? cheers

 

https://goo.gl/photos/V4UVaSZ55kMgr5B77

Link to comment
  • 4 years later...

IOMMU was enabled and now it's showing disabled also.

SPECS are 

i7-4770 CPU

24GB DDR3

[8086:0c00]00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)

[8086:0c01]00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)

[8086:0412]00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)

[8086:0c0c]00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)

[8086:8c31]00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)

[8086:8c3a]00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)

[8086:8c2d]00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)

[8086:8c20]00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)

[8086:8c10]00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)

[8086:8c14]00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d4)

[8086:8c1a]00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d4)

[8086:8c1e]00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d4)

[8086:8c26]00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)

[8086:8c44]00:1f.0 ISA bridge: Intel Corporation Z87 Express LPC Controller (rev 04)

[8086:8c02]00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)

[8086:8c22]00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)

[1002:6811]01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM]

[1002:aab0]01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]

[10ec:8168]03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

[1002:6811]04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM]

[1002:aab0]04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]

[168c:0032]05:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)

 

Anyone know where this gone wrong. all I did was change a faulty SSD cache drive.

Link to comment

its an old Dell XPS motherboard, there was an i5 4th gen in it, however I upgraded to an i7 4770 to get more virtual cores. As soon as switched the cpu the GFX assignment per VM stopped working in unraid, even after switching the CPU back to i5 still wont allow GFX assignment.

I am building this rig for my nephews from spares I had lying around, so they can both game on one machine. I would strongly appreciate any assistance, I am at the end of my rope with this thing, been working on it for a couple of nights now. My last ditch is to find another board, and I have been looking it's not a good alternative.

Link to comment
  • 6 months later...

Hello

I have a Asus P8BWS motherboard with VT-x & VT-d enabled. Bios version is last one from 2019.

https://www.asus.com/us/supportonly/P8B WS/HelpDesk_BIOS/

CPU is Xeon E3-1245.

https://ark.intel.com/content/www/us/en/ark/products/65729/intel-xeon-processor-e3-1245-v2-8m-cache-3-40-ghz.html

So everything should be fine in order to pass trough PCIe devices, but IOMMU appears disabled in unraid .

Please note that years ago i was able to pass trough devices such as HardDrives to ESXi in RDM mode of vsphere.

Is it something not working as expected in Unraid OS version 6.8.3 for IOMMU support?

Here enclosed some more info for ur support please

any advise welcome

 

2020_11_22_22_20_34_Tower_VMs_192.168.1.237_.png

VT-d-IMG_20201122_180258.jpg

VTX-IMG_20201122_180144.jpg

tower-diagnostics-20201122-2226.zip

Link to comment
  • 2 years later...

As in the post's title, I'm having the IOMMU always being reported as disabled.

 

Intel Virtualization Technology is switched on in the BIOS.

 

I've already tried adding to syslinux.cfg all the following combinations between append and initrd=/bzroot, one at a time. Still no luck.

  • iommu=pt iommu=1
  • iommu=pt
  • iommu=1
  • intel_iommu=on
  • iommu=1 iommu=pt intel_iommu=on

 

Here are my specs (pasted from unraid):

  • Model: Custom
  • M/B: PEGATRON CORPORATION Eureka3 Version 1.02 - s/n: 101578460001374
  • BIOS: American Megatrends Inc. Version 5.09. Dated: 08/19/2009
  • CPU: Intel® Core™2 Quad CPU Q9300 @ 2.50GHz
  • HVM: Enabled
  • IOMMU: Disabled
  • Cache: 128 KiB, 6 MB
  • Memory: 8 GiB Other (max. installable capacity 8 GiB)
  • Network: bond0: fault-tolerance (active-backup), mtu 1500
  • Kernel: Linux 5.19.17-Unraid x86_64
  • OpenSSL:1.1.1s
  • Uptime: 10 minutes

 

I attach you the diagnostics ZIP in case someone can help me out.

 

Thank you in advance!

 

 

nas-diagnostics-20230414-1646.zip

Link to comment
17 minutes ago, SlavaRublev said:

As in the post's title, I'm having the IOMMU always being reported as disabled.

 

Intel Virtualization Technology is switched on in the BIOS.

 

I've already tried adding to syslinux.cfg all the following combinations between append and initrd=/bzroot, one at a time. Still no luck.

  • iommu=pt iommu=1
  • iommu=pt
  • iommu=1
  • intel_iommu=on
  • iommu=1 iommu=pt intel_iommu=on

 

Here are my specs (pasted from unraid):

  • Model: Custom
  • M/B: PEGATRON CORPORATION Eureka3 Version 1.02 - s/n: 101578460001374
  • BIOS: American Megatrends Inc. Version 5.09. Dated: 08/19/2009
  • CPU: Intel® Core™2 Quad CPU Q9300 @ 2.50GHz
  • HVM: Enabled
  • IOMMU: Disabled
  • Cache: 128 KiB, 6 MB
  • Memory: 8 GiB Other (max. installable capacity 8 GiB)
  • Network: bond0: fault-tolerance (active-backup), mtu 1500
  • Kernel: Linux 5.19.17-Unraid x86_64
  • OpenSSL:1.1.1s
  • Uptime: 10 minutes

 

I attach you the diagnostics ZIP in case someone can help me out.

 

Thank you in advance!

 

 

nas-diagnostics-20230414-1646.zip 116.29 kB · 0 downloads

Likely to be a second option for VT-d in bios maybe in the advanced options.

 

image.png

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.