I'm trying to get an Intel B580 passed through to an LXC where I run Docker and several containers, and after bumping into several walls, figured that it's better to ask for help:
I've checked that the BIOS is as up-to-date as possible and switched on SR-IOV and Resizable BAR. I've opted in for 6.17 kernel and fully updated.
Hostnamectl:
lspci -k -d ::03xx
dmesg | grep 0000:2d
My questions:
- Why is the B580 not using the Xe driver available in the kernel, even with force-probe?
- I'd use the vfio, but does it support passthrough to LXCs? I believe that it'd only provide passthrough to VMs -- doable, but not preferred
- Am I missing an install? I bumped into https://launchpad.net/~kobuk-team/+archive/ubuntu/intel-graphics and starting to set it up before I found apt-key has passed deprecated and is no longer included in Trixie.
I've checked that the BIOS is as up-to-date as possible and switched on SR-IOV and Resizable BAR. I've opted in for 6.17 kernel and fully updated.
Hostnamectl:
Code:
Operating System: Debian GNU/Linux 13 (trixie)
Kernel: Linux 6.17.1-1-pve
Architecture: x86-64
Hardware Vendor: ASRockRack
Hardware Model: X470D4U
Hardware Serial: To Be Filled By O.E.M.
Firmware Version: L4.29A
Firmware Date: Mon 2024-03-11
Firmware Age: 1y 7month 1w 3d
Code:
22:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41)
Subsystem: ASRock Incorporation Device 2000
Kernel driver in use: ast
Kernel modules: ast
2d:00.0 VGA compatible controller: Intel Corporation Battlemage G21 [Arc B580]
Subsystem: Device 207e:a003
Kernel modules: xe
Code:
[ 0.914461] pci 0000:2d:00.0: [8086:e20b] type 00 class 0x030000 PCIe Endpoint
[ 0.914523] pci 0000:2d:00.0: BAR 0 [mem 0x00000000-0x00ffffff 64bit]
[ 0.914528] pci 0000:2d:00.0: BAR 2 [mem 0x00000000-0x3ffffffff 64bit pref]
[ 0.914535] pci 0000:2d:00.0: ROM [mem 0x00000000-0x001fffff pref]
[ 0.914664] pci 0000:2d:00.0: PME# supported from D0 D3hot
[ 0.925540] pci 0000:2d:00.0: vgaarb: bridge control possible
[ 0.925540] pci 0000:2d:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[ 0.928568] pnp 00:00: disabling [mem 0xf0000000-0xf7ffffff] because it overlaps 0000:2d:00.0 BAR 2 [mem 0x00000000-0x3ffffffff 64bit pref]
[ 0.928690] pnp 00:01: disabling [mem 0xfd200000-0xfd2fffff] because it overlaps 0000:2d:00.0 BAR 2 [mem 0x00000000-0x3ffffffff 64bit pref]
[ 0.930125] pnp 00:06: disabling [mem 0xfec00000-0xfec00fff] because it overlaps 0000:2d:00.0 BAR 2 [mem 0x00000000-0x3ffffffff 64bit pref]
[ 0.930128] pnp 00:06: disabling [mem 0xfec01000-0xfec01fff] because it overlaps 0000:2d:00.0 BAR 2 [mem 0x00000000-0x3ffffffff 64bit pref]
[ 0.930130] pnp 00:06: disabling [mem 0xfedc0000-0xfedc0fff] because it overlaps 0000:2d:00.0 BAR 2 [mem 0x00000000-0x3ffffffff 64bit pref]
[ 0.930132] pnp 00:06: disabling [mem 0xfee00000-0xfee00fff] because it overlaps 0000:2d:00.0 BAR 2 [mem 0x00000000-0x3ffffffff 64bit pref]
[ 0.930135] pnp 00:06: disabling [mem 0xfed80000-0xfed8ffff] because it overlaps 0000:2d:00.0 BAR 2 [mem 0x00000000-0x3ffffffff 64bit pref]
[ 0.930137] pnp 00:06: disabling [mem 0xfec10000-0xfec10fff] because it overlaps 0000:2d:00.0 BAR 2 [mem 0x00000000-0x3ffffffff 64bit pref]
[ 0.930139] pnp 00:06: disabling [mem 0xff000000-0xffffffff] because it overlaps 0000:2d:00.0 BAR 2 [mem 0x00000000-0x3ffffffff 64bit pref]
[ 0.952479] pci 0000:2d:00.0: BAR 2 [mem size 0x400000000 64bit pref]: can't assign; no space
[ 0.952481] pci 0000:2d:00.0: BAR 2 [mem size 0x400000000 64bit pref]: failed to assign
[ 0.952483] pci 0000:2d:00.0: BAR 0 [mem size 0x01000000 64bit]: can't assign; no space
[ 0.952484] pci 0000:2d:00.0: BAR 0 [mem size 0x01000000 64bit]: failed to assign
[ 0.952486] pci 0000:2d:00.0: ROM [mem size 0x00200000 pref]: can't assign; no space
[ 0.952488] pci 0000:2d:00.0: ROM [mem size 0x00200000 pref]: failed to assign
[ 0.952490] pci 0000:2d:00.0: BAR 2 [mem size 0x400000000 64bit pref]: can't assign; no space
[ 0.952492] pci 0000:2d:00.0: BAR 2 [mem size 0x400000000 64bit pref]: failed to assign
[ 0.952494] pci 0000:2d:00.0: BAR 0 [mem size 0x01000000 64bit]: can't assign; no space
[ 0.952496] pci 0000:2d:00.0: BAR 0 [mem size 0x01000000 64bit]: failed to assign
[ 0.952498] pci 0000:2d:00.0: ROM [mem size 0x00200000 pref]: can't assign; no space
[ 0.952499] pci 0000:2d:00.0: ROM [mem size 0x00200000 pref]: failed to assign
[ 0.954772] pci 0000:2d:00.0: Adding to iommu group 17
[ 8.976093] xe 0000:2d:00.0: [drm] *ERROR* failed to map registers
[ 8.976097] xe 0000:2d:00.0: probe with driver xe failed with error -5
My questions:
- Why is the B580 not using the Xe driver available in the kernel, even with force-probe?
- I'd use the vfio, but does it support passthrough to LXCs? I believe that it'd only provide passthrough to VMs -- doable, but not preferred
- Am I missing an install? I bumped into https://launchpad.net/~kobuk-team/+archive/ubuntu/intel-graphics and starting to set it up before I found apt-key has passed deprecated and is no longer included in Trixie.