dpkg-reconfigure nvidia-dkms-390 fails for kernel 5.3.0.-26 [error: redefinition of ‘list_is_first’]

Bug #1860295 reported by km
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After the update from 5.0 to 5.3 the dkms reconfigure of the nvidia-390 kernel module fails.
The problem seems to be in a conflict between the "list_is_first" routine in the module and the new kernel, which causes a compile error. I will upload /var/lib/dkms/nvidia/390.116/build/make.log

The reference in the log to autoconf.h missing is spurious. The generated/autoconf.h exists.

Here is the reconfigure output

# dpkg-reconfigure nvidia-dkms-390
Removing all DKMS Modules
Done.
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Loading new nvidia-390.116 DKMS files...
Building for 5.3.0-26-generic
Building for architecture x86_64
Building initial module for 5.3.0-26-generic
Error! Bad return status for module build on kernel: 5.3.0-26-generic (x86_64)
Consult /var/lib/dkms/nvidia/390.116/build/make.log for more information.
Processing triggers for initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: Generating /boot/initrd.img-5.3.0-26-generic

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: nvidia-dkms-390 390.116-0ubuntu0.18.04.1
ProcVersionSignature: Ubuntu 5.3.0-26.28~18.04.1-generic 5.3.13
Uname: Linux 5.3.0-26-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Jan 19 19:34:34 2020
InstallationDate: Installed on 2012-12-14 (2592 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nvidia-graphics-drivers-390
UpgradeStatus: Upgraded to bionic on 2018-04-29 (630 days ago)

Revision history for this message
km (km-mathcs) wrote :
summary: - dpkg-reconfigure nvidia-dkms-390 fails for kernel 5.3.0.-26
+ dpkg-reconfigure nvidia-dkms-390 fails for kernel 5.3.0.-26 [error:
+ redefinition of ‘list_is_first’]
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: New → Confirmed
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.