Package: nvidia-kernel-dkms Version: 550.163.01-4 Followup-For: Bug
#1130057 Severity: important

Full Technical Report:

I am providing additional evidence and logs regarding the build failure of
the NVIDIA 550.163.01-4 driver on the current 6.19 kernel series in Debian
Testing and Sid. The issue persists even after upgrading to the latest
headers in Sid (6.19.6-2).

System Environment:

   -

   OS: Debian GNU/Linux Trixie (testing) / Sid
   -

   Kernel: 6.19.6+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.19.6-1
   -

   Kernel (Sid): 6.19.6+deb14+1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.19.6-2
   -

   Driver Version: 550.163.01-4 (nvidia-kernel-dkms and
   nvidia-open-kernel-dkms)
   -

   Compiler: gcc (Debian 14.2.0-16) 14.2.0

DKMS Build Failure Analysis:

The compilation fails early in the DKMS process. Below are the specific
errors extracted from make.log which highlight the breakage caused by Linux
6.19 API changes:

   1.

   Removal of __vm_flags in vm_area_struct: The kernel has finalized the
   transition to protected VMA flags. Direct access to __vm_flags or bitwise
   operations on it now results in compilation errors.

Error log: ././common/inc/nv-mm.h:315:25: error: 'struct vm_area_struct'
has no member named '__vm_flags'; did you mean 'vm_flags'?
././common/inc/nv-mm.h:327:25: error: 'struct vm_area_struct' has no member
named '__vm_flags'; did you mean 'vm_flags'?

   2.

   Deprecation of in_irq(): The legacy macro in_irq() has been removed in
   the 6.19 series.

Error log: ././common/inc/nv-time.h:145:9: error: implicit declaration of
function 'in_irq' [-Wimplicit-function-declaration]

   3.

   Changes in struct dma_map_ops: The map_resource member is no longer
   available in the DMA operations structure as defined in nvidia/nv-dma.c.

Error log: nvidia/nv-dma.c:799:16: error: 'const struct dma_map_ops' has no
member named 'map_resource'

Steps to Reproduce:

   1.

   Install linux-image-6.19.6-amd64 and linux-headers-6.19.6-amd64 from
   Testing or Sid.
   2.

   Attempt to install nvidia-kernel-dkms or nvidia-open-kernel-dkms.
   3.

   The installation fails during the DKMS trigger with exit status 10.

Conclusion and Impact: The current 550.163.01-4 source package is
incompatible with the default kernel provided in Testing/Sid. This leaves
users with no working NVIDIA driver unless they manually downgrade and pin
the kernel to the 6.18 series or apply manual patches to the source. It is
requested to backport compatibility patches or fast-track the transition to
newer driver branches (565.x/570.x).

Reply via email to