Public bug reported:
Bad return status for module build on kernel: 6.19.0-3-generic (x86_64)
- my system upgraded to kernel 6.19.0-3-generic but nvidia dkms was
unable to build against this kernel (no problem occurred with
6.18.0-9-generic, which I am running at present).
Kubuntu 26.04 dev
ProblemType: Package
DKMSBuildLog:
DKMS (dkms-3.2.0) make.log for nvidia/580.126.09 for kernel 6.19.0-3-generic
(x86_64)
What I exoected to happen is the nvidia dkms making required modules,
with a reboot resulting in my running the new kernel 6.19 :
From the crash report:-
dpkg: dependency problems prevent configuration of nvidia-driver-580:
nvidia-driver-580 depends on nvidia-dkms-580 (<= 580.126.09-1); however:
Package nvidia-dkms-580 is not configured yet.
nvidia-driver-580 depends on nvidia-dkms-580 (>= 580.126.09); however:
Package nvidia-dkms-580 is not configured yet.
... and at the end of the crash report:
make[4]: ***
[/usr/src/linux-headers-6.19.0-3-generic/scripts/Makefile.build:503: nvidia.o]
Error 1
make[4]: *** Deleting file 'nvidia.o'
make[3]: *** [/usr/src/linux-headers-6.19.0-3-generic/Makefile:2059: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.19.0-3-generic/Makefile:248:
__sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/nvidia/580.126.09/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.19.0-3-generic'
make: *** [Makefile:138: modules] Error 2
# exit code: 2
# elapsed time: 00:00:57
----------------------------------------------------------------
DKMSKernelVersion: 6.19.0-3-generic
Date: Sun Feb 8 10:58:47 2026
DuplicateSignature: dkms:nvidia-dkms-580:580.126.09-0ubuntu3:nvidia-modeset.o:
error: objtool: _nv000742kms+0x46: 'naked' return found in MITIGATION_RETHUNK
build
Package: nvidia-dkms-580 580.126.09-0ubuntu3
PackageVersion: 580.126.09-0ubuntu3
SourcePackage: nvidia-graphics-drivers-580
Title: nvidia-dkms-580 580.126.09-0ubuntu3: nvidia kernel module failed to build
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: nvidia-dkms-580 580.126.09-0ubuntu3
ProcVersionSignature: Ubuntu 6.18.0-9.9-generic 6.18.5
Uname: Linux 6.18.0-9-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Mon Feb 9 13:50:03 2026
InstallationDate: Installed on 2026-01-30 (10 days ago)
InstallationMedia: Kubuntu 26.04 LTS "Resolute Raccoon" - Daily amd64 (20260128)
SourcePackage: nvidia-graphics-drivers-580
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: nvidia-graphics-drivers-580 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
** Attachment added: "make.log"
https://bugs.launchpad.net/bugs/2141316/+attachment/5944364/+files/make.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2141316
Title:
Bad return status for module build on kernel: 6.19.0-3-generic
(x86_64)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-580/+bug/2141316/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs