nvidia-dkms-450-server FTBS with linux 6.2

Bug #2009253 reported by Andrea Righi
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-450-server (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Lunar
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

nvidia-dkms-450-server fails to build with linux 6.2, reporting the following error:

/var/lib/dkms/nvidia-srv/450.216.04/build/nvidia/nv-acpi.c:84:19: error: initialization of ‘void (*)(struct acpi_device *)’ from incompatible pointer type ‘int (*)(struct acpi_device *, int)’ [-Werror=incompatible-pointer-types]
   84 | .remove = nv_acpi_remove_two_args,
      | ^~~~~~~~~~~~~~~~~~~~~~~

[Fix]

Change the driver to support also the 6.2 kernel ABI.

[Test case]

With linux 6.2 installed, run:

$ sudo apt install nvidia-dkms-450-server

[Regression potential]

We may experience regressions in newer kernels (>= 6.2) that are using nvidia-dkms-450-server (source code for previous kernels remain unchanged).

Andrea Righi (arighi)
no longer affects: nvidia-graphics-drivers-515 (Ubuntu)
Revision history for this message
Andrea Righi (arighi) wrote :

debdiff in attach allows to use nvidia-dkms-450-server with linux 6.2.

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-450-server - 450.216.04-0ubuntu2

---------------
nvidia-graphics-drivers-450-server (450.216.04-0ubuntu2) lunar; urgency=medium

  * debian/dkms_nvidia/patches/buildfix_kernel_6.2.patch,
    debian/templates/dkms_nvidia.conf.in,
    debian/dkms_nvidia.conf:
    - Add support for Linux 6.2 (LP: #2009253).

 -- Andrea Righi <email address hidden> Sat, 04 Mar 2023 09:43:52 +0000

Changed in nvidia-graphics-drivers-450-server (Ubuntu Lunar):
status: New → Fix Released
Revision history for this message
Andrea Righi (arighi) wrote :

debdiff to enable support for kernel 6.2 in jammy.

Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Andrea, or anyone else affected,

Accepted nvidia-graphics-drivers-450-server into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-450-server/450.236.01-0ubuntu0.22.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in nvidia-graphics-drivers-450-server (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-450-server - 450.248.02-0ubuntu0.22.04.1

---------------
nvidia-graphics-drivers-450-server (450.248.02-0ubuntu0.22.04.1) jammy; urgency=medium

  * New upstream release (LP: #2024675).

 -- Alberto Milone <email address hidden> Mon, 26 Jun 2023 14:46:57 +0000

Changed in nvidia-graphics-drivers-450-server (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Felix (felix314) wrote (last edit ):

Please include the fix also in nvidia-kernel-source-418-server (or nvidia-dkms-418-server), which is affected as well. See bug #2029490.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.