While same installation runs fine and finishes successfully in kernel <5.1 (tested 5.0.17-200.fc29.x86_64)
It fails under >=5.1 (currently testing 5.1.15-200.fc29.x86_64)
[INFO]:
[INFO]: ERROR: An error occurred while performing the step: "Checking to see whether the nvidia-uvm kernel module was successfully built". See /var/log/nvidia-installer.log for details.
[INFO]:
[INFO]:
[INFO]: ERROR: The nvidia-uvm kernel module was not created.
[INFO]:
[INFO]:
[INFO]: ERROR: The nvidia-uvm kernel module failed to build. This kernel module is required for the proper operation of CUDA. If you do not need to use CUDA, you can try to install this driver package again with the '--no-unified-memory' option.
[INFO]:
[INFO]:
[INFO]: 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 www.nvidia.com.
[INFO]:
[INFO]: The command `cd ./kernel; /usr/bin/make -k -j24 NV_KERNEL_MODULES="nvidia-uvm" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.1.15-200.fc29.x86_64/source" SYSOUT="/lib/modules/5.1.15-200.fc29.x86_64/build"` failed with the following output:
[INFO]:
[INFO]: make[1]: Entering directory '/usr/src/kernels/5.1.15-200.fc29.x86_64'
[INFO]: make[2]: Entering directory '/usr/src/kernels/5.1.15-200.fc29.x86_64'
[INFO]: CC [M] /tmp/selfgz8069/NVIDIA-Linux-x86_64-418.67/kernel/nvidia-uvm/uvm8.o
[INFO]: /tmp/selfgz8069/NVIDIA-Linux-x86_64-418.67/kernel/nvidia-uvm/uvm8.c:187:14: error: initialization of ‘vm_fault_t (*)(struct vm_fault *)’ {aka ‘unsigned int (*)(struct vm_fault *)’} from incompatible pointer type ‘int (*)(struct vm_fault *)’ [-Werror=incompatible-pointer-types]
[INFO]: .fault = uvm_vm_fault_sigbus_wrapper
[INFO]: ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO]: /tmp/selfgz8069/NVIDIA-Linux-x86_64-418.67/kernel/nvidia-uvm/uvm8.c:187:14: note: (near initialization for ‘uvm_vm_ops_disabled.fault’)
[INFO]: /tmp/selfgz8069/NVIDIA-Linux-x86_64-418.67/kernel/nvidia-uvm/uvm8.c:525:21: error: initialization of ‘vm_fault_t (*)(struct vm_fault *)’ {aka ‘unsigned int (*)(struct vm_fault *)’} from incompatible pointer type ‘int (*)(struct vm_fault *)’ [-Werror=incompatible-pointer-types]
[INFO]: .fault = uvm_vm_fault_wrapper,
[INFO]: ^~~~~~~~~~~~~~~~~~~~
[INFO]: /tmp/selfgz8069/NVIDIA-Linux-x86_64-418.67/kernel/nvidia-uvm/uvm8.c:525:21: note: (near initialization for ‘uvm_vm_ops_managed.fault’)
[INFO]: /tmp/selfgz8069/NVIDIA-Linux-x86_64-418.67/kernel/nvidia-uvm/uvm8.c:526:21: error: initialization of ‘vm_fault_t (*)(struct vm_fault *)’ {aka ‘unsigned int (*)(struct vm_fault *)’} from incompatible pointer type ‘int (*)(struct vm_fault *)’ [-Werror=incompatible-pointer-types]
[INFO]: .page_mkwrite = uvm_vm_fault_wrapper,
[INFO]: ^~~~~~~~~~~~~~~~~~~~
[INFO]: /tmp/selfgz8069/NVIDIA-Linux-x86_64-418.67/kernel/nvidia-uvm/uvm8.c:526:21: note: (near initialization for ‘uvm_vm_ops_managed.page_mkwrite’)
[INFO]: /tmp/selfgz8069/NVIDIA-Linux-x86_64-418.67/kernel/nvidia-uvm/uvm8.c:609:21: error: initialization of ‘vm_fault_t (*)(struct vm_fault *)’ {aka ‘unsigned int (*)(struct vm_fault *)’} from incompatible pointer type ‘int (*)(struct vm_fault *)’ [-Werror=incompatible-pointer-types]
[INFO]: .fault = uvm_vm_fault_sigbus_wrapper,
[INFO]: ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO]: /tmp/selfgz8069/NVIDIA-Linux-x86_64-418.67/kernel/nvidia-uvm/uvm8.c:609:21: note: (near initialization for ‘uvm_vm_ops_semaphore_pool.fault’)
[INFO]: cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’
[INFO]: cc1: some warnings being treated as errors
[INFO]: make[3]: *** [/usr/src/kernels/5.1.15-200.fc29.x86_64/scripts/Makefile.build:275: /tmp/selfgz8069/NVIDIA-Linux-x86_64-418.67/kernel/nvidia-uvm/uvm8.o] Error 1
[INFO]: make[3]: Target '__build' not remade because of errors.
[INFO]: make[2]: *** [/usr/src/kernels/5.1.15-200.fc29.x86_64/Makefile:1575: _module_/tmp/selfgz8069/NVIDIA-Linux-x86_64-418.67/kernel] Error 2
[INFO]: make[2]: Target 'modules' not remade because of errors.
[INFO]: make[2]: Leaving directory '/usr/src/kernels/5.1.15-200.fc29.x86_64'
[INFO]: make[1]: *** [Makefile:169: sub-make] Error 2
[INFO]: make[1]: Target 'modules' not remade because of errors.
[INFO]: make[1]: Leaving directory '/usr/src/kernels/5.1.15-200.fc29.x86_64'
[INFO]: make: *** [Makefile:81: modules] Error 2
[INFO]: Finished with code: 256
[ERROR]: Install of driver component failed.
[ERROR]: Install of 418.67 failed, quitting