Hi, I just installed Qubes release 4.3.4 (R4.3). I mostly selected default options, except for Debian as the default VM (since I’m more familiar with that than Fedora), and also auto-connecting USB mouse and keyboard devices.
I see a notice whenever trying to run anything in the sys-net VM:
Qube sys-net has failed to start: Requested operation is not valid: PCI device 0000:80:14.3 is not assignable
I’m kind of stumped on how to proceed. I don’t have Internet and I don’t know how to connect a flash drive, so I can’t copy qvm-pci output here. I’ll try to type it in:
Your problem looks similar to the one I got on sys-usb not starting. The reason is that my PC has a Intel Core Ultra series 2 processor. Its architecture has two PCI Root Complex and libvirt is not able to manage the second one. The consequence is that when you want to PCI passthrough a device connected to that second PCI Root Complex to any VM like sys-net or sys-usb , it fails with that error.
You can verify this by checking with a lspci -tvnn command: if you are having the same issue as mine, it will display two branches, one starting with0000:00, the other with 0000:80.
@bertrand I had a major breakthrough – I can now use Ethernet, even though it is on the 0x80 PCI root (which I don’t understand). Thanks to this, I can copy and paste command output:
In the first post, the error message is about 0000:80:14.3 which is the WiFi interface. In the last post, you show that the wired interface is PCI passthroughed to sys-net.
This wired ethernet interface is connected to the PCI to PCI bridge 0000:80:1c.0, not directly connected to the 0000:80 PCI Root Complex. As there is a PCI Bridge in between, libvirt can do the normal stuff so the behaviour is logical.
So I was able to get qube-builderv2 working, or at least building core-libvirt RPMs. I’m a little confused about how to apply the 0019-arrow-lake-usb-fix patch however.
Bloged wrote:
Then added it in libvirt.spec.in and build this package.
After adding in the patch in artifacts/sources/core-libvirt/ and adding a line for it in the patches section of libvirt.spec.in in that directory, is the command ./qb -c core-libvirt package prep build? Or is it without the prep?
That did it! I now have WiFi and I’ll try to get my USB and HDMI working (I don’t recall if I mentioned those weren’t working before). Thanks so much @bertrand !