Comments

NVIDIA – Driver Fix, for Kernel 4.0. and Earlier.. — 7 Comments

  1. I made the changes in NVIDIA-Linux-x86_64-346.35/kernel. When I attempt to # make clean && make install I get an error about /usr/src/linux-4.0-rc1 is not clean, run ‘make mrproper’. I run make mrproper and I get another error saying that the kernel isn’t configured for loadable modules. If I run ‘make oldconfig’ and do a make menuconfig the Enable loadable module support is configured. Any ideas? I’ve never had this much trouble trying to install nvidia drivers for a kernel update before.

    • Same to me.
      Recompile with command line(such as boot into recovery mode), not in X windows, work for me.

  2. I have made the changes but get the following error

    ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 340.76 -k 4.0.5-200.fc21.x86_64`:
    Kernel preparation unnecessary for this kernel. Skipping…

    Building module:
    cleaning build area…
    make KERNELRELEASE=4.0.5-200.fc21.x86_64 module KERNEL_UNAME=4.0.5-200.fc21.x86_64; make -C uvm module KERNEL_UNAME=4.0.5-200.fc21.x86_64
    KBUILD_EXTMOD=/var/lib/dkms/nvidia/340.76/build/uvm; make -C uvm module KERNEL_UNAME=4.0.5-200.fc21.x86_64 KBUILD_EXTMOD=/var/lib/dkms/nvidia/340.76/build/uvm; make -C
    uvm module KERNEL_UNAME=4.0.5-200.fc21.x86_64 KBUILD_EXTMOD=/var/lib/dkms/nvidia/340.76/build/uvm………………………….(bad exit status: 2)
    Error! Bad return status for module build on kernel: 4.0.5-200.fc21.x86_64 (x86_64)
    Consult /var/lib/dkms/nvidia/340.76/build/make.log for more information.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.