IOMMU Ryzen alatt nem működik

Fórumok

Próbálnám működésre bírni a hardver virtualizációt egy frissen összerakott gépen, hiába van engedélyezve az IOMMU és az SVM a BIOS-ban a dmesg ezt mondja:

root@Tower:~# dmesg | grep IOM
[ 0.000000] DMAR: IOMMU disabled
[ 8.619243] AMD IOMMUv2 driver by Joerg Roedel
[ 8.619463] AMD IOMMUv2 functionality not available on this system

Valaki futott bele ilyesmibe? Amit találtam, hogy az AGESA-val van valami gebasz, ha ez igaz akkor kb. az IOMMU az új lapokon amik friss BIOS-sal jönnek nem működik....

A config lentebb: Ryzen 7 2700, Asrock B450 Pro4

root@Tower:~# lshw
tower
description: Desktop Computer
product: To Be Filled By O.E.M. (To Be Filled By O.E.M.)
vendor: To Be Filled By O.E.M.
version: To Be Filled By O.E.M.
serial: To Be Filled By O.E.M.
width: 4294967295 bits
capabilities: smbios-3.2 dmi-3.2 smp vsyscall32
configuration: boot=normal chassis=desktop family=To Be Filled By O.E.M. sku=To Be Filled By O.E.M. uuid=7085C2CE-B089-0000-0000-000000000000
*-core
description: Motherboard
product: B450 Pro4
vendor: ASRock
physical id: 0
serial: M80-C4011201005
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: P3.50
date: 07/18/2019
size: 64KiB
capacity: 15MiB
capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
*-memory
description: System Memory
physical id: e
slot: System board or motherboard
size: 32GiB
*-bank:0
description: [empty]
product: Unknown
vendor: Unknown
physical id: 0
serial: Unknown
slot: DIMM 0
*-bank:1
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
product: 2400 C15 Series
vendor: Unknown
physical id: 1
serial: 00000000
slot: DIMM 1
size: 16GiB
width: 64 bits
clock: 2133MHz (0.5ns)
*-bank:2
description: [empty]
product: Unknown
vendor: Unknown
physical id: 2
serial: Unknown
slot: DIMM 0
*-bank:3
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
product: 2400 C15 Series
vendor: Unknown
physical id: 3
serial: 00000000
slot: DIMM 1
size: 16GiB
width: 64 bits
clock: 2133MHz (0.5ns)
*-cache:0
description: L1 cache
physical id: 10
slot: L1 - Cache
size: 768KiB
capacity: 768KiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
physical id: 11
slot: L2 - Cache
size: 4MiB
capacity: 4MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: 12
slot: L3 - Cache
size: 16MiB
capacity: 16MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=3
*-cpu
description: CPU
product: AMD Ryzen 7 2700 Eight-Core Processor
vendor: Advanced Micro Devices [AMD]
physical id: 13
bus info: cpu@0
version: AMD Ryzen 7 2700 Eight-Core Processor
serial: Unknown
slot: AM4
size: 1374MHz
capacity: 4100MHz
width: 64 bits
clock: 100MHz
capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate sme ssbd sev ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca cpufreq
configuration: cores=8 enabledcores=8 threads=16

Hozzászólások

csak érdeklődésképpen: milyen virtualizációt használsz?

ugyanilyen lapom van egy Ryzen5 3600-assal, hétvégén ki tudom próbálni, hogy nálam működik e.
mire akarsz egyébként IOMMU-t (és gondolom PCI Passthrough-t is?) használni?

Nem kevered azzal, hogy különböző célú kártyáiknál korlátozzák azt, hogy mire lehet használni?
Például, ami számolásra lett eladva, annál nem engedi a grafika virtualizációt. Tesla k10 és a Grid k2 közt egy ellenállás és a vbios a különbség, árban meg többszörös.
https://www.youtube.com/watch?v=8Qm9IbSHkus&list=PLGbfidALQauLclCL3d4MW…

hat akkortalan bios upgrade.
abban a 7.18 -i biosban erosen early verzioju agesa kod van, raadasul a 2xxx -hez azt nem is ajanljak.
3xxx -hez ajanlott feltenni a sved egyuttesrol elhiresultet, eleg sokmindent javit, a prohardveren irta valaki, hogy neki a 2xxx procijan is segitett.

--
HUP te Zsiga !

Szerintem a 3.6-osra gondolsz, de nekem 3.5-ös van fenn

3.60 2019/8/6

1. Update AMD AGESA Combo-AM4 1.0.0.3 ABB
2. Improve Destiny2 gaming experience with Matisse CPU.

*ASRock do NOT recommend updating this BIOS if Pinnacle, Raven, Summit or Bristol Ridge CPU is being used on your system.
*Before updating this BIOS, please also read the description in previous BIOS version.

Mondjuk ami vicces hogy a 3.5-ösre azt írja hogy nem lehet downgradelni, tehát upgradelni nem tudok mert nem ajánlott. Downgradelni meg elvileg nem lehet

3.50 2019/7/25 9.23MB Update AMD AGESA Combo-AM4 1.0.0.3

* Please install "AMD all in 1 with VGA driver ver:18.50.16.01_WHQL" or a later version before updating to this BIOS.
** If you updated the BIOS before updating the AMD all in one driver, please refer to the Display recovery SOP to recover your system.
*** User will not able to flash previous BIOS once upgrading to this BIOS version.
**** If the current BIOS version is older than P1.80, please update BIOS to P1.80(PinnaclePI-AM4_1.0.0.6) before updating this versi

Asus X470 + Ryzen 2600X-el szépen megy a virtualizáció (Virtualbox, KVM).

No 3.10-ig tudtam downgradelni, de allitolag az utolsó működő verzió az 1.80, viszont arra már azt mondja a flash utility hogy invalid file....

Just updating this since this thread comes up on Google in my searches for this board and IOMMU. As of 9.23.2019, ASrock has no working Ryzen 3000 BIOS's that support IOMMU. The last working BIOS for both the B450-Pro4 and B450M-Pro4 are 1.80, which only support Ryzen 1000/2000 CPUs.

On 9.17.2019 ASrock Support gave me a beta of 3.80 where they added a CBS feature of 'AEP CS' which did not fix the IOMMU issue.

FYI on 3.60 and 3.80 (as tested), BIOS Legacy Option ROMs are disabled by default now. This will prevent something like a LSI 9211-8i from posting (even in IT mode) and exposing its drives to the system BIOS. Enabling these under 'Boot Options' will enable the ROMs again.

Sikerült működésre bírni az Asrock supporttal (ha esetleg valaki belefutna, BIOS 3.50)... KVM alatt nem megy, de ESXi-n működik némi hackeléssel.

Thank you for contacting ASRock.

Regarding your question, kindly adjust the settings below to see if it will work.

Advanced>AMD CBS>NBIO Common Options>IOMMU>Enabled
Advanced>AMD CBS>NBIO Common option>Enable AER Cap>Enable
Advanced>AMD CBS>NBIO Common option>ACS Auto

With thanks,
ASRock TSD

Nem minden alaplap kezeli külön blokkokban a PCIe x16 csatlakozókat. Ha egy blokkban kezeli akkor egy guest-nek oda lehet adni az összeset de a többinek nem (párhuzamosan). Eddig nekem szerencsém volt, de olvastam negatív tapatsztalatokról. 

Nekem ilyet ad, Ryzen 2400g-vel, Asrock lappal:

dmesg | grep IOM

[    2.058369] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[    2.059595] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[    2.059940] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[    3.818912] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel
 

Működik.

3800x - msi b450 tomahawk max

[balazs@nyestkutya ~]$ dmesg | grep IOMMU
[    0.287457] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[    0.291006] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[    0.292198] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[    0.300290] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>