Nvidia proprietary DKMS drivers cannot build in linux-kvm 5.8 and subsequent versions

Bug #1922800 reported by Guilherme G. Piccoli
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-kvm (Ubuntu)
Fix Released
Undecided
Guilherme G. Piccoli
Groovy
Fix Released
Undecided
Guilherme G. Piccoli
nvidia-graphics-drivers-460 (Ubuntu)
Confirmed
Undecided
Unassigned
Groovy
New
Undecided
Unassigned

Bug Description

After an ADT/DKMS modification (see https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1915051) binary DKMS packages without -dkms in the name started to get tested on ADT run. This exposed a problem in the Nvidia proprietary DKMS modules for linux-kvm build:

if we don't have CONFIG_X86_PAT set, the Nvidia drivers (all versions) set NV_ENABLE_BUILTIN_PAT_SUPPORT to 1 and attempt to build the file nvidia/nv-pat.c - two functions there make use of __flush_tlb() exported symbol.
But, after kernel v5.8, this symbol is not exported anymore [0][1], not even flush_tlb_local() is available.

For the time being, we ADT-hinted linux-kvm package, but the driver requires modifications, in order to fix that.

[0] http://git.kernel.org/linus/2faf153bb734
[1] http://git.kernel.org/linus/bfe3d8f6313d

Changed in linux-kvm (Ubuntu):
assignee: nobody → Guilherme G. Piccoli (gpiccoli)
Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
Changed in linux-kvm (Ubuntu):
status: Confirmed → In Progress
Changed in linux-kvm (Ubuntu Groovy):
assignee: nobody → Guilherme G. Piccoli (gpiccoli)
status: New → In Progress
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Hints added to linux-kvm, so it should pass the ADT tests.

Changed in linux-kvm (Ubuntu):
status: In Progress → Fix Released
Changed in linux-kvm (Ubuntu Groovy):
status: In Progress → Fix Released
affects: nvidia-graphics-drivers (Ubuntu) → nvidia-graphics-drivers-460 (Ubuntu)
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Daniel, just a heads-up: it fails for all Nvidia drivers, hence I marked "nvidia-graphics-drivers" instead of the -460.
Cheers,

Guilherme

Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

A more generic LP about ADT failures, that encompass multiple DKMS failures due to lack of Kconfigs set in linux-kvm: https://bugs.launchpad.net/ubuntu/+source/linux-kvm/+bug/1926501 .

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.