strongtz / i915-sriov-dkms

dkms module of Linux i915 driver with SR-IOV support
1.13k stars 138 forks source link

Build SRIOV fails for Ubuntu 24.04 LTS >6.8.0-44 guest #198

Open Donimax opened 2 months ago

Donimax commented 2 months ago

Hello everyone, I am following the pve host installation steps for kernel 6.5 and 6.8 from the README. When compiling the module in step 5, I get the following errors:

root@ws01 ~/i915-sriov-dkms # dkms install -m i915-sriov-dkms -v 2024.08.09 --force
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.8.0-44-generic -C /lib/modules/6.8.0-44-generic/build M=/var/lib/dkms/i915-sriov-dkms/2024.08.09/build......................................................................(bad exit status: 2)
ERROR (dkms apport): binary package for i915-sriov-dkms: 2024.08.09 not found
Error! Bad return status for module build on kernel: 6.8.0-44-generic (x86_64)
Consult /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/make.log for more information.

/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/make.log

DKMS make.log for i915-sriov-dkms-2024.08.09 for kernel 6.8.0-44-generic (x86_64)
Mon Sep 16 08:15:00 PM CEST 2024
make: Entering directory '/usr/src/linux-headers-6.8.0-44-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
  You are using:           gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
KERNELRELEASE=6.8.0-44-generic
KERNELVERSION=6.8.0
EXTRAVERSION_MAJOR=44
EXTRAVERSION_MINOR=0
EXTRAVERSION_NAME=generic
EXTRAVERSION_DEFINE=EXTRAVERSION_GENERIC
LSBRELEASE=24.04
LSBRELEASE_MAJOR=24
LSBRELEASE_MINOR=4
LSBRELEASE_NAME=Ubuntu
LSBRELEASE_DEFINE=RELEASE_UBUNTU
GUCFIRMWARE_MAJOR=1
GUCFIRMWARE_MINOR=9
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_driver.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_drm_client.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_config.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_getparam.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_hwmon.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_ioctl.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_irq.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_mitigations.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_module.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_params.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_pci.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_scatterlist.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_suspend.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_switcheroo.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_sysfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_utils.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/intel_device_info.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/intel_memory_region.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/intel_pcode.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/intel_pm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/intel_region_ttm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/intel_runtime_pm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/intel_sbi.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/intel_step.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/intel_uncore.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/intel_wakeref.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/vlv_sideband.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/vlv_suspend.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/soc/intel_dram.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/soc/intel_gmch.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/soc/intel_pch.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_memcpy.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_mm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_sw_fence.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_sw_fence_work.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_syncmap.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_user_extensions.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_ioc32.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_debugfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_debugfs_params.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_display_debugfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_pipe_crc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_pmu.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/gen2_engine_cs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/gen6_engine_cs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/gen6_ppgtt.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/gen7_renderclear.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/gen8_engine_cs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/gen8_ppgtt.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_breadcrumbs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_context.o
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/gen8_ppgtt.c:103:12: warning: ‘gen12_pte_encode_shim’ defined but not used [-Wunused-function]
  103 | static u64 gen12_pte_encode_shim(dma_addr_t addr,
      |            ^~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_context_sseu.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_engine_cs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_engine_heartbeat.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_engine_pm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_engine_user.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_execlists_submission.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_ggtt.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt_clock_utils.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt_debugfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt_engines_debugfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt_irq.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt_mcr.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt_pm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt_pm_irq.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt_requests.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt_sysfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gtt.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_llc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_lrc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_migrate.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_mocs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_ppgtt.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_rc6.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_region_lmem.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_renderstate.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_reset.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_ring.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_ring_submission.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_rps.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_sa_media.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_sseu.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_sseu_debugfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_timeline.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_tlb.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_wopcm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_workarounds.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/shmem_utils.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/sysfs_engines.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_ggtt_gmch.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/gen6_renderstate.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/gen7_renderstate.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/gen8_renderstate.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/gen9_renderstate.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_busy.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_clflush.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_context.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_create.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_dmabuf.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_domain.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_internal.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_object.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_lmem.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_mman.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_pages.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_phys.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_pm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_region.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_shmem.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_shrinker.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_stolen.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_throttle.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_tiling.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_ttm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_userptr.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gem_wait.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gem/i915_gemfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_active.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_cmd_parser.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_deps.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_gem_evict.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_gem_gtt.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_gem_ww.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_gem.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_query.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_request.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_scheduler.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_trace_points.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_ttm_buddy_manager.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_vma.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_vma_resource.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_gsc_proxy.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_guc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_guc_ads.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_guc_capture.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_guc_ct.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_guc_debugfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_guc_fw.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_guc_log.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_guc_rc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_huc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_huc_debugfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_huc_fw.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_uc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_uc_debugfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gsc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_sriov.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_sriov_sysfs.o
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gsc.c: In function ‘gsc_destroy_one’:
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gsc.c:150:71: warning: passing argument 2 of ‘intel_huc_unregister_gsc_notifier’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  150 |                                                           aux_dev->dev.bus);
      |                                                           ~~~~~~~~~~~~^~~~
In file included from /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_uc.h:14,
                 from /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gt_types.h:19,
                 from /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_engine.h:18,
                 from /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/i915_drv.h:46,
                 from /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gsc.c:8:
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_huc.h:70:80: note: expected ‘struct bus_type *’ but argument is of type ‘const struct bus_type *’
   70 | void intel_huc_unregister_gsc_notifier(struct intel_huc *huc, struct bus_type *bus);
      |                                                               ~~~~~~~~~~~~~~~~~^~~
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gsc.c: In function ‘gsc_init_one’:
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gsc.c:264:61: warning: passing argument 2 of ‘intel_huc_register_gsc_notifier’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  264 |                                                 aux_dev->dev.bus);
      |                                                 ~~~~~~~~~~~~^~~~
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_huc.h:69:78: note: expected ‘struct bus_type *’ but argument is of type ‘const struct bus_type *’
   69 | void intel_huc_register_gsc_notifier(struct intel_huc *huc, struct bus_type *bus);
      |                                                             ~~~~~~~~~~~~~~~~~^~~
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/intel_gsc.c:271:71: warning: passing argument 2 of ‘intel_huc_unregister_gsc_notifier’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  271 |                                                           aux_dev->dev.bus);
      |                                                           ~~~~~~~~~~~~^~~~
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/uc/intel_huc.h:70:80: note: expected ‘struct bus_type *’ but argument is of type ‘const struct bus_type *’
   70 | void intel_huc_unregister_gsc_notifier(struct intel_huc *huc, struct bus_type *bus);
      |                                                               ~~~~~~~~~~~~~~~~~^~~
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/iov/intel_iov.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/iov/intel_iov_debugfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/iov/intel_iov_event.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/iov/intel_iov_memirq.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/iov/intel_iov_provisioning.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/iov/intel_iov_query.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/iov/intel_iov_relay.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/iov/intel_iov_service.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/iov/intel_iov_state.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/gt/iov/intel_iov_sysfs.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/hsw_ips.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_atomic.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_atomic_plane.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_audio.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_bios.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_bw.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_cdclk.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_color.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_combo_phy.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_connector.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_crtc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_crtc_state_dump.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_cursor.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_display.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_display_power.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_display_power_map.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_display_power_well.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dmc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dpio_phy.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dpll.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dpll_mgr.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dpt.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_drrs.o
In file included from ./include/linux/srcu.h:21,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:16,
                 from ./include/linux/mmzone.h:22,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/slab.h:16,
                 from ./include/linux/dma-resv.h:44,
                 from /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_display.c:27:
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_display.c: In function ‘intel_modeset_driver_remove_noirq’:
./include/linux/workqueue.h:625:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  625 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_display.c:9051:9: note: in expansion of macro ‘flush_scheduled_work’
 9051 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dsb.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_fb.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_fb_pin.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_fbc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_fdi.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_fifo_underrun.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_frontbuffer.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_global_state.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_hdcp.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_hotplug.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_hti.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_lpe_audio.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_modeset_verify.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_modeset_setup.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_overlay.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_pch_display.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_pch_refclk.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_plane_initial.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_psr.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_quirks.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_sprite.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_tc.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_vblank.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_vga.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/i9xx_plane.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/skl_scaler.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/skl_universal_plane.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/skl_watermark.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_acpi.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_opregion.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_fbdev.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/dvo_ch7017.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/dvo_ch7xxx.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/dvo_ivch.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/dvo_ns2501.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/dvo_sil164.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/dvo_tfp410.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/g4x_dp.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/g4x_hdmi.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/icl_dsi.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_backlight.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_crt.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_cx0_phy.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_ddi.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_display_trace.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dkl_phy.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_aux.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_hdcp.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_link_training.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_mst.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dsi.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dsi_vbt.o
  CC [M]  /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dvo.o
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_mst.c: In function ‘intel_mst_disable_dp’:
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_mst.c:542:43: warning: unused variable ‘new_payload’ [-Wunused-variable]
  542 |         struct drm_dp_mst_atomic_payload *new_payload =
      |                                           ^~~~~~~~~~~
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_mst.c:540:49: warning: unused variable ‘old_payload’ [-Wunused-variable]
  540 |         const struct drm_dp_mst_atomic_payload *old_payload =
      |                                                 ^~~~~~~~~~~
In file included from /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_mst.c:43:
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_mst.c: In function ‘intel_mst_enable_dp’:
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_mst.h:72:48: error: passing argument 2 of ‘drm_dp_add_payload_part2’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   72 |   drm_dp_add_payload_part2(&intel_dp->mst_mgr, &state->base, mst_payload_state);
      |                                                ^~~~~~~~~~~~
      |                                                |
      |                                                struct drm_atomic_state *
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_mst.c:751:9: note: in expansion of macro ‘DRM_DP_ADD_PAYLOAD_PART2’
  751 |         DRM_DP_ADD_PAYLOAD_PART2(intel_dp, state,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_display_types.h:36,
                 from /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_mst.c:40:
./include/drm/display/drm_dp_mst_helper.h:854:64: note: expected ‘struct drm_dp_mst_atomic_payload *’ but argument is of type ‘struct drm_atomic_state *’
  854 |                              struct drm_dp_mst_atomic_payload *payload);
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_mst.h:72:3: error: too many arguments to function ‘drm_dp_add_payload_part2’
   72 |   drm_dp_add_payload_part2(&intel_dp->mst_mgr, &state->base, mst_payload_state);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_mst.c:751:9: note: in expansion of macro ‘DRM_DP_ADD_PAYLOAD_PART2’
  751 |         DRM_DP_ADD_PAYLOAD_PART2(intel_dp, state,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
./include/drm/display/drm_dp_mst_helper.h:853:5: note: declared here
  853 | int drm_dp_add_payload_part2(struct drm_dp_mst_topology_mgr *mgr,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:243: /var/lib/dkms/i915-sriov-dkms/2024.08.09/build/drivers/gpu/drm/i915/display/intel_dp_mst.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/linux-headers-6.8.0-44-generic/Makefile:1925: /var/lib/dkms/i915-sriov-dkms/2024.08.09/build] Error 2
make: *** [Makefile:240: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.8.0-44-generic'

System: Ubuntu 24.04.1 LTS 6.8.0-44-generic

Thanks in advance.

LMaier-dev commented 2 months ago

My build fails with the exact same log when building in the guest OS

I am also running Ubuntu 24.04.1 LTS 6.8.0-45-generic

CrAazZyMaN21 commented 2 months ago

A fallback solution would be installing 6.8.0-41-generic which is the last working kernel.

tristan-k commented 2 months ago

I just tried Kernel 6.8.0-41-generic after I got the same build error on 6.8.0-44-generic. Now the dkms module loads but I'm still having issues. Seems related to this.

$  inxi -G
Graphics:
  Device-1: Intel Meteor Lake-P [Intel Arc Graphics] driver: N/A
  Display: server: No display server data found. Headless machine? tty: 214x52
  API: EGL v: 1.5 drivers: swrast platforms: surfaceless,device
  API: OpenGL v: 4.5 vendor: mesa v: 24.0.9-0ubuntu0.1 note: console (EGL sourced)
    renderer: llvmpipe (LLVM 17.0.6 256 bits)
$ dkms status
i915-sriov-dkms/2024.08.09, 6.8.0-41-generic, x86_64: installed
root@ubuntu24:~# uname -a
Linux ubuntu24 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug  2 20:41:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu24:~# dmesg | grep i915
[    3.206696] i915: loading out-of-tree module taints kernel.
[    3.206757] i915: module verification failed: signature and/or required key missing - tainting kernel
[    3.206860] i915: Unknown symbol drm_dp_clock_recovery_ok (err -2)
[    3.206865] i915: Unknown symbol drm_dp_read_channel_eq_delay (err -2)
[    3.206874] i915: Unknown symbol drm_dp_cec_unset_edid (err -2)
[    3.206876] i915: Unknown symbol drm_lspcon_set_mode (err -2)
[    3.206879] i915: Unknown symbol drm_dp_downstream_444_to_420_conversion (err -2)
[    3.206885] i915: Unknown symbol drm_dp_atomic_find_time_slots (err -2)
[    3.206887] i915: Unknown symbol drm_dsc_compute_rc_parameters (err -2)
[    3.206893] i915: Unknown symbol drm_dp_get_adjust_request_voltage (err -2)
[    3.206902] i915: Unknown symbol drm_dp_pcon_frl_prepare (err -2)
[    3.206905] i915: Unknown symbol drm_dp_downstream_max_tmds_clock (err -2)
[    3.206916] i915: Unknown symbol drm_dp_read_mst_cap (err -2)
[    3.206929] i915: Unknown symbol drm_dp_channel_eq_ok (err -2)
[    3.206930] i915: Unknown symbol drm_dp_dsc_sink_line_buf_depth (err -2)
[    3.206947] i915: Unknown symbol drm_dp_downstream_max_dotclock (err -2)
[    3.206953] i915: Unknown symbol drm_dp_read_sink_count_cap (err -2)
[    3.206957] i915: Unknown symbol drm_dp_bw_code_to_link_rate (err -2)
[    3.206965] i915: Unknown symbol drm_dp_pcon_frl_enable (err -2)
[    3.206975] i915: Unknown symbol drm_dp_pcon_dsc_max_slices (err -2)
[    3.206977] i915: Unknown symbol drm_dp_lttpr_pre_emphasis_level_3_supported (err -2)
[    3.206981] i915: Unknown symbol drm_dp_mst_put_port_malloc (err -2)
[    3.206985] i915: Unknown symbol drm_dp_get_adjust_tx_ffe_preset (err -2)
[    3.206991] i915: Unknown symbol drm_atomic_get_mst_payload_state (err -2)
[    3.207000] i915: Unknown symbol drm_buddy_init (err -2)
[    3.207004] i915: Unknown symbol drm_dp_aux_unregister (err -2)
[    3.207057] i915: Unknown symbol drm_dp_mst_update_slots (err -2)
[    3.207077] i915: Unknown symbol drm_dp_pcon_hdmi_frl_link_error_count (err -2)
[    3.207090] i915: Unknown symbol drm_dp_mst_topology_mgr_suspend (err -2)
[    3.207105] i915: Unknown symbol drm_dp_pcon_dsc_max_slice_width (err -2)
[    3.207114] i915: Unknown symbol drm_dp_psr_setup_time (err -2)
[    3.207121] i915: Unknown symbol drm_dp_128b132b_link_training_failed (err -2)
[    3.207126] i915: Unknown symbol drm_dp_vsc_sdp_log (err -2)
[    3.207144] i915: Unknown symbol drm_dp_mst_connector_late_register (err -2)
[    3.207148] i915: Unknown symbol drm_dp_dsc_sink_supported_input_bpcs (err -2)
[    3.207173] i915: Unknown symbol cec_notifier_conn_register (err -2)
[    3.207174] i915: Unknown symbol drm_dp_128b132b_read_aux_rd_interval (err -2)
[    3.207177] i915: Unknown symbol drm_dp_read_lttpr_common_caps (err -2)
[    3.207188] i915: Unknown symbol drm_dp_downstream_rgb_to_ycbcr_conversion (err -2)
[    3.207191] i915: Unknown symbol drm_hdmi_avi_infoframe_content_type (err -2)
[    3.207206] i915: Unknown symbol drm_dp_dpcd_write (err -2)
[    3.207218] i915: Unknown symbol drm_dp_dpcd_read_phy_link_status (err -2)
[    3.207220] i915: Unknown symbol drm_dp_pcon_frl_configure_2 (err -2)
[    3.207221] i915: Unknown symbol drm_buddy_free_list (err -2)
[    3.207250] i915: Unknown symbol drm_dp_cec_unregister_connector (err -2)
[    3.207261] i915: Unknown symbol drm_buddy_alloc_blocks (err -2)
[    3.207263] i915: Unknown symbol drm_dp_dpcd_read (err -2)
[    3.207268] i915: Unknown symbol drm_hdmi_avi_infoframe_colorimetry (err -2)
[    3.207270] i915: Unknown symbol drm_dp_pcon_pps_override_param (err -2)
[    3.207279] i915: Unknown symbol drm_dp_128b132b_eq_interlane_align_done (err -2)
[    3.207292] i915: Unknown symbol drm_buddy_fini (err -2)
[    3.207297] i915: Unknown symbol drm_dp_mst_atomic_wait_for_dependencies (err -2)
[    3.207326] i915: Unknown symbol drm_dp_mst_topology_mgr_set_mst (err -2)
[    3.207375] i915: Unknown symbol drm_dp_atomic_release_time_slots (err -2)
[    3.207383] i915: Unknown symbol drm_dp_mst_detect_port (err -2)
[    3.207390] i915: Unknown symbol drm_dp_lttpr_max_lane_count (err -2)
[    3.207410] i915: Unknown symbol drm_dp_128b132b_lane_channel_eq_done (err -2)
[    3.207442] i915: Unknown symbol drm_edp_backlight_disable (err -2)
[    3.207468] i915: Unknown symbol drm_dp_get_phy_test_pattern (err -2)
[    3.207473] i915: Unknown symbol drm_dp_lttpr_count (err -2)
[    3.207486] i915: Unknown symbol drm_dp_read_dpcd_caps (err -2)
[    3.207492] i915: Unknown symbol drm_dp_downstream_min_tmds_clock (err -2)
[    3.207512] i915: Unknown symbol drm_atomic_get_new_mst_topology_state (err -2)
[    3.207530] i915: Unknown symbol drm_dp_pcon_convert_rgb_to_ycbcr (err -2)
[    3.207563] i915: Unknown symbol cec_notifier_set_phys_addr (err -2)
[    3.207582] i915: Unknown symbol drm_dp_mst_hpd_irq_send_new_request (err -2)
[    3.207596] i915: Unknown symbol drm_dp_add_payload_part2 (err -2)
[    3.207733] i915: Unknown symbol drm_dp_mst_topology_mgr_init (err -2)
[    3.207762] i915: Unknown symbol drm_hdcp_check_ksvs_revoked (err -2)
[    3.207774] i915: Unknown symbol drm_buddy_block_print (err -2)
[    3.207783] i915: Unknown symbol drm_dp_pcon_enc_is_dsc_1_2 (err -2)
[    3.207797] i915: Unknown symbol drm_atomic_get_mst_topology_state (err -2)
[    3.207857] i915: Unknown symbol cec_fill_conn_info_from_drm (err -2)
[    3.207868] i915: Unknown symbol cec_notifier_set_phys_addr_from_edid (err -2)
[    3.207892] i915: Unknown symbol drm_dp_downstream_420_passthrough (err -2)
[    3.207986] i915: Unknown symbol drm_dp_cec_set_edid (err -2)
[    3.207991] i915: Unknown symbol cec_notifier_conn_unregister (err -2)
[    3.208000] i915: Unknown symbol drm_dp_phy_name (err -2)
[    3.208028] i915: Unknown symbol drm_dp_cec_irq (err -2)
[    3.208033] i915: Unknown symbol drm_dp_calc_pbn_mode (err -2)
[    3.208045] i915: Unknown symbol drm_buddy_print (err -2)
[    3.208047] i915: Unknown symbol drm_dp_aux_init (err -2)
[    3.208084] i915: Unknown symbol drm_dp_check_act_status (err -2)
[    3.208115] i915: Unknown symbol drm_dp_get_pcon_max_frl_bw (err -2)
[    3.208119] i915: Unknown symbol drm_dp_mst_connector_early_unregister (err -2)
[    3.208142] i915: Unknown symbol drm_atomic_get_old_mst_topology_state (err -2)
[    3.208162] i915: Unknown symbol drm_dp_downstream_mode (err -2)
[    3.208185] i915: Unknown symbol drm_dp_read_lttpr_phy_caps (err -2)
[    3.208205] i915: Unknown symbol drm_edp_backlight_init (err -2)
[    3.208210] i915: Unknown symbol drm_scdc_read (err -2)
[    3.208212] i915: Unknown symbol drm_lspcon_get_mode (err -2)
[    3.208222] i915: Unknown symbol drm_dp_link_rate_to_bw_code (err -2)
[    3.208226] i915: Unknown symbol drm_dp_lttpr_voltage_swing_level_3_supported (err -2)
[    3.208237] i915: Unknown symbol drm_dp_aux_register (err -2)
[    3.208260] i915: Unknown symbol drm_scdc_set_scrambling (err -2)
[    3.208270] i915: Unknown symbol drm_dsc_pps_payload_pack (err -2)
[    3.208272] i915: Unknown symbol drm_edp_backlight_enable (err -2)
[    3.208299] i915: Unknown symbol drm_scdc_set_high_tmds_clock_ratio (err -2)
[    3.208315] i915: Unknown symbol drm_dp_dpcd_read_link_status (err -2)
[    3.208336] i915: Unknown symbol drm_dp_128b132b_cds_interlane_align_done (err -2)
[    3.208359] i915: Unknown symbol drm_dp_128b132b_lane_symbol_locked (err -2)
[    3.208424] i915: Unknown symbol drm_dp_get_vc_payload_bw (err -2)
[    3.208434] i915: Unknown symbol drm_dp_read_desc (err -2)
[    3.208442] i915: Unknown symbol drm_dp_dual_mode_detect (err -2)
[    3.208468] i915: Unknown symbol drm_dp_mst_hpd_irq_handle_event (err -2)
[    3.208488] i915: Unknown symbol drm_dp_pcon_hdmi_link_active (err -2)
[    3.208504] i915: Unknown symbol drm_dp_mst_dump_topology (err -2)
[    3.208556] i915: Unknown symbol drm_dp_dual_mode_max_tmds_clock (err -2)
[    3.208580] i915: Unknown symbol drm_dp_pcon_is_frl_ready (err -2)
[    3.208704] i915: Unknown symbol drm_dp_pcon_dsc_bpp_incr (err -2)
[    3.208731] i915: Unknown symbol drm_dp_downstream_max_bpc (err -2)
[    3.208798] i915: Unknown symbol drm_dp_pcon_frl_configure_1 (err -2)
[    3.208807] i915: Unknown symbol drm_dp_mst_atomic_check (err -2)
[    3.208864] i915: Unknown symbol drm_dp_dpcd_probe (err -2)
[    3.208872] i915: Unknown symbol drm_dp_lttpr_max_link_rate (err -2)
[    3.208955] i915: Unknown symbol drm_hdcp_update_content_protection (err -2)
[    3.208957] i915: Unknown symbol drm_hdmi_infoframe_set_hdr_metadata (err -2)
[    3.208991] i915: Unknown symbol drm_dp_cec_register_connector (err -2)
[    3.209130] i915: Unknown symbol drm_dp_mst_topology_mgr_destroy (err -2)
[    3.209138] i915: Unknown symbol drm_dp_mst_atomic_setup_commit (err -2)
[    3.209153] i915: Unknown symbol drm_dp_read_downstream_info (err -2)
[    3.209162] i915: Unknown symbol drm_dp_pcon_hdmi_link_mode (err -2)
[    3.209163] i915: Unknown symbol drm_dsc_dp_rc_buffer_size (err -2)
[    3.209172] i915: Unknown symbol drm_dp_get_dual_mode_type_name (err -2)
[    3.209193] i915: Unknown symbol drm_buddy_block_trim (err -2)
[    3.209195] i915: Unknown symbol drm_connector_attach_content_protection_property (err -2)
[    3.209206] i915: Unknown symbol drm_dp_mst_get_port_malloc (err -2)
[    3.209216] i915: Unknown symbol drm_dp_dual_mode_set_tmds_output (err -2)
[    3.209337] i915: Unknown symbol drm_dp_mst_get_edid (err -2)
[    3.209342] i915: Unknown symbol drm_dp_dsc_sink_max_slice_count (err -2)
[    3.209358] i915: Unknown symbol drm_dp_get_adjust_request_pre_emphasis (err -2)
[    3.209378] i915: Unknown symbol drm_dp_set_subconnector_property (err -2)
[    3.209431] i915: Unknown symbol drm_dp_read_sink_count (err -2)
[    3.209544] i915: Unknown symbol drm_dp_send_power_updown_phy (err -2)
[    3.209555] i915: Unknown symbol drm_dp_mst_root_conn_atomic_check (err -2)
[    3.209597] i915: Unknown symbol drm_dp_add_payload_part1 (err -2)
[    3.209624] i915: Unknown symbol drm_dp_mst_topology_mgr_resume (err -2)
[    3.209632] i915: Unknown symbol drm_dp_downstream_debug (err -2)
[    3.209728] i915: Unknown symbol drm_edp_backlight_set_level (err -2)
[    3.209730] i915: Unknown symbol drm_dp_set_phy_test_pattern (err -2)
[    3.209801] i915: Unknown symbol drm_dsc_dp_pps_header_init (err -2)
[    3.209873] i915: Unknown symbol drm_dp_read_clock_recovery_delay (err -2)

EDIT:

apt install linux-modules-extra-6.8.0-41-generic fixes the errors but I'm still unable to use the i915 driver. This is proably related to Meteor Lake-P [Intel Arc Graphics].

celesrenata commented 2 months ago

I also have this problem with ubuntu 24.04, I step around it with the following in a script. I borrow this kernel module for NixOS for SR-IOV for Kubernetes, works great!

sudo apt install -y linux-headers-6.8.0-41-generic linux-headers-6.8.0-41 linux-image-6.8.0-41-generic linux-modules-6.8.0-41-generic linux-tools-6.8.0-41-generic linux-modules-extra-6.8.0-41-generic 
sudo apt-mark hold linux-headers-6.8.0-41-generic linux-headers-6.8.0-41 linux-image-6.8.0-41-generic linux-modules-6.8.0-41-generic linux-tools-6.8.0-41-generic linux-modules-extra-6.8.0-41-generic 
sudo mv /usr/bin/linux-check-removal /usr/bin/linux-check-removal.orig
echo -e '#!/bin/sh\necho "Overriding default linux-check-removal script!"\nexit 0' | sudo tee /usr/bin/linux-check-removal
sudo chmod +x /usr/bin/linux-check-removal
sudo apt remove -y linux-headers-\$(uname -r) linux-image-\$(uname -r) linux-modules-\$(uname -r) linux-tools-\$(uname -r) linux-modules-extra-\$(uname -r)
echo "options i915 force_probe=7d55 enable_guc=3" | sudo tee -a /etc/modprobe.d/i915.conf
sudo mkdir -p /lib/firmware/i915
sudo wget https://github.com/intel-gpu/intel-gpu-firmware/raw/main/firmware/mtl_gsc_102.0.0.1511.bin -O /lib/firmware/i915/mtl_gsc_102.0.0.1511.bin
sudo wget https://github.com/intel-gpu/intel-gpu-firmware/raw/main/firmware/mtl_guc_70.6.4.bin -O /lib/firmware/i915/mtl_guc_70.6.4.bin
sudo wget https://github.com/intel-gpu/intel-gpu-firmware/raw/main/firmware/mtl_huc_8.4.3_gsc.bin -O /lib/firmware/i915/mtl_huc_8.4.3_gsc.bin
sudo shutdown -r now &
git clone https://github.com/strongtz/i915-sriov-dkms
sudo apt install build-* dkms -y
cd i915-sriov-dkms && sudo dkms add .
cd i915-sriov-dkms && sudo dkms install -m i915-sriov-dkms -v $(cat VERSION) --force
sudo update-initramfs -u
sudo shutdown -r now &
bbaa-bbaa commented 1 month ago

Try PR #207 based on the 6.6 branch.

Donimax commented 1 month ago

Try PR #207 based on the 6.6 branch.

Thx works I tried your branch on a fresh Ubuntu 24.04.1 LTS 6.8.0-45-generic.

root@ubuntu-intel:~# lspci -vs 07:00.0
07:00.0 Display controller: Intel Corporation AlderLake-S GT1 (rev 0c)
        Subsystem: ASRock Incorporation AlderLake-S GT1
        Physical Slot: 0-6
        Flags: bus master, fast devsel, latency 0, IRQ 54
        Memory at 80000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 382800000000 (64-bit, prefetchable) [size=512M]
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
        Kernel driver in use: i915
        Kernel modules: xe, i915

root@ubuntu-intel:~# dmesg | grep i915
[    5.161475] i915: loading out-of-tree module taints kernel.
[    5.161504] i915: module verification failed: signature and/or required key missing - tainting kernel
[    7.216041] i915 0000:07:00.0: Running in SR-IOV VF mode
[    7.216539] i915 0000:07:00.0: [drm] GT0: GUC: interface version 0.1.4.1
[    7.216880] i915 0000:07:00.0: [drm] VT-d active for gfx access
[    7.216909] i915 0000:07:00.0: [drm] Using Transparent Hugepages
[    7.217771] i915 0000:07:00.0: [drm] GT0: GUC: interface version 0.1.4.1
[    7.218243] i915 0000:07:00.0: [drm] GT0: GUC: interface version 0.1.4.1
[    7.218568] i915 0000:07:00.0: GuC firmware PRELOADED version 0.0 submission:SR-IOV VF
[    7.218570] i915 0000:07:00.0: HuC firmware PRELOADED
[    7.220559] i915 0000:07:00.0: [drm] Protected Xe Path (PXP) protected content support initialized
[    7.220565] i915 0000:07:00.0: [drm] PMU not supported for this GPU.
[    7.220667] [drm] Initialized i915 1.6.0 20201103 for 0000:07:00.0 on minor 0

root@ubuntu-intel:~# ls -lisa /dev/dri/render*
728 0 crw-rw----+ 1 root render 226, 128 Oct  9 09:21 /dev/dri/renderD128

root@ubuntu-intel:~# vainfo
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.18.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.1.0 ()
vainfo: Supported profile and entrypoints
yduanBioinfo commented 4 weeks ago

I also have this problem with ubuntu 24.04, I step around it with the following in a script. I borrow this kernel module for NixOS for SR-IOV for Kubernetes, works great!

sudo apt install -y linux-headers-6.8.0-41-generic linux-headers-6.8.0-41 linux-image-6.8.0-41-generic linux-modules-6.8.0-41-generic linux-tools-6.8.0-41-generic linux-modules-extra-6.8.0-41-generic 
sudo apt-mark hold linux-headers-6.8.0-41-generic linux-headers-6.8.0-41 linux-image-6.8.0-41-generic linux-modules-6.8.0-41-generic linux-tools-6.8.0-41-generic linux-modules-extra-6.8.0-41-generic 
sudo mv /usr/bin/linux-check-removal /usr/bin/linux-check-removal.orig
echo -e '#!/bin/sh\necho "Overriding default linux-check-removal script!"\nexit 0' | sudo tee /usr/bin/linux-check-removal
sudo chmod +x /usr/bin/linux-check-removal
sudo apt remove -y linux-headers-\$(uname -r) linux-image-\$(uname -r) linux-modules-\$(uname -r) linux-tools-\$(uname -r) linux-modules-extra-\$(uname -r)
echo "options i915 force_probe=7d55 enable_guc=3" | sudo tee -a /etc/modprobe.d/i915.conf
sudo mkdir -p /lib/firmware/i915
sudo wget https://github.com/intel-gpu/intel-gpu-firmware/raw/main/firmware/mtl_gsc_102.0.0.1511.bin -O /lib/firmware/i915/mtl_gsc_102.0.0.1511.bin
sudo wget https://github.com/intel-gpu/intel-gpu-firmware/raw/main/firmware/mtl_guc_70.6.4.bin -O /lib/firmware/i915/mtl_guc_70.6.4.bin
sudo wget https://github.com/intel-gpu/intel-gpu-firmware/raw/main/firmware/mtl_huc_8.4.3_gsc.bin -O /lib/firmware/i915/mtl_huc_8.4.3_gsc.bin
sudo shutdown -r now &
git clone https://github.com/strongtz/i915-sriov-dkms
sudo apt install build-* dkms -y
cd i915-sriov-dkms && sudo dkms add .
cd i915-sriov-dkms && sudo dkms install -m i915-sriov-dkms -v $(cat VERSION) --force
sudo update-initramfs -u
sudo shutdown -r now &

Thanks! It works.