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 ; \
...
** Attachment added: "make.log"
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1760876/+attachment/5126619/+files/make.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1760876
Title:
DKMS driver builds fail with: Cannot use CONFIG_STACK_VALIDATION=y,
please install libelf-dev, libelf-devel or elfutils-libelf-devel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1760876/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs