Print Page | Close Window

AM1B-ITX - IOMMU Virtualization Support

Printed From: ASRock.com
Category: Technical Support
Forum Name: AMD Motherboards
Forum Description: Question about ASRock AMD motherboards
URL: https://forum.asrock.com/forum_posts.asp?TID=3965
Printed Date: 08 May 2024 at 9:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: AM1B-ITX - IOMMU Virtualization Support
Posted By: zmooky
Subject: AM1B-ITX - IOMMU Virtualization Support
Date Posted: 07 Dec 2016 at 5:01am
" rel="nofollow - I spent a lot of time to make this work and now I believe that actually the mb or the bios is the issue.

I am trying to enable the IOMMU support on a Ubuntu 16.04 to passthrough the onboard GPU. And even thought the CPU supports the SVM flag the feature is not loaded by the linux kernel for some reason.

Is there any change that the mb is not really supporting IOMMU ?

Here is my post on Ubuntu forum: https://ubuntuforums.org/showthread.php?t=2345571
Here is the CPU info: http://www.cpu-world.com/CPUs/Jaguar...50JAH44HM.html

Thank you



Replies:
Posted By: wardog
Date Posted: 07 Dec 2016 at 8:41am
" rel="nofollow - Is SVM set to Enabled in the BIOS?

Also, are you running the latest L1.60 BIOS?


Posted By: zmooky
Date Posted: 07 Dec 2016 at 3:57pm
Yes.  The mb came with the last version of bios.
I check for updates from the bios also, thinking that maybe is not release on website, and it says that the bios is up to date.

I really believe that the mb is not really supporting IOMMU even if it says that SVM is enabled.

For example this mb is not on this list:
https://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware#Motherboards_2" rel="nofollow - https://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware#Motherboards_2

I found on other forums/articles that: 
    To fully support the IOMMU on MB the BIOS must have, and I quote:
        "IVRS tables" defined in the BIOS. Which I do not know what i means.




Posted By: wardog
Date Posted: 07 Dec 2016 at 6:24pm
It doesn't look promising.
https://www.reddit.com/r/homelab/comments/4j5zf8/amd_apu_a1_5350_proxmox_ve/" rel="nofollow - https://www.reddit.com/r/homelab/comments/4j5zf8/amd_apu_a1_5350_proxmox_ve/


Contact Tech Support and inquire:
http://event.asrock.com/tsd.asp" rel="nofollow - http://event.asrock.com/tsd.asp


And if you would please return and post their response. Now I'm curios.


Posted By: WKjun
Date Posted: 07 Dec 2016 at 8:21pm
I'm absolutely unsure if this has anything to do with your problem, but I remember having this special "IOMMU Mode" option "64MB" regarding Linux. Maybe you need this to be implemented:
 
  http://us.informatiweb.net/tutorials/it/9-bios/215--enable-iommu-or-vt-d-in-your-motherboard-bios.html#amd-iommu" rel="nofollow - http://us.informatiweb.net/tutorials/it/9-bios/215--enable-iommu-or-vt-d-in-your-motherboard-bios.html#amd-iommu
 


-------------
PC1: FX-9590@def|290 |16GB@2133|Sabertooth 990FX R2.0
PC2: FX-8320@4.5|290 |16GB@2133| "
PC3: FX-9590@def|280X|16GB@2133| "
PC4: FX-9370@def|280X|16GB@2133| "
PC5: FX-6300@4.6|7950|16GB@1866|990FX-UD3


Posted By: zmooky
Date Posted: 07 Dec 2016 at 11:16pm
" rel="nofollow - I submitted the request.

During the submitting I saw that actually my bios version is P1.60 instead of the L1.60 that you asked.

Which is the difference between P1.60 and L1.60 ?



Posted By: wardog
Date Posted: 08 Dec 2016 at 12:55am
Originally posted by zmooky zmooky wrote:

" rel="nofollow - I submitted the request.

During the submitting I saw that actually my bios version is P1.60 instead of the L1.60 that you asked.

Which is the difference between P1.60 and L1.60 ?



None. Actually that was my error.

L prefix is for BETA BIOSes something here I deal with on a regular basis. I mistakenly entered L instead of P, which P stands for Production


Posted By: zmooky
Date Posted: 09 Dec 2016 at 3:51am
I did not received yet and answer from asrock, but I found that it may be possible that the bios or mb is not officially supporting this. The virtualization option in the BIOS refers to AMD-V and not AMV-Vi as it is clearly state somewhere between the lines.

Next time I will read the manual before buying a mb :) 

Without this the mb is useless to me.


Posted By: WKjun
Date Posted: 09 Dec 2016 at 6:45am
"Memory and I/O virtualization is performed by the chipset."
 "In addition to the CPU support, both motherboard chipset and system firmware (BIOS or UEFI) need to fully support the IOMMU I/O virtualization functionality in order for it to be actually usable."
 
https://en.wikipedia.org/wiki/X86_virtualization#I.2FO_MMU_virtualization_.28AMD-Vi_and_Intel_VT-d.29" rel="nofollow - https://en.wikipedia.org/wiki/X86_virtualization#I.2FO_MMU_virtualization_.28AMD-Vi_and_Intel_VT-d.29
 
Yes, there are several virtualization features and if there isn't an explicit IOMMU option, it is unusable I'm afraid.
 
As with most cheap(er) boards, it surely lacks even more BIOS/UEFI options like OC specific ones. Because it has just two memory slots and has its limitations CPU-(Core)-wise, virtualization is none of its strongpoints either.
 
But I wish you luck for a Beta BIOS that adds the IOMMU option for you!


-------------
PC1: FX-9590@def|290 |16GB@2133|Sabertooth 990FX R2.0
PC2: FX-8320@4.5|290 |16GB@2133| "
PC3: FX-9590@def|280X|16GB@2133| "
PC4: FX-9370@def|280X|16GB@2133| "
PC5: FX-6300@4.6|7950|16GB@1866|990FX-UD3


Posted By: parsec
Date Posted: 09 Dec 2016 at 12:10pm
" rel="nofollow - Without support for IOMMU by the CPU and/or chipset, there is nothing a mother board can do to bring it to the system.

If the CPU and/or chipset support IOMMU, then the board's UEFI/BIOS must be able to enable it, and then the board provide anything else IOMMU needs.

The AM1 Kabini SoC processors are specified to support IOMMUv1.

As wardog asked about, since the SVM option in enabled by default, which would enable IOMMU if it is supported by this board, if it doesn't seem to work, it must not be supported.

I must agree with WKjun, the single channel memory and low price of this board ($35 in the USA), most likely won't provide this feature. AMD systems that support IOMMU include 990FX chipset and FX processors.

I came across this link, which might help you enable it at the OS level:

https://ubuntuforums.org/showthread.php?t=2254677


-------------
http://valid.x86.fr/48rujh" rel="nofollow">


Posted By: zmooky
Date Posted: 10 Dec 2016 at 1:14am
" rel="nofollow - My project was to build a small eco ( low power consumption ) pc with vm-s on it for different things like: small gaming windows vm, router, nas with plex media server and a web server

This was based on the fact that the devices can be virtualized in a passthrough way.

There is only one AM1 board with low power consumption that supports IOMMU but is from MSI - found it too late.

Does anybody want my AM1B-ITX mb ? :))




Posted By: zmooky
Date Posted: 14 Dec 2016 at 6:12am
Completely disappointed by the ASRock technical team reply. They sent me a screenshot with a windows guest vm hosted on vmware : ))))

Hoping for a real solution was a stupid thing to believe. I am throwing the mb in the drawer where it belongs. Going for the MSI AM1I.

I quote:
"
Dear Szomoru,
Thanks for contacting ASRock.

For AM1B-ITX, it originally supports Microsoft® Windows® 10 64-bit / 8.1 32-bit / 8.1 64-bit / 8 32-bit / 8 64-bit / 7 32-bit / 7 64-bit / XP 32-bit / XP 64-bit.
Therefore, the AMD-Vi function is based on Windows OS.
We couldn't make sure if it can use in Linux OS.
we did the test in Windows 10 to create a virtual machine.
The virtual machine can work properly.
Please refer to the screen picture in attached file.

Thank you!
"


Posted By: wardog
Date Posted: 14 Dec 2016 at 10:30am
" rel="nofollow - zmooky, what cpu is it you have?

Duh. MN. I see in the 1st post, Athlon 5350


Posted By: wardog
Date Posted: 14 Dec 2016 at 11:21am
Originally posted by zmooky zmooky wrote:

Completely disappointed by the ASRock technical team reply. They sent me a screenshot with a windows guest vm hosted on vmware : ))))

Hoping for a real solution was a stupid thing to believe. I am throwing the mb in the drawer where it belongs. Going for the MSI AM1I.

I quote:
"
Dear Szomoru,
Thanks for contacting ASRock.

For AM1B-ITX, it originally supports Microsoft® Windows® 10 64-bit / 8.1 32-bit / 8.1 64-bit / 8 32-bit / 8 64-bit / 7 32-bit / 7 64-bit / XP 32-bit / XP 64-bit.
Therefore, the AMD-Vi function is based on Windows OS.
We couldn't make sure if it can use in Linux OS.
we did the test in Windows 10 to create a virtual machine.
The virtual machine can work properly.
Please refer to the screen picture in attached file.

Thank you!
"


If they, CPU and MB, support virtualization in Windows then there is absolutely no reason they can't pass off to any other OS.


Hint: Good luck with that MSI Am1l
https://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware#Motherboards_2" rel="nofollow - https://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware#Motherboards_2



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net