Package: linux-headers-6.19.6+deb14-amd64
Version: 6.19.6-1

I did a normal upgrade of my SID system through synaptic and the upgrade
from kernel 6.18.5+deb14-amd64 to 6.19.6+deb14-amd64 failed while
installing the nvidia kernel module (550.163.01-4).  The nvidia version did
not change in the upgrade and was successfully configured in multiple
previous kernel version so I don't see it as an nvidia problem, though I am
not the expert here.  The first failure was at configuring the headers so
that is the package I sending this bug as.  Booting to the old 6.18 kernel
works fine and the rest of the system seems to be fine but a normal boot
into 6.19 now gives me a kernel panic.  If try to run a configure from the
command line the results are always the same (as below). I have not tried
uninstalling the nvidia driver since I use it all the time and it is
working in the older kernel.


The command line results were as follows.
Setting up linux-headers-6.19.6+deb14-amd64 (6.19.6-1) ...
/etc/kernel/header_postinst.d/dkms:
Sign command: /lib/modules/6.19.6+deb14-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Autoinstall of module nvidia-current/550.163.01 for kernel
6.19.6+deb14-amd64 (x86_64)
Building module(s)..........(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j8 modules KERNEL_UNAME=6.19.6+deb14-amd64

Error! Bad return status for module build on kernel: 6.19.6+deb14-amd64
(x86_64)
Consult /var/lib/dkms/nvidia-current/550.163.01/build/make.log for more
information.

Autoinstall on 6.19.6+deb14-amd64 failed for module(s) nvidia-current(10).

Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 1
dpkg: error processing package linux-headers-6.19.6+deb14-amd64
(--configure):
 old linux-headers-6.19.6+deb14-amd64 package postinst maintainer script
subprocess failed with exit status 1
Setting up linux-image-6.19.6+deb14-amd64 (6.19.6-1) ...
/etc/kernel/postinst.d/dkms:
Sign command: /lib/modules/6.19.6+deb14-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Autoinstall of module nvidia-current/550.163.01 for kernel
6.19.6+deb14-amd64 (x86_64)
Building module(s)..........(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j8 modules KERNEL_UNAME=6.19.6+deb14-amd64

Error! Bad return status for module build on kernel: 6.19.6+deb14-amd64
(x86_64)
Consult /var/lib/dkms/nvidia-current/550.163.01/build/make.log for more
information.

Autoinstall on 6.19.6+deb14-amd64 failed for module(s) nvidia-current(10).

Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
dpkg: error processing package linux-image-6.19.6+deb14-amd64 (--configure):
 old linux-image-6.19.6+deb14-amd64 package postinst maintainer script
subprocess failed with exit status 1
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-6.19.6+deb14-amd64 (=
6.19.6-1); however:
  Package linux-headers-6.19.6+deb14-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.19.6+deb14-amd64 (= 6.19.6-1);
however:
  Package linux-image-6.19.6+deb14-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-headers-6.19.6+deb14-amd64
 linux-image-6.19.6+deb14-amd64
 linux-headers-amd64
 linux-image-amd64
Error: Sub-process /usr/bin/dpkg returned an error code (1)


Errors in the make.log start with the following lines:

In file included from <command-line>:
././common/inc/nv-mm.h: In function ‘nv_vm_flags_set’:
././common/inc/nv-mm.h:315:25: error: ‘struct vm_area_struct’ has no member
named ‘__vm_flags’; did you mean ‘vm_flags’?
  315 |     ACCESS_PRIVATE(vma, __vm_flags) |= flags;
      |                         ^~~~~~~~~~
/usr/src/linux-headers-6.19.6+deb14-common/include/linux/compiler_types.h:95:42:
note: in definition of macro ‘ACCESS_PRIVATE’
   95 | # define ACCESS_PRIVATE(p, member) ((p)->member)
      |                                          ^~~~~~
././common/inc/nv-mm.h: In function ‘nv_vm_flags_clear’:
././common/inc/nv-mm.h:327:25: error: ‘struct vm_area_struct’ has no member
named ‘__vm_flags’; did you mean ‘vm_flags’?
  327 |     ACCESS_PRIVATE(vma, __vm_flags) &= ~flags;
      |                         ^~~~~~~~~~
/usr/src/linux-headers-6.19.6+deb14-common/include/linux/compiler_types.h:95:42:
note: in definition of macro ‘ACCESS_PRIVATE’
   95 | # define ACCESS_PRIVATE(p, member) ((p)->member)
      |                                          ^~~~~~

Reply via email to