nvidia-graphics-drivers-390 fails to build with kernel 6.1 in lunar

Bug #2006695 reported by Andrea Righi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
Fix Released
High
Alberto Milone
Lunar
Fix Released
High
Alberto Milone

Bug Description

[Impact]

Trying to install nvidia-dkms-390 with linux 6.1 in lunar produces the following error:

  error: ‘struct acpi_device’ has no member named ‘children’

This is due to the kernel ABI changes in the ACPI layer (along with other dependencies on GPL-only symbols).

[Test case]

 $ sudo apt install nvidia-dkms-390

[Fix]

Support linux 6.1 ABI by disabling ACPI support with kernels >= 6.0, until nvidia releases a new driver with the proper support for 6.x kernels.

[Regression potential]

We may experience regressions (crashes, graphic issues or incorrect behaviors) with 6.1 kernels that are using nvidia-dkms-390.

Tags: patch
Andrea Righi (arighi)
no longer affects: nvidia-graphics-drivers-470 (Ubuntu)
no longer affects: nvidia-graphics-drivers-390 (Ubuntu Lunar)
Revision history for this message
Andrea Righi (arighi) wrote :

debdiff in attach disables ACPI support with kernel >= 6.0 and it allows to use this driver with the latest 6.1 kernel (this should be probably considered a temporary workaround, until nvidia provides an updated version of this driver with a proper fix).

description: updated
tags: added: patch
Timo Aaltonen (tjaalton)
Changed in nvidia-graphics-drivers-390 (Ubuntu Lunar):
assignee: nobody → Alberto Milone (albertomilone)
Changed in nvidia-graphics-drivers-390 (Ubuntu Lunar):
status: New → In Progress
importance: Undecided → High
Revision history for this message
Simon Chopin (schopin) wrote :

I'm seeing the exact same error on 450-server, 470-server, 510-server and 515-server in the glibc autopkgtests

https://autopkgtest.ubuntu.com/results/autopkgtest-lunar/lunar/amd64/n/nvidia-graphics-drivers-450-server/20230217_153300_3ba46@/log.gz

There's also other failures on 470, 510 and 515 that might or might not be related?

https://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#glibc

(you might have to scroll down a bit :) )

Revision history for this message
Alberto Milone (albertomilone) wrote :

@Simon, those were old releases failing. I have just uploaded the correct releases, so that they are in sync with the other Ubuntu releases.

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

This bug was fixed in the package nvidia-graphics-drivers-390 - 390.157-0ubuntu3

---------------
nvidia-graphics-drivers-390 (390.157-0ubuntu3) lunar; urgency=medium

  * debian/templates/control.in:
    - Drop armhf and i386, except for the i386 compatibility libraries.
      The driver is no longer supported by NVIDIA, and this should
      solve the kernel build failures (LP: #2006695).

 -- Alberto Milone <email address hidden> Mon, 20 Feb 2023 14:45:32 +0000

Changed in nvidia-graphics-drivers-390 (Ubuntu Lunar):
status: In Progress → Fix Released
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.