Since the update to kernel 4.6, I cannot get the driver to load. When I try to run the NVIDIA installer, it ends with these errors.
Right now, I am dead in the water, I have no graphics for my main computer. Kindly help.
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."; \
blablo - I downloaded this patch, but when I tried to apply it, I get the following:
root@KD1YV3 nVidia]# ./NVIDIA-Linux-x86_64-340.96.run --apply-patch nvidia.patch
Verifying archive integrity… OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.96…
…
patching file b/kernel/nv-mm.h
can’t find file to patch at input line 61
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|— a/kernel/os-mlock.c
+++ b/kernel/os-mlock.c
File to patch:
===
I also tried unpacking the file with -x then rerunning the install with --apply-patch, but resutls are the same.