Comments

New NVIDIA ‘Optimus’ Driver, Compiles OK.. — 2 Comments

  1. hi, it doesn’t work for me on 3.9 rc 6, Fedora 19. What can i do?

    scripts/mod/modpost -i /usr/src/kernels/3.9.0-0.rc6.git2.1.fc19.x86_64/Module.symvers -I /tmp/selfgz4262/NVIDIA-Linux-x86_64-319.12/kernel/Module.symvers -o /tmp/selfgz4262/NVIDIA-Linux-x86_64-319.12/kernel/Module.symvers -S -w -s
    WARNING: could not find /tmp/selfgz4262/NVIDIA-Linux-x86_64-319.12/kernel/.nv-kernel.o.cmd for /tmp/selfgz4262/NVIDIA-Linux-x86_64-319.12/kernel/nv-kernel.o
    FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol ‘mutex_lock_nested’
    make[4]: *** [__modpost] Fehler 1
    make[3]: *** [modules] Fehler 2
    make[2]: *** [sub-make] Fehler 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [module] Fehler 1
    make: *** [module] Fehler 2
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at http://www.nvidia.com.

    • I don’t use the Fedora-supplied kernels myself, and haven’t installed any Fedora Rawhide F19 versions yet.. I checked the corresponding output for the test compile I did with the kernel.org source compiled kernel 3.9-rc6, and the corresponding code is:

      scripts/mod/modpost -i /usr/src/linux-3.9-rc6/Module.symvers -I /home/rgadsdon/NVIDIA-Linux-x86_64-319.12/kernel/Module.symvers -o /home/rgadsdon/NVIDIA-Linux-x86_64-319.12/kernel/Module.symvers -S -w -s
      WARNING: could not find /home/rgadsdon/NVIDIA-Linux-x86_64-319.12/kernel/.nv-kernel.o.cmd for /home/rgadsdon/NVIDIA-Linux-x86_64-319.12/kernel/nv-kernel.o
      cc -Wp,-MD,/home/rgadsdon/NVIDIA-Linux-x86_64-319.12/kernel/.nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.7.2/include -I/usr/src/linux-3.9-rc6/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.9-rc6/include -Iinclude -I/usr/src/linux-3.9-rc6/arch/x86/include/uapi -Iarch/x86/include/generated/uapi….
      etc.

      I remember reading somewhere that the standard Fedora Rawhide kernels have extra debugging features enabled, and – apparently – this can cause the problem you have reported.. If you really want to use the Rawhide F19 kernel, you could try getting a version with debugging disabled.. Details at: https://fedoraproject.org/wiki/RawhideKernelNodebug

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.