nvidia-dkms-390 390.77-0ubuntu0.18.04.1: nvidia kernel module failed to build [Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-390 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
While upgrading kernel, whiptail process stucks and the update process hangs forever
nvidia-dkms-390 390.77-
root 25534 0.0 0.0 63712 4316 pts/0 S+ 13:02 0:00 | \_ sudo dpkg --configure -a
root 25535 0.0 0.0 26600 10952 pts/0 S+ 13:02 0:00 | \_ dpkg --configure -a
root 25570 0.0 0.0 4628 784 pts/0 S+ 13:02 0:00 | \_ /bin/sh /var/lib/
root 25571 0.0 0.0 4520 768 pts/0 S+ 13:02 0:00 | \_ run-parts --report --exit-on-error --arg=4.
root 25572 0.0 0.0 4628 1896 pts/0 S+ 13:02 0:00 | \_ /bin/sh /usr/lib/
root 25582 0.0 0.0 15896 6452 pts/0 S+ 13:02 0:00 | \_ /bin/bash /usr/sbin/dkms autoinstall --kernelver 4.15.0-43-generic
root 26396 0.0 0.0 16016 5724 pts/0 S+ 13:02 0:00 | \_ /bin/bash /usr/sbin/dkms autoinstall --kernelver 4.15.0-43-generic
root 1718 0.1 0.1 104160 22504 pts/0 S+ 13:02 0:00 | \_ /usr/bin/perl -w /usr/share/
root 1750 0.0 0.0 4628 1864 pts/0 S+ 13:02 0:00 | \_ /bin/sh /usr/sbin/
root 1897 0.0 0.0 24924 4320 pts/0 S+ 13:03 0:00 | \_ whiptail --backtitle Package configuration --title Configuring Secure Boot --output-fd 12 --inputbox --
teo 22242 0.0 0.0 26560 8896 pts/2 Ss 13:00 0:00 \_ /bin/bash
teo 2054 0.0 0.0 37528 3596 pts/2 R+ 13:03 0:00 \_ ps ufax
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: nvidia-dkms-390 390.77-
ProcVersionSign
Uname: Linux 4.15.0-42-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
DKMSKernelVersion: 4.15.0-43-generic
Date: Thu Jan 3 13:02:14 2019
InstallationDate: Installed on 2017-04-06 (637 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
PackageVersion: 390.77-
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2.1
apt 1.6.6
SourcePackage: nvidia-
Title: nvidia-dkms-390 390.77-
UpgradeStatus: No upgrade log present (probably fresh install)
Looks like a repeat of bug 1760876. But that's meant to be fixed already!?
DKMS make.log for nvidia-390.77 for kernel 4.15.0-43-generic (x86_64) linux-headers- 4.15.0- 43-generic' STACK_VALIDATIO N=y, please install libelf-dev, libelf-devel or elfutils- libelf- devel" generated/ autoconf. h -a -e include/ config/ auto.conf || ( \ generated/ autoconf. h or include/ config/ auto.conf are missing.";\ dkms/nvidia/ 390.77/ build/. tmp_versions ; rm -f /var/lib/ dkms/nvidia/ 390.77/ build/. tmp_versions/ *
gio 3 gen 2019, 13.02.14, CET
make[1]: Entering directory '/usr/src/
Makefile:975: "Cannot use CONFIG_
test -e include/
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /var/lib/