*** This bug is a duplicate of bug 2110338 ***
https://bugs.launchpad.net/bugs/2110338
You've filed this bug a few times now. The first two were marked as duplicates
of bug 2110338
That is your cue to read that bug report, including the potential workarounds,
and ask any follow-up questions there.
Again, see: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-
drivers-470/+bug/2110338
** This bug has been marked a duplicate of bug 2110338
Nvidia 470/470-server fails to build on kernel 6.14 HWE
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-470 in Ubuntu.
https://bugs.launchpad.net/bugs/2119996
Title:
nvidia-kernel-source-470 470.256.02-0ubuntu0.24.04.1: nvidia kernel
module failed to build
Status in nvidia-graphics-drivers-470 package in Ubuntu:
New
Bug description:
the weekly bug-fix update a few days ago managed to stop my secondary
display and lock my primary display at default resolution. I have
been trying ever since to fix this problem sespite being only a "user"
and so not understanding most of the references google has found.
I have a nVidia GT730 card on a Gigabyte B560M motherboard - hence restricted
to the nVidia old 470 driver.
don@Ponder:~$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 24.04.3 LTS
Release: 24.04
don@Ponder:~$ apt-cache policy linux-generic-hwe-24.04
linux-generic-hwe-24.04:
Installed: 6.14.0-27.27~24.04.1
Candidate: 6.14.0-27.27~24.04.1
Version table:
*** 6.14.0-27.27~24.04.1 500
500 http://au.archive.ubuntu.com/ubuntu noble-updates/main amd64
Packages
500 http://security.ubuntu.com/ubuntu noble-security/main amd64
Packages
100 /var/lib/dpkg/status
6.8.0-31.31 500
500 http://au.archive.ubuntu.com/ubuntu noble/main amd64 Packages
[code]
don@Ponder:~$ sudo apt-get install --install-recommends
linux-generic-hwe-24.04
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-generic-hwe-24.04 is already the newest version (6.14.0-27.27~24.04.1).
The following packages were automatically installed and are no longer
required:
apache2-bin apache2-data apache2-utils libaprutil1-dbd-sqlite3
libaprutil1-ldap libdrm-radeon1:i386 libgl1-amber-dri libglapi-mesa
libglapi-mesa:i386
libxcb-dri2-0:i386
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up nvidia-dkms-470 (470.256.02-0ubuntu0.24.04.1) ...
update-initramfs: deferring update (trigger activated)
update-initramfs: Generating /boot/initrd.img-6.11.0-29-generic
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Removing old nvidia-470.256.02 DKMS files...
Module nvidia-470.256.02 for kernel 6.11.0-29-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
nvidia.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.11.0-29-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-modeset.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.11.0-29-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-drm.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.11.0-29-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-uvm.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.11.0-29-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-peermem.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.11.0-29-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
Deleting module nvidia-470.256.02 completely from the DKMS tree.
Loading new nvidia-470.256.02 DKMS files...
Building for 6.11.0-29-generic 6.14.0-27-generic
Building for architecture x86_64
Building initial module for 6.11.0-29-generic
Done.
nvidia.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.11.0-29-generic/updates/dkms/
nvidia-modeset.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.11.0-29-generic/updates/dkms/
nvidia-drm.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.11.0-29-generic/updates/dkms/
nvidia-uvm.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.11.0-29-generic/updates/dkms/
nvidia-peermem.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.11.0-29-generic/updates/dkms/
depmod...
Building initial module for 6.14.0-27-generic
Error! Bad return status for module build on kernel: 6.14.0-27-generic
(x86_64)
Consult /var/lib/dkms/nvidia/470.256.02/build/make.log for more information.
dpkg: error processing package nvidia-dkms-470 (--configure):
installed nvidia-dkms-470 package post-installation script subprocess
returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver-470:
nvidia-driver-470 depends on nvidia-dkms-470 (<= 470.256.02-1); however:
Package nvidia-dkms-470 is not configured yet.
nvidia-driver-470 depends on nvidia-dkms-470 (>= 470.256.02); however:
Package nvidia-dkms-470 is not configured yet.
dpkg: error processing package nvidia-driver-470 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup
error from a previous failure.
Processing triggers for initramfs-tools
(0.142ubuntu25.5) ...
update-initramfs: Generating /boot/initrd.img-6.14.0-27-generic
Errors were encountered while processing:
nvidia-dkms-470
nvidia-driver-470
E: Sub-process /usr/bin/dpkg returned an error code (1)
don@Ponder:~$
[/code]
ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: nvidia-kernel-source-470 470.256.02-0ubuntu0.24.04.1
ProcVersionSignature: Ubuntu 6.11.0-29.29~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-29-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
DKMSKernelVersion: 6.14.0-27-generic
Date: Fri Aug 8 11:53:59 2025
Dependencies:
DuplicateSignature:
dkms:nvidia-kernel-source-470:470.256.02-0ubuntu0.24.04.1:nvidia/os-mlock.c:23:12:
error: implicit declaration of function ‘follow_pfn’; did you mean
‘folio_pfn’? [-Werror=implicit-function-declaration]
InstallationDate: Installed on 2024-06-02 (432 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
PackageVersion: 470.256.02-0ubuntu0.24.04.1
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal,
3.12.3-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.22.6ubuntu6.1
apt 2.8.3
SourcePackage: nvidia-graphics-drivers-470
Title: nvidia-kernel-source-470 470.256.02-0ubuntu0.24.04.1: nvidia kernel
module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/2119996/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp