Public bug reported:

Had ubuntu desktop version 24.10. Updated with do-release-upgrade (after
sudo apt update/upgrade) and the kernel modules failed to compile
properly. Maybe it was just one step of the process, would need to take
a deeper look at the logs. It was  "Bad return status for module build",
or something like that, on version 560.35.05.

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System
-> About Ubuntu

pag@recife:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 25.04
Release:        25.04
Codename:       plucky

2) The version of the package you are using, via 'apt-cache policy
pkgname' or by checking in Software Center

Started with ubuntu desktop 24.10 and ended with 25.04.

3) What you expected to happen

Expected a clean upgrade process. Disks had enough space, OS was
updated/upgraded... and so on and so forth.

4) What happened instead

The upgrade finished, with an error message during the process, but
stating it completed successfully. Asked to restart, I did it and the
machine booted without any further issue. Complained about unnecessary
packeges, suggested to autoremove it and I did it. Here is the log.

pag@recife:~$ sudo apt upgrade 
Os seguintes pacotes foram automaticamente instalados e não são mais requeridos:
  libdecaf0                  nvidia-dkms-560
  libnvidia-cfg1-560         nvidia-driver-560
  libnvidia-common-560       nvidia-firmware-560-560.35.05
  libnvidia-encode-560       nvidia-kernel-common-560
  libnvidia-encode-560:i386  nvidia-kernel-source-560
  libnvidia-extra-560        nvidia-modprobe
  libnvidia-fbc1-560         nvidia-prime
  libnvidia-fbc1-560:i386    nvidia-settings
  libnvidia-gl-560           nvidia-utils-560
  libnvidia-gl-560:i386      screen-resolution-extra
  nvidia-compute-utils-560   xserver-xorg-video-nvidia-560
Use 'sudo apt autoremove' para removê-los.

Resumo:
  Atualizando: 0, Instalando: 0, Removendo: 0, Não atualizando: 0
pag@recife:~$ sudo apt autoremove 
REMOVENDO:                                  
  libdecaf0                  nvidia-dkms-560
  libnvidia-cfg1-560         nvidia-driver-560
  libnvidia-common-560       nvidia-firmware-560-560.35.05
  libnvidia-encode-560       nvidia-kernel-common-560
  libnvidia-encode-560:i386  nvidia-kernel-source-560
  libnvidia-extra-560        nvidia-modprobe
  libnvidia-fbc1-560         nvidia-prime
  libnvidia-fbc1-560:i386    nvidia-settings
  libnvidia-gl-560           nvidia-utils-560
  libnvidia-gl-560:i386      screen-resolution-extra
  nvidia-compute-utils-560   xserver-xorg-video-nvidia-560

Resumo:
  Atualizando: 0, Instalando: 0, Removendo: 22, Não atualizando: 0
  Espaço liberado: 634 MB

Continuar? [S/n] 
(Lendo banco de dados ... 547340 arquivos e diretórios atualmente instalados).
Removendo libdecaf0:amd64 (1.0.2-2build1) ...
Removendo nvidia-driver-560 (560.35.05-0ubuntu1) ...
Removendo xserver-xorg-video-nvidia-560 (560.35.05-0ubuntu1) ...
Removendo libnvidia-cfg1-560:amd64 (560.35.05-0ubuntu1) ...
Removendo libnvidia-gl-560:amd64 (560.35.05-0ubuntu1) ...
Removendo libnvidia-gl-560:i386 (560.35.05-0ubuntu1) ...
Removendo libnvidia-common-560 (560.35.05-0ubuntu1) ...
Removendo libnvidia-encode-560:amd64 (560.35.05-0ubuntu1) ...
Removendo libnvidia-encode-560:i386 (560.35.05-0ubuntu1) ...
Removendo libnvidia-extra-560:amd64 (560.35.05-0ubuntu1) ...
Removendo libnvidia-fbc1-560:amd64 (560.35.05-0ubuntu1) ...
Removendo libnvidia-fbc1-560:i386 (560.35.05-0ubuntu1) ...
Removendo nvidia-compute-utils-560 (560.35.05-0ubuntu1) ...
Removendo nvidia-dkms-560 (560.35.05-0ubuntu1) ...
Removing all DKMS Modules
Done.
INFO:Disable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
update-initramfs: deferring update (trigger activated)
Removendo nvidia-kernel-common-560 (560.35.05-0ubuntu1) ...
update-initramfs: deferring update (trigger activated)
Removendo nvidia-firmware-560-560.35.05 (560.35.05-0ubuntu1) ...
Removendo nvidia-kernel-source-560 (560.35.05-0ubuntu1) ...
Removendo nvidia-modprobe (575.51.03-0ubuntu1) ...
Removendo nvidia-prime (0.8.17.2) ...
Removendo nvidia-settings (575.51.03-0ubuntu1) ...
Removendo nvidia-utils-560 (560.35.05-0ubuntu1) ...
Removendo screen-resolution-extra (0.18.3build1) ...
Processando gatilhos para initramfs-tools (0.147ubuntu1) ...
update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic
Processando gatilhos para gnome-menus (3.36.0-1.1ubuntu3) ...
Processando gatilhos para libc-bin (2.41-6ubuntu1) ...
Processando gatilhos para man-db (2.13.0-1) ...
Processando gatilhos para mailcap (3.74ubuntu1) ...
Processando gatilhos para desktop-file-utils (0.28-1) ...
pag@recife:~$

ProblemType: Package
DistroRelease: Ubuntu 25.04
Package: nvidia-kernel-source-560 (not installed)
ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
Uname: Linux 6.14.0-15-generic x86_64
ApportVersion: 2.32.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
DKMSKernelVersion: 6.14.0-15-generic
Date: Sun May 25 16:40:30 2025
DuplicateSignature: 
dkms:nvidia-kernel-source-560:560.35.05-0ubuntu1:nvidia-drm/nvidia-drm-drv.c:207:6:
 error: ‘const struct drm_mode_config_funcs’ has no member named 
‘output_poll_changed’
InstallationDate: Installed on 2022-09-13 (986 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
PackageVersion: 560.35.05-0ubuntu1
Python3Details: /usr/bin/python3.13, Python 3.13.3, python3-minimal, 3.13.3-1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.22.18ubuntu2
 apt  3.0.0
SourcePackage: nvidia-graphics-drivers-560
Title: nvidia-kernel-source-560 560.35.05-0ubuntu1: nvidia kernel module failed 
to build
UpgradeStatus: Upgraded to plucky on 2025-05-25 (0 days ago)

** Affects: nvidia-graphics-drivers-560 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package plucky

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-560 in Ubuntu.
https://bugs.launchpad.net/bugs/2111677

Title:
  nvidia-kernel-source-560 560.35.05-0ubuntu1: nvidia kernel module
  failed to build

Status in nvidia-graphics-drivers-560 package in Ubuntu:
  New

Bug description:
  Had ubuntu desktop version 24.10. Updated with do-release-upgrade
  (after sudo apt update/upgrade) and the kernel modules failed to
  compile properly. Maybe it was just one step of the process, would
  need to take a deeper look at the logs. It was  "Bad return status for
  module build", or something like that, on version 560.35.05.

  1) The release of Ubuntu you are using, via 'lsb_release -rd' or
  System -> About Ubuntu

  pag@recife:~$ lsb_release -a
  No LSB modules are available.
  Distributor ID:       Ubuntu
  Description:  Ubuntu 25.04
  Release:      25.04
  Codename:     plucky

  2) The version of the package you are using, via 'apt-cache policy
  pkgname' or by checking in Software Center

  Started with ubuntu desktop 24.10 and ended with 25.04.

  3) What you expected to happen

  Expected a clean upgrade process. Disks had enough space, OS was
  updated/upgraded... and so on and so forth.

  4) What happened instead

  The upgrade finished, with an error message during the process, but
  stating it completed successfully. Asked to restart, I did it and the
  machine booted without any further issue. Complained about unnecessary
  packeges, suggested to autoremove it and I did it. Here is the log.

  pag@recife:~$ sudo apt upgrade 
  Os seguintes pacotes foram automaticamente instalados e não são mais 
requeridos:
    libdecaf0                  nvidia-dkms-560
    libnvidia-cfg1-560         nvidia-driver-560
    libnvidia-common-560       nvidia-firmware-560-560.35.05
    libnvidia-encode-560       nvidia-kernel-common-560
    libnvidia-encode-560:i386  nvidia-kernel-source-560
    libnvidia-extra-560        nvidia-modprobe
    libnvidia-fbc1-560         nvidia-prime
    libnvidia-fbc1-560:i386    nvidia-settings
    libnvidia-gl-560           nvidia-utils-560
    libnvidia-gl-560:i386      screen-resolution-extra
    nvidia-compute-utils-560   xserver-xorg-video-nvidia-560
  Use 'sudo apt autoremove' para removê-los.

  Resumo:
    Atualizando: 0, Instalando: 0, Removendo: 0, Não atualizando: 0
  pag@recife:~$ sudo apt autoremove 
  REMOVENDO:                                  
    libdecaf0                  nvidia-dkms-560
    libnvidia-cfg1-560         nvidia-driver-560
    libnvidia-common-560       nvidia-firmware-560-560.35.05
    libnvidia-encode-560       nvidia-kernel-common-560
    libnvidia-encode-560:i386  nvidia-kernel-source-560
    libnvidia-extra-560        nvidia-modprobe
    libnvidia-fbc1-560         nvidia-prime
    libnvidia-fbc1-560:i386    nvidia-settings
    libnvidia-gl-560           nvidia-utils-560
    libnvidia-gl-560:i386      screen-resolution-extra
    nvidia-compute-utils-560   xserver-xorg-video-nvidia-560

  Resumo:
    Atualizando: 0, Instalando: 0, Removendo: 22, Não atualizando: 0
    Espaço liberado: 634 MB

  Continuar? [S/n] 
  (Lendo banco de dados ... 547340 arquivos e diretórios atualmente instalados).
  Removendo libdecaf0:amd64 (1.0.2-2build1) ...
  Removendo nvidia-driver-560 (560.35.05-0ubuntu1) ...
  Removendo xserver-xorg-video-nvidia-560 (560.35.05-0ubuntu1) ...
  Removendo libnvidia-cfg1-560:amd64 (560.35.05-0ubuntu1) ...
  Removendo libnvidia-gl-560:amd64 (560.35.05-0ubuntu1) ...
  Removendo libnvidia-gl-560:i386 (560.35.05-0ubuntu1) ...
  Removendo libnvidia-common-560 (560.35.05-0ubuntu1) ...
  Removendo libnvidia-encode-560:amd64 (560.35.05-0ubuntu1) ...
  Removendo libnvidia-encode-560:i386 (560.35.05-0ubuntu1) ...
  Removendo libnvidia-extra-560:amd64 (560.35.05-0ubuntu1) ...
  Removendo libnvidia-fbc1-560:amd64 (560.35.05-0ubuntu1) ...
  Removendo libnvidia-fbc1-560:i386 (560.35.05-0ubuntu1) ...
  Removendo nvidia-compute-utils-560 (560.35.05-0ubuntu1) ...
  Removendo nvidia-dkms-560 (560.35.05-0ubuntu1) ...
  Removing all DKMS Modules
  Done.
  INFO:Disable nvidia
  DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
  DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
  DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
  update-initramfs: deferring update (trigger activated)
  Removendo nvidia-kernel-common-560 (560.35.05-0ubuntu1) ...
  update-initramfs: deferring update (trigger activated)
  Removendo nvidia-firmware-560-560.35.05 (560.35.05-0ubuntu1) ...
  Removendo nvidia-kernel-source-560 (560.35.05-0ubuntu1) ...
  Removendo nvidia-modprobe (575.51.03-0ubuntu1) ...
  Removendo nvidia-prime (0.8.17.2) ...
  Removendo nvidia-settings (575.51.03-0ubuntu1) ...
  Removendo nvidia-utils-560 (560.35.05-0ubuntu1) ...
  Removendo screen-resolution-extra (0.18.3build1) ...
  Processando gatilhos para initramfs-tools (0.147ubuntu1) ...
  update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic
  Processando gatilhos para gnome-menus (3.36.0-1.1ubuntu3) ...
  Processando gatilhos para libc-bin (2.41-6ubuntu1) ...
  Processando gatilhos para man-db (2.13.0-1) ...
  Processando gatilhos para mailcap (3.74ubuntu1) ...
  Processando gatilhos para desktop-file-utils (0.28-1) ...
  pag@recife:~$

  ProblemType: Package
  DistroRelease: Ubuntu 25.04
  Package: nvidia-kernel-source-560 (not installed)
  ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
  Uname: Linux 6.14.0-15-generic x86_64
  ApportVersion: 2.32.0-0ubuntu5
  Architecture: amd64
  CasperMD5CheckResult: pass
  DKMSKernelVersion: 6.14.0-15-generic
  Date: Sun May 25 16:40:30 2025
  DuplicateSignature: 
dkms:nvidia-kernel-source-560:560.35.05-0ubuntu1:nvidia-drm/nvidia-drm-drv.c:207:6:
 error: ‘const struct drm_mode_config_funcs’ has no member named 
‘output_poll_changed’
  InstallationDate: Installed on 2022-09-13 (986 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  PackageVersion: 560.35.05-0ubuntu1
  Python3Details: /usr/bin/python3.13, Python 3.13.3, python3-minimal, 3.13.3-1
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.22.18ubuntu2
   apt  3.0.0
  SourcePackage: nvidia-graphics-drivers-560
  Title: nvidia-kernel-source-560 560.35.05-0ubuntu1: nvidia kernel module 
failed to build
  UpgradeStatus: Upgraded to plucky on 2025-05-25 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-560/+bug/2111677/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to