Comment 26 for bug 1760876

Revision history for this message
blszyn (blszyn) wrote :

issue seems to persist in bionic linux-generic 4.15.0.19.20 amd64.

$ sudo apt install --reinstall nvidia-dkms-390
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 27.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 nvidia-dkms-390 amd64 390.48-0ubuntu3+gpu18.04.2 [27.2 kB]
Fetched 27.2 kB in 1s (53.7 kB/s)
(Reading database ... 447814 files and directories currently installed.)
Preparing to unpack .../nvidia-dkms-390_390.48-0ubuntu3+gpu18.04.2_amd64.deb ...
Removing all DKMS Modules
Done.
Unpacking nvidia-dkms-390 (390.48-0ubuntu3+gpu18.04.2) over (390.48-0ubuntu3+gpu18.04.2) ...
Setting up nvidia-dkms-390 (390.48-0ubuntu3+gpu18.04.2) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
Loading new nvidia-390.48 DKMS files...
Building for 4.15.0-19-generic
Building for architecture x86_64
Building initial module for 4.15.0-19-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/nvidia-dkms-390.0.crash'
Error! Bad return status for module build on kernel: 4.15.0-19-generic (x86_64)
Consult /var/lib/dkms/nvidia/390.48/build/make.log for more information.
Processing triggers for initramfs-tools (0.130ubuntu3) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-19-generic

$ cat /var/lib/dkms/nvidia/390.48/build/make.log
DKMS make.log for nvidia-390.48 for kernel 4.15.0-19-generic (x86_64)
Tue Apr 24 10:01:23 PDT 2018
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-19-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
...