[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] AMD-Vi: Error initialization



I have a problem.

When running xen-4.12.2 on fedora 31 with kernel 5.4.18-200.fc31.x86_64, AMD-Vi initialization fails, so I can't passthrough pci devices to vms.

I am reporting this, because, when I boot fedora 31 without the xen hypervisor, AMD-Vi works, and I can passthrough devices using the Qemu/KVM stack, so I guess, this error is caused by xen amd_iommu not supporting my AMD Ryzen Threadripper 3960X 24-Core Processor/TRX40 AORUS XTREME cpu/mobo combo, and not by a bogus BIOS.

I attached the output of xl dmesg, I think the relevant lines are:

(XEN) IVHD Error: Invalid IO-APIC 0x80
(XEN) AMD-Vi: Error initialization
(XEN) I/O virtualisation disabled

To show, that IOMMU is principally working, here is the output of "dmesg -T | grep -i iommu" when booting without xen:

...

[So Feb 16 17:29:03 2020] pci 0000:61:00.0: Adding to iommu group 76
[So Feb 16 17:29:03 2020] pci 0000:62:00.0: Adding to iommu group 77
[So Feb 16 17:29:03 2020] pci 0000:60:00.2: AMD-Vi: Found IOMMU cap 0x40
[So Feb 16 17:29:03 2020] pci 0000:40:00.2: AMD-Vi: Found IOMMU cap 0x40
[So Feb 16 17:29:03 2020] pci 0000:20:00.2: AMD-Vi: Found IOMMU cap 0x40
[So Feb 16 17:29:03 2020] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[So Feb 16 17:29:03 2020] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank). [So Feb 16 17:29:03 2020] perf/amd_iommu: Detected AMD IOMMU #1 (2 banks, 4 counters/bank). [So Feb 16 17:29:03 2020] perf/amd_iommu: Detected AMD IOMMU #2 (2 banks, 4 counters/bank). [So Feb 16 17:29:03 2020] perf/amd_iommu: Detected AMD IOMMU #3 (2 banks, 4 counters/bank). [So Feb 16 17:29:06 2020] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@xxxxxxx>

I also attached the output of "lshw -short".

Any help would be appreciated, thanks.

Attachment: lshw-short.txt
Description: Text document

Attachment: iommu-ok.txt
Description: Text document

Attachment: iommu-failed-xen.txt
Description: Text document

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.