moetayuko / intel-gpu-i915-backports

out-of-tree i915 kernel module for PVE and DSM
Other
144 stars 30 forks source link

Ubuntu 24.04 i915 驱动 -- VM #26

Closed gzbenson closed 3 months ago

gzbenson commented 3 months ago

宿主机已经安装好驱动 PVE 6.8.8.4 , 成功安装驱动和开启 sriov vf=7

创建Ubuntu 24.04 虚拟机,直通其中一个gpu给这个虚拟机,ubuntu 24.04LTS 默认内核6.8 apt 驱动安装正常,但是直通的sriov核显貌似没驱动起来 ,是不是要开启 SecureBoot??

test@ubuntu:~$ sudo dmesg | grep i915 [ 2.998928] i915_compat: loading out-of-tree module taints kernel. [ 2.998932] i915_compat: module verification failed: signature and/or required key missing - tainting kernel [ 2.999553] i915_compat: Unknown symbol drm_dp_dpcd_read (err -2) [ 2.999567] i915_compat: Unknown symbol drm_dp_dpcd_write (err -2)

lspci

00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller 00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03) 00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03) 00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port 00:1c.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port 00:1c.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port 00:1c.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port 00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) 00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02) 00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02) 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02) 01:00.0 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730] (rev 0c) 05:01.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge 05:02.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge 05:03.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge 05:04.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge 06:03.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon 06:08.0 Communication controller: Red Hat, Inc. Virtio console 06:0a.0 SCSI storage controller: Red Hat, Inc. Virtio block device 06:12.0 Ethernet controller: Red Hat, Inc. Virtio network device

ls /dev/dri ls: cannot access '/dev/dri': No such file or directory

gzbenson commented 3 months ago

宿主机已经安装好驱动 PVE 6.8.8.4 , 成功安装驱动和开启 sriov vf=7

创建Ubuntu 24.04 虚拟机,直通其中一个gpu给这个虚拟机,ubuntu 24.04LTS 默认内核6.8 apt 驱动安装正常,但是直通的sriov核显貌似没驱动起来 ,是不是要开启 SecureBoot??

test@ubuntu:~$ sudo dmesg | grep i915 [ 2.998928] i915_compat: loading out-of-tree module taints kernel. [ 2.998932] i915_compat: module verification failed: signature and/or required key missing - tainting kernel [ 2.999553] i915_compat: Unknown symbol drm_dp_dpcd_read (err -2) [ 2.999567] i915_compat: Unknown symbol drm_dp_dpcd_write (err -2)

lspci

00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller 00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03) 00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03) 00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port 00:1c.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port 00:1c.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port 00:1c.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port 00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) 00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02) 00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02) 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02) 01:00.0 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730] (rev 0c) 05:01.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge 05:02.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge 05:03.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge 05:04.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge 06:03.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon 06:08.0 Communication controller: Red Hat, Inc. Virtio console 06:0a.0 SCSI storage controller: Red Hat, Inc. Virtio block device 06:12.0 Ethernet controller: Red Hat, Inc. Virtio network device

ls /dev/dri ls: cannot access '/dev/dri': No such file or directory

已經解決