2个月前
AUTOINSTALL=yes
BUILD_EXCLUSIVE_KERNEL="^(6\.[1-9]\.)"
root@hmail:~/i915-sriov-dkms# dkms add .
Creating symlink /var/lib/dkms/i915-sriov-dkms/6.8.12-1/source -> /usr/src/i915-sriov-dkms-6.8.12-1
root@hmail:~/i915-sriov-dkms# cd /usr/src/i915-sriov-dkms-$KERNEL
root@hmail:/usr/src/i915-sriov-dkms-6.8.12-1# dkms status
i915-sriov-dkms/6.8.12-1: added
root@hmail:/usr/src/i915-sriov-dkms-6.8.12-1# dkms install -m i915-sriov-dkms -v $KERNEL -k $(uname -r) --force -j 1
Sign command: /lib/modules/6.8.12-1-pve/build/scripts/sign-file
Binary /lib/modules/6.8.12-1-pve/build/scripts/sign-file not found, modules won't be signed
Error! Your kernel headers for kernel 6.8.12-1-pve cannot be found at /lib/modules/6.8.12-1-pve/build or /lib/modules/6.8.12-1-pve/source.
Please install the linux-headers-6.8.12-1-pve package or use the --kernelsourcedir option to tell DKMS where it's located.
root@hmail:/usr/src/i915-sriov-dkms-6.8.12-1# dkms status
i915-sriov-dkms/6.8.12-1: added
root@hmail:/usr/src/i915-sriov-dkms-6.8.12-1# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation JasperLake [UHD Graphics] (rev 01)
root@hmail:/usr/src/i915-sriov-dkms-6.8.12-1# dkms install -m i915-sriov-dkms -v $KERNEL -k $(uname -r) --force -j 1
Sign command: /lib/modules/6.8.12-1-pve/build/scripts/sign-file
Binary /lib/modules/6.8.12-1-pve/build/scripts/sign-file not found, modules won't be signed
Error! Your kernel headers for kernel 6.8.12-1-pve cannot be found at /lib/modules/6.8.12-1-pve/build or /lib/modules/6.8.12-1-pve/source.
Please install the linux-headers-6.8.12-1-pve package or use the --kernelsourcedir option to tell DKMS where it's located.
root@hmail:/usr/src/i915-sriov-dkms-6.8.12-1#
到这一步无法编译