VT-d, iommu, dmar failing - xen/qubesos troubleshooting - thinkpad e15 gen 2
-
Please help troubleshoot/fix. A QubesOS/Xen issue.
Xen boot (
xl dmesg) will eventually display:Failed to parse ACPI DMAR. Disabling VT-d). This will disable iommu support.It's a Lenovo E15 Gen 2. The BIOS is the latest and I already ran the lenovo critical update to it. BIOS settings are also correct.
It's strange because I moved the SSD from one laptop to the other and both are exact same model/gen, the only different is the first was ram 8GB, this is 16GB.
I have added to the grub
iommu=1and tried other parameters, but they are not doing the trick. Its an Intel.Also on:
https://forum.qubes-os.org/t/vt-d-iommu-dmar-failing-xen-troubleshooting-thinkpad-e15-gen-2/42089 -
Your setup is different enough that folks here might not have hit this exact thing.
TheFailed to parse ACPI DMAR. Disabling VT-dline usually points at the laptop firmware's ACPI tables rather than anything Xen is doing wrong, which would explain why the grubiommu=1tweaks aren't moving the needle.
You've already cross-posted to the QubesOS forum, which is probably where the people who've wrestled with E15 firmware quirks hang out.
If it helps, the XCP-ng docs have a short note on reading the DMAR/IVRS ACPI tables to debug IOMMU issues at https://docs.xcp-ng.org/troubleshooting/log-files#dmarivrs-acpi-tables.
It's XCP-ng-specific, but the Xen-level idea of dumping and inspecting those tables carries over. -
Solved!
Issue was, contradicting my notes "Kernel DMA protection" must be on (and apparently is supported by Xen/Qubes).
Attention is to one must boot the machine twice to "stick". Counter-intuitive.
Four days of struggle are over, awkward. Fun thing was to use acpidump, acpixtract and iasl.
-
Good to hear, thanks a lot for your feedback.

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login