nvidia-dkms-535 FTBS on noble with the latest 6.7 kernel on arm64

Bug #2049603 reported by Andrea Righi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-535 (Ubuntu)
Fix Released
Undecided
Unassigned
Noble
Fix Released
Undecided
Unassigned
nvidia-graphics-drivers-535-server (Ubuntu)
Fix Released
Undecided
Unassigned
Noble
Fix Released
Undecided
Unassigned
nvidia-graphics-drivers-545 (Ubuntu)
Triaged
Undecided
Unassigned
Noble
Triaged
Undecided
Unassigned

Bug Description

[Impact]

It looks like nvidia-dkms-535 is using a symbol that became GPL-only in the latest 6.7 kernel, causing the following build error:

# MODPOST <<DKMSDIR>>/build/nvidia/535.146.02/build/Module.symvers
   scripts/mod/modpost -M -m -a -o <<DKMSDIR>>/build/nvidia/535.146.02/build/Module.symvers -T <<DKMSDIR>>/build/nvidia/535.146.02/build/modules.order -i Module.symvers -e
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'screen_info'

This change was introduced by: b8466fe82b79 ("efi: move screen_info into efi init code")

This happens only on arm64, where the symbol is defined.

[Fix]

Avoid using screen_info in the nvidia-dkms-535 driver.

[Regression potential]

We may disable certain features in the 535 driver, or even have an unusable driver, unless a proper workaround/solution is provided.

Revision history for this message
Andrea Righi (arighi) wrote :

The same problem happens also with nvidia-dkms-545 (still on arm64 only).

Changed in nvidia-graphics-drivers-535 (Ubuntu Noble):
status: New → Fix Released
Changed in nvidia-graphics-drivers-535-server (Ubuntu Noble):
status: New → Fix Released
Changed in nvidia-graphics-drivers-545 (Ubuntu Noble):
status: New → Triaged
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.