[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1055495: linux-image-6.5.0-0.deb12.1-amd64: nvidia dkms module fails to build with linux-image-6.5.0-0.deb12.1-amd64



Package: src:linux
Version: 6.5.3-1~bpo12+1
Severity: important
X-Debbugs-Cc: jsubei@yahoo.fr

Dear Maintainer,

   * What led up to the situation?

I try to install linux-image-6.5.0-0.deb12.1-amd64 from bookworm backports.

$ cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux bookworm-DI-alpha1 _Bookworm_ - Unofficial amd64
NETINST with firmware 20220920-12:26]/ bookworm contrib main non-free

# deb cdrom:[Debian GNU/Linux bookworm-DI-alpha1 _Bookworm_ - Unofficial amd64
NETINST with firmware 20220920-12:26]/ bookworm contrib main non-free

deb http://deb.debian.org/debian/ bookworm main non-free contrib non-free-
firmware
deb-src http://deb.debian.org/debian/ bookworm main non-free contrib non-free-
firmware

deb http://security.debian.org/debian-security bookworm-security main contrib
non-free non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main
contrib non-free non-free-firmware

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
deb http://deb.debian.org/debian/ bookworm-updates non-free main contrib non-
free-firmware
deb http://deb.debian.org/debian/ bookworm-proposed-updates non-free-firmware
main non-free contrib
deb http://deb.debian.org/debian/ bookworm-backports non-free-firmware main
non-free contrib

$ cat /etc/apt/preferences.d/99_bookworm-backports
Package: *
Pin: release n=bookworm-backports
Pin-Priority: 500


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

$ sudo apt upgrade

   * What was the outcome of this action?

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus
nécessaires :
  linux-headers-6.1.0-11-amd64 linux-headers-6.1.0-11-common linux-
image-6.1.0-11-amd64 linux-kbuild-6.1
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
4 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] O
Paramétrage de linux-headers-6.5.0-0.deb12.1-amd64 (6.5.3-1~bpo12+1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.5.0-0.deb12.1-amd64.
Sign command: /lib/modules/6.5.0-0.deb12.1-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j20 modules KERNEL_UNAME=6.5.0-0.deb12.1-amd64......(bad
exit status: 2)
Error! Bad return status for module build on kernel: 6.5.0-0.deb12.1-amd64
(x86_64)
Consult /var/lib/dkms/nvidia-current/525.125.06/build/make.log for more
information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.5.0-0.deb12.1-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-
headers-6.5.0-0.deb12.1-amd64.postinst line 11.
dpkg: erreur de traitement du paquet linux-headers-6.5.0-0.deb12.1-amd64
(--configure) :
 le sous-processus paquet linux-headers-6.5.0-0.deb12.1-amd64 script post-
installation installé a renvoyé un état de sortie d'erreur 1
Paramétrage de linux-image-6.5.0-0.deb12.1-amd64 (6.5.3-1~bpo12+1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.5.0-0.deb12.1-amd64.
Sign command: /lib/modules/6.5.0-0.deb12.1-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j20 modules KERNEL_UNAME=6.5.0-0.deb12.1-amd64......(bad
exit status: 2)
Error! Bad return status for module build on kernel: 6.5.0-0.deb12.1-amd64
(x86_64)
Consult /var/lib/dkms/nvidia-current/525.125.06/build/make.log for more
information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.5.0-0.deb12.1-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: erreur de traitement du paquet linux-image-6.5.0-0.deb12.1-amd64
(--configure) :
 le sous-processus paquet linux-image-6.5.0-0.deb12.1-amd64 script post-
installation installé a renvoyé un état de sortie d'erreur 1
dpkg: des problèmes de dépendances empêchent la configuration de linux-headers-
amd64 :
 linux-headers-amd64 dépend de linux-headers-6.5.0-0.deb12.1-amd64 (=
6.5.3-1~bpo12+1); cependant :
 Le paquet linux-headers-6.5.0-0.deb12.1-amd64 n'est pas encore configuré.

dpkg: erreur de traitement du paquet linux-headers-amd64 (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de linux-image-
amd64 :
 linux-image-amd64 dépend de linux-image-6.5.0-0.deb12.1-amd64 (=
6.5.3-1~bpo12+1); cependant :
 Le paquet linux-image-6.5.0-0.deb12.1-amd64 n'est pas encore configuré.

dpkg: erreur de traitement du paquet linux-image-amd64 (--configure) :
 problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
 linux-headers-6.5.0-0.deb12.1-amd64
 linux-image-6.5.0-0.deb12.1-amd64
 linux-headers-amd64
 linux-image-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)


$ cat /var/lib/dkms/nvidia-current/525.125.06/build/make.log | grep error:
/var/lib/dkms/nvidia-current/525.125.06/build/common/inc/nv-mm.h:88:16: error:
too many arguments to function ‘get_user_pages’
/var/lib/dkms/nvidia-current/525.125.06/build/common/inc/nv-mm.h:182:20: error:
too many arguments to function ‘get_user_pages’
/var/lib/dkms/nvidia-current/525.125.06/build/common/inc/nv-mm.h:44:31: error:
too many arguments to function ‘pin_user_pages’

   * What outcome did you expect instead?

The package is installed.


Similar problem here: https://bugs.launchpad.net/ubuntu/+source/nvidia-
graphics-drivers-525-server/+bug/2032796

Many thanks !


-- Package-specific info:
** Kernel log: boot messages should be attached


-- System Information:
Debian Release: 12.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-0.deb12.2-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_USER, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-6.5.0-0.deb12.1-amd64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.142
ii  kmod                                    30+20221128-1
ii  linux-base                              4.9

Versions of packages linux-image-6.5.0-0.deb12.1-amd64 recommends:
ii  apparmor             3.0.8-3
ii  firmware-linux-free  20200122-1

Versions of packages linux-image-6.5.0-0.deb12.1-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-efi-amd64          2.06-13+deb12u1
pn  linux-doc-6.5           <none>

Versions of packages linux-image-6.5.0-0.deb12.1-amd64 is related to:
ii  firmware-amd-graphics     20230210-5
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
ii  firmware-iwlwifi          20230210-5
pn  firmware-libertas         <none>
ii  firmware-linux-nonfree    20230210-5
ii  firmware-misc-nonfree     20230210-5
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
ii  firmware-realtek          20230210-5
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information

Reply to: