From 3ef5cdd37445a1a4e08dccfe6dc4b0da52899599 Mon Sep 17 00:00:00 2001 From: Alexander Heinrich Date: Sat, 12 Mar 2022 20:58:32 +0100 Subject: [PATCH 1/2] Update troubleshooting guide: "Unsupported Hardware Detected" --- .../installation-troubleshooting.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/user/troubleshooting/installation-troubleshooting.md b/user/troubleshooting/installation-troubleshooting.md index 867fd7f3..b727cf0f 100644 --- a/user/troubleshooting/installation-troubleshooting.md +++ b/user/troubleshooting/installation-troubleshooting.md @@ -105,4 +105,21 @@ If the setting is not configured correctly, it means that your hardware won’t In Qubes 4.0, the default installation won't function properly without IOMMU, as default sys-net and sys-usb qubes require IOMMU. It is possible to configure them to reduce isolation and not use IOMMU by changing virtualization mode of these two VMs to "PV". -In Qubes 4.1, IOMMU is strictly required, even when the virtualization mode of a VM is changed to "PV"; it is not possible to use Qubes on a system without IOMMU. +In Qubes 4.1, the default sys-net and sys-usb qubes need additional configuration to be usable without an IOMMU. Otherwise they will fail to start with this error message: + +``` +Start failed: internal error: libxenlight failed to create new domain 'sys-net', see /var/log/libvirt/libxl/libxl-driver.log for details +``` + +To confirm that a missing IOMMU is causing this problem, check for the following error message in `/var/log/libvirt/libxl/libxl-driver.log`: + +``` +2022-03-01 13:27:17.117+0000: libxl: libxl_create.c:1146:libxl__domain_config_setdefault: passthrough not supported on this platform +``` + +Here are the steps to fix this. Note that this reduces isolation, as described in the [FAQ here](/faq/#why-is-vt-damd-viamd-iommu-important): + +1. Change the virtualization mode of sys-net and sys-usb to "PV" +2. Add `qubes.enable_insecure_pv_passthrough` to `GRUB_CMDLINE_LINUX` in `/etc/default/grub` +3. Run `sudo grub2-mkconfig -o /boot/efi/EFI/qubes/grub.cfg` +4. Reboot From 92411d8454533dfd30f3c1c3d89794792d3cda79 Mon Sep 17 00:00:00 2001 From: Alexander Heinrich Date: Fri, 6 May 2022 18:52:58 +0200 Subject: [PATCH 2/2] Update user/troubleshooting/installation-troubleshooting.md Co-authored-by: Demi Marie Obenour --- user/troubleshooting/installation-troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/troubleshooting/installation-troubleshooting.md b/user/troubleshooting/installation-troubleshooting.md index b727cf0f..ddbf1a5c 100644 --- a/user/troubleshooting/installation-troubleshooting.md +++ b/user/troubleshooting/installation-troubleshooting.md @@ -117,7 +117,7 @@ To confirm that a missing IOMMU is causing this problem, check for the following 2022-03-01 13:27:17.117+0000: libxl: libxl_create.c:1146:libxl__domain_config_setdefault: passthrough not supported on this platform ``` -Here are the steps to fix this. Note that this reduces isolation, as described in the [FAQ here](/faq/#why-is-vt-damd-viamd-iommu-important): +Here are the steps to fix this. Note that this allows sys-net and sys-usb to take complete control of the system, as described in the [FAQ here](/faq/#why-is-vt-damd-viamd-iommu-important): 1. Change the virtualization mode of sys-net and sys-usb to "PV" 2. Add `qubes.enable_insecure_pv_passthrough` to `GRUB_CMDLINE_LINUX` in `/etc/default/grub`