New install: Networking not working

I have been using Linux for years but I am new to Qubes, I have just installed Qubes-R4.2.4-x86_64 on a brand new Dell desktop system.

If I try and start an XCF terminal in any of profiles I get eg:

Qube Status: sys-firewall: Qube sys-firewall is starting
Qube Status: sys-net: Qube sys-net is starting
Qube Status: sys-net: Qube sys-net has failed to start: Requested operation is not valid: PCI device 000:80:1f.6 is not assignable
Qube Status: sys-firewall: Qube sys-firewall has failed to start: Requested operation is not valid: PCI device 000:80:1f.6 is not assignable

In the lspci -k output (from dom0) I see the network adaptor:

80:1f.6 Ethernet controller: Intel Corporation Device 550c (rev 10)
          Subsystem: Dell Device 0ce1
          Kernel driver in use: pciback
          Kernel modules: e1000e

When I asked about this on Reddit, someone suggested some sort of problem with IOMMU groups and that I should get a listing of the IOMMU groups.

The only group that includes an ethernet controller is:

IOMMU Group 24:
  80:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:7f08] (rev 10)
  80:1f.3 Multimedia audio controller [0401]: Intel Corporation Device [8086:7f50] (rev 10)
  80:1f.4 SMBus [0c05]: Intel Corporation Device [8086:7f23] (rev 10)
  80:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:7f24] (rev 10)
  80:1f.6 Ethernet controller [0200]: Intel Corporation Device [8086:550c] (rev 10)

Anyone have any ideas on how to move forward on this?

so I have this

IOMMU Group 12:
        00:1f.0 ISA bridge [0601]: Intel Corporation Alder Lake PCH eSPI Controller [8086:5182] (rev 01)
        00:1f.3 Audio device [0403]: Intel Corporation Alder Lake PCH-P High Definition Audio Controller [8086:51c8] (rev 01)
        00:1f.4 SMBus [0c05]: Intel Corporation Alder Lake PCH-P SMBus Host Controller [8086:51a3] (rev 01)
        00:1f.5 Serial bus controller [0c80]: Intel Corporation Alder Lake-P PCH SPI Controller [8086:51a4] (rev 01)
        00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (16) I219-LM [8086:1a1e] (rev 01)

and have no problem to attach audio device to sys-audio and ethernet to sys-net

run

qvm-pci

and check where is your network card attached

The last line of the qvm-pci output is:

dom0:80_1f.8  Ethernet controller: Intel Corporation             sys-net

Is your sys-net running?
If not, can you start it manually?

When I boot, the mouse and keyboard do not work when I get to the user login (but it does work for entering the disk password). To fix that I added temporarily qubes.skip_autostart to the grub boot options. That go the thing booted.

sys-net does not start automatically, but when I try to start it I get:

Qube Status: sys-net: Qube sys-net is starting
Qube Status: sys-net: Qube sys-net has failed to start: Requested operation is not valid: PCI device 000:80:1f.6 is not assignable

It also says see /var/log/../libxl-driver.log for details but that log file is empty.

Did you configured strict reset for pci devices in sys-net Devices settings for this network card?

Just tried that. No good. Same error as before.

I’m out of ideas how to check what is using this device that it can’t be attached.

Reinstalled from scratch and got the same error about dom0:80_1f.8 .