Return to Level1Techs.com

ASRock x470 Taichi (VM Iommu Grouping question)


#21

I’ve pretty much set everything up, in the middle of writing out a bash script for QEMU trying to work out dedicated nvme for passthrough inside it atm, lots of reading haha.


#22

Do you know which IOMMU is the top NVME?

IOMMU Group 15 03:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43d0] (rev 01)
IOMMU Group 15 03:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43c8] (rev 01)
IOMMU Group 15 03:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43c6] (rev 01)
IOMMU Group 15 20:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 02)
IOMMU Group 22 31:00.2 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)

Got the GPU Pasing over, along with keyboard on kvm working fine. just having issues with qemu bash script and the nvme drive boot with a preinstalled windows 10 on it. I dont think im using the right controller for it.

Whats the easiest way to differentiate them?

–Edit found how to do that…

IOMMU Group 14 01:00.0 Non-Volatile memory controller [0108]: Micron/Crucial Technology Device [c0a9:2263] (rev 03)

[email protected]:~$ ls -l /sys/block/nvme0n1
lrwxrwxrwx 1 root root 0 Feb 18 00:19 /sys/block/nvme0n1 -> …/devices/pci0000:00/0000:00:01.1/0000:01:00.0/nvme/nvme0/nvme0n1

– Think on the right track, However hit a wall. Googling for answers now.

Getting this error:

QEMU 2.11.1 monitor - type ‘help’ for more information
(qemu) qemu-system-x86_64: AMD CPU doesn’t support hyperthreading. Please configure -smp options properly.
qemu-system-x86_64: -device vfio-pci,host=01:00.0: vfio error: 0000:01:00.0: failed to add PCI capability 0x11[0x50]@0xb0: table & pba overlap, or they don’t fit in BARs, or don’t align


#23

So update, There is a bug with some NVME Controllers.

https://bugzilla.kernel.org/show_bug.cgi?id=202055#c29

However, the above patch should fix it for anyone using the same NVME as I, which is a cheap Crucial P1 CT500P1SSD8. Just keeping this as a log/diary if others have same issues as I.

Or easier way to just buy a Samsung NVME lol. - Which is probably the method im going to take as this controller isnt that great supposedly. Going to pick up a Samsung instead of saving 10$