nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Sun Jan 13 07:47:02 2019 installer version: 410.93 PATH: /usr/lib64/go1.11.3/go/bin:/home/local/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/root/bin:/usr/lib64/java/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/lib64/qt5/bin:/usr/share/texmf/bin nvidia-installer command line: ./nvidia-installer Unable to load: nvidia-installer ncurses v6 user interface Using: nvidia-installer ncurses user interface -> Detected 8 CPUs online; setting concurrency level to 8. -> Installing NVIDIA driver version 410.93. -> There appears to already be a driver installed on your system (version: 410.78). As part of installing this driver (version: 410.93), the existing driver will be uninstalled. Are you sure you want to continue? (Answer: Continue installation) -> Performing CC sanity check with CC="/usr/bin/cc". -> Kernel source path: '/lib/modules/4.4.170.kjh/source' -> Kernel output path: '/lib/modules/4.4.170.kjh/build' -> Performing Compiler check. -> Performing Dom0 check. -> Performing Xen check. -> Performing PREEMPT_RT check. -> Performing vgpu_kvm check. -> Cleaning kernel module build directory. executing: 'cd ./kernel; /usr/bin/make -k -j8 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.4.170.kjh/source" SYSOUT="/lib/modules/4.4.170.kjh/build"'... rm -f -r conftest make[1]: Entering directory '/usr/src/linux-4.4.170.kjh' make[2]: Entering directory '/usr/src/linux-4.4.170.kjh' make[2]: Leaving directory '/usr/src/linux-4.4.170.kjh' make[1]: Leaving directory '/usr/src/linux-4.4.170.kjh' -> Building kernel modules executing: 'cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.4.170.kjh/source" SYSOUT="/lib/modules/4.4.170.kjh/build"'... make[1]: Entering directory '/usr/src/linux-4.4.170.kjh' make[2]: Entering directory '/usr/src/linux-4.4.170.kjh' SYMLINK /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-kernel.o SYMLINK /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-modeset/nv-modeset-kernel.o CONFTEST: remap_pfn_range CONFTEST: follow_pfn CONFTEST: set_pages_uc CONFTEST: hash__remap_4k_pfn CONFTEST: INIT_WORK CONFTEST: set_memory_uc CONFTEST: set_memory_array_uc CONFTEST: vmap CONFTEST: change_page_attr CONFTEST: pci_get_class CONFTEST: pci_choose_state CONFTEST: vm_insert_page CONFTEST: acpi_device_id CONFTEST: acquire_console_sem CONFTEST: console_lock CONFTEST: kmem_cache_create CONFTEST: on_each_cpu CONFTEST: smp_call_function CONFTEST: acpi_evaluate_integer CONFTEST: ioremap_cache CONFTEST: ioremap_wc CONFTEST: acpi_walk_namespace CONFTEST: pci_domain_nr CONFTEST: pci_dma_mapping_error CONFTEST: sg_alloc_table CONFTEST: sg_init_table CONFTEST: pci_get_domain_bus_and_slot CONFTEST: get_num_physpages CONFTEST: efi_enabled CONFTEST: proc_create_data CONFTEST: pde_data CONFTEST: proc_remove CONFTEST: pm_vt_switch_required CONFTEST: xen_ioemu_inject_msi CONFTEST: phys_to_dma CONFTEST: get_dma_ops CONFTEST: write_cr4 CONFTEST: of_get_property CONFTEST: of_find_node_by_phandle CONFTEST: pnv_pci_get_npu_dev CONFTEST: of_get_ibm_chip_id CONFTEST: of_node_to_nid CONFTEST: for_each_online_node CONFTEST: node_end_pfn CONFTEST: pci_stop_and_remove_bus_device CONFTEST: pci_bus_address CONFTEST: pci_remove_bus_device CONFTEST: request_threaded_irq CONFTEST: register_cpu_notifier CONFTEST: cpuhp_setup_state CONFTEST: dma_map_resource CONFTEST: backlight_device_register CONFTEST: register_acpi_notifier CONFTEST: timer_setup CONFTEST: pci_enable_msix_range CONFTEST: kmem_cache_create_usercopy CONFTEST: remap_page_range CONFTEST: address_space_init_once CONFTEST: kbasename CONFTEST: fatal_signal_pending CONFTEST: list_cut_position CONFTEST: vzalloc CONFTEST: wait_on_bit_lock_argument_count CONFTEST: bitmap_clear CONFTEST: usleep_range CONFTEST: radix_tree_empty CONFTEST: radix_tree_replace_slot CONFTEST: pnv_npu2_init_context CONFTEST: drm_dev_unref CONFTEST: drm_reinit_primary_mode_group CONFTEST: drm_atomic_set_mode_for_crtc CONFTEST: drm_atomic_clean_old_fb CONFTEST: get_user_pages_remote CONFTEST: get_user_pages CONFTEST: drm_gem_object_lookup CONFTEST: drm_atomic_state_free CONFTEST: drm_driver_has_gem_prime_res_obj CONFTEST: drm_atomic_helper_disable_all CONFTEST: drm_atomic_helper_set_config CONFTEST: drm_atomic_helper_connector_dpms CONFTEST: drm_connector_funcs_have_mode_in_name CONFTEST: vmf_insert_pfn CONFTEST: is_export_symbol_gpl_of_node_to_nid CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs CONFTEST: i2c_adapter CONFTEST: pm_message_t CONFTEST: irq_handler_t CONFTEST: acpi_device_ops CONFTEST: acpi_op_remove CONFTEST: outer_flush_all CONFTEST: proc_dir_entry CONFTEST: scatterlist CONFTEST: file_operations CONFTEST: sg_table CONFTEST: vm_operations_struct CONFTEST: atomic_long_type CONFTEST: pci_save_state CONFTEST: file_inode CONFTEST: task_struct CONFTEST: kuid_t CONFTEST: dma_ops CONFTEST: dma_map_ops CONFTEST: noncoherent_swiotlb_dma_ops CONFTEST: vm_fault_present CONFTEST: vm_fault_has_address CONFTEST: backlight_properties_type CONFTEST: dev_pm_ops CONFTEST: fault_flags CONFTEST: atomic64_type CONFTEST: address_space CONFTEST: backing_dev_info CONFTEST: mm_context_t CONFTEST: vm_ops_fault_removed_vma_arg CONFTEST: node_states_n_memory CONFTEST: drm_bus_has_bus_type CONFTEST: drm_bus_present CONFTEST: drm_bus_has_get_irq CONFTEST: drm_bus_has_get_name CONFTEST: drm_driver_has_legacy_dev_list CONFTEST: drm_driver_has_set_busid CONFTEST: drm_crtc_state_has_connectors_changed CONFTEST: drm_init_function_args CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg CONFTEST: drm_helper_mode_fill_fb_struct CONFTEST: drm_master_drop_has_from_release_arg CONFTEST: drm_driver_unload_has_int_return_type CONFTEST: kref_has_refcount_of_type_refcount_t CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg CONFTEST: drm_crtc_helper_funcs_has_atomic_enable CONFTEST: drm_old_atomic_state_iterators_present CONFTEST: drm_mode_object_find_has_file_priv_arg CONFTEST: dma_buf_owner CONFTEST: dom0_kernel_present CONFTEST: nvidia_vgpu_kvm_build CONFTEST: nvidia_grid_build CONFTEST: drm_available CONFTEST: drm_atomic_available CONFTEST: drm_atomic_modeset_nonblocking_commit_available CONFTEST: is_export_symbol_gpl_refcount_inc CONFTEST: is_export_symbol_gpl_refcount_dec_and_test CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-frontend.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-instance.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-acpi.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-chrdev.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-cray.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-dma.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-gvi.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-i2c.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-mempool.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-mmap.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-p2p.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-pat.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-procfs.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-usermap.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-vm.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-vtophys.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-interface.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-pci.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-registry.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-usermap.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-modeset-interface.o In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c: In function 'os_lock_user_pages': /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:120:48: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion] page_count, write, force, user_pages, NULL); ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:70: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct page **' but argument is of type 'NvBool {aka unsigned char}' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:120:55: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types] page_count, write, force, user_pages, NULL); ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:77: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:9: error: too many arguments to function 'get_user_pages' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:119:11: note: in expansion of macro 'NV_GET_USER_PAGES' ret = NV_GET_USER_PAGES((unsigned long)address, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: declared here long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ /usr/src/linux-4.4.170.kjh/scripts/Makefile.build:277: recipe for target '/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.o' failed make[3]: *** [/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.o] Error 1 CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-pci-table.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-kthread-q.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-kthread-q-selftest.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-memdbg.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-ibmnpu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-report-err.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-rsync.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-msi.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv_uvm_interface.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nvlink_linux.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/linux_nvswitch.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_turing.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_turing_mmu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_turing_host.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_utils.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/nvstatus.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/nvCpuUuid.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_global.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu_isr.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_procfs.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.o In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c: In function 'map_user_pages': /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c:255:55: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types] ret = NV_GET_USER_PAGES(user_va, num_pages, 1, 0, *pages, vmas); ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:77: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c:23: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:9: error: too many arguments to function 'get_user_pages' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c:255:11: note: in expansion of macro 'NV_GET_USER_PAGES' ret = NV_GET_USER_PAGES(user_va, num_pages, 1, 0, *pages, vmas); ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c:23: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: declared here long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu_semaphore.o /usr/src/linux-4.4.170.kjh/scripts/Makefile.build:277: recipe for target '/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.o' failed make[3]: *** [/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.o] Error 1 CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_mem.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_rm_mem.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_channel.o /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c: In function 'mm_read64': /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:537:77: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion] ret = NV_GET_USER_PAGES_REMOTE(NULL, mm, (unsigned long)addr, 1, write, force, &page, NULL); ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:24: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct page **' but argument is of type 'int' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:537:84: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types] ret = NV_GET_USER_PAGES_REMOTE(NULL, mm, (unsigned long)addr, 1, write, force, &page, NULL); ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:24: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:24: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:126:41: error: too many arguments to function 'get_user_pages' #define NV_GET_USER_PAGES_REMOTE get_user_pages ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:537:11: note: in expansion of macro 'NV_GET_USER_PAGES_REMOTE' ret = NV_GET_USER_PAGES_REMOTE(NULL, mm, (unsigned long)addr, 1, write, force, &page, NULL); ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:24: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: declared here long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ /usr/src/linux-4.4.170.kjh/scripts/Makefile.build:277: recipe for target '/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.o' failed make[3]: *** [/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.o] Error 1 CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_lock.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_hal.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_range_tree.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_range_allocator.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_range.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_block.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_range_group.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu_access_counters.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_events.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_module.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_mmu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pte_batch.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tlb_batch.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_push.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pushbuffer.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_thread_context.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tracker.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_kepler.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_kepler_ce.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_kepler_host.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_kepler_mmu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_maxwell.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_maxwell_host.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pascal.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pascal_ce.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pascal_host.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pascal_mmu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_volta_host.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_volta_mmu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_volta.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_policy.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_utils.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_kvmalloc.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pmm_sysmem.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pmm_gpu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_migrate.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_migrate_pageable.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_map_external.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_user_channel.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_hmm.o In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.c:24: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.c: In function 'uvm_populate_pageable_vma': /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:9: error: too many arguments to function 'get_user_pages' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.c:72:11: note: in expansion of macro 'NV_GET_USER_PAGES' ret = NV_GET_USER_PAGES(start, vma_num_pages, is_writable, 0, NULL, NULL); ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.c:24: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: declared here long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ /usr/src/linux-4.4.170.kjh/scripts/Makefile.build:277: recipe for target '/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.o' failed make[3]: *** [/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.o] Error 1 CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_heuristics.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_thrashing.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_prefetch.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_ats_ibm.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_ats_faults.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_test_rng.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_range_tree_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_range_allocator_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_mem_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_rm_mem_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_page_tree_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tracker_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_push_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_channel_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_ce_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_lock_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_utils_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_kvmalloc_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pmm_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_events_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_module_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_mmu_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_block_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_range_group_tree_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-modeset/nvidia-modeset-linux.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-drv.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-utils.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-crtc.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-encoder.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-connector.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-gem.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-fb.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-modeset.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-prime-fence.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-helper.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nv-pci-table.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o ld -r -o /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-modeset/nvidia-modeset-linux.o LD [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-modeset.o In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:34:0: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c: In function 'nv_drm_lock_user_pages': /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:102:67: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion] pages_pinned = NV_GET_USER_PAGES(address, pages_count, write, force, ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:70: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /usr/src/linux-4.4.170.kjh/include/linux/scatterlist.h:7:0, from /usr/src/linux-4.4.170.kjh/include/linux/dma-mapping.h:10, from /usr/src/linux-4.4.170.kjh/include/drm/drmP.h:37, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-os-interface.h:32, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:27: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct page **' but argument is of type 'int' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:34:0: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:103:38: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types] user_pages, NULL); ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:77: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /usr/src/linux-4.4.170.kjh/include/linux/scatterlist.h:7:0, from /usr/src/linux-4.4.170.kjh/include/linux/dma-mapping.h:10, from /usr/src/linux-4.4.170.kjh/include/drm/drmP.h:37, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-os-interface.h:32, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:27: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:34:0: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:9: error: too many arguments to function 'get_user_pages' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:102:20: note: in expansion of macro 'NV_GET_USER_PAGES' pages_pinned = NV_GET_USER_PAGES(address, pages_count, write, force, ^ In file included from /usr/src/linux-4.4.170.kjh/include/linux/scatterlist.h:7:0, from /usr/src/linux-4.4.170.kjh/include/linux/dma-mapping.h:10, from /usr/src/linux-4.4.170.kjh/include/drm/drmP.h:37, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-os-interface.h:32, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:27: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: declared here long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ /usr/src/linux-4.4.170.kjh/scripts/Makefile.build:277: recipe for target '/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.o' failed make[3]: *** [/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.o] Error 1 make[3]: Target '__build' not remade because of errors. /usr/src/linux-4.4.170.kjh/Makefile:1436: recipe for target '_module_/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel' failed make[2]: *** [_module_/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel] Error 2 make[2]: Target 'modules' not remade because of errors. make[2]: Leaving directory '/usr/src/linux-4.4.170.kjh' Makefile:152: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-4.4.170.kjh' Makefile:79: recipe for target 'modules' failed make: *** [modules] Error 2 -> Error. ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details. -> The command `cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.4.170.kjh/source" SYSOUT="/lib/modules/4.4.170.kjh/build"` failed with the following output: make[1]: Entering directory '/usr/src/linux-4.4.170.kjh' make[2]: Entering directory '/usr/src/linux-4.4.170.kjh' SYMLINK /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-kernel.o SYMLINK /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-modeset/nv-modeset-kernel.o CONFTEST: remap_pfn_range CONFTEST: follow_pfn CONFTEST: set_pages_uc CONFTEST: hash__remap_4k_pfn CONFTEST: INIT_WORK CONFTEST: set_memory_uc CONFTEST: set_memory_array_uc CONFTEST: vmap CONFTEST: change_page_attr CONFTEST: pci_get_class CONFTEST: pci_choose_state CONFTEST: vm_insert_page CONFTEST: acpi_device_id CONFTEST: acquire_console_sem CONFTEST: console_lock CONFTEST: kmem_cache_create CONFTEST: on_each_cpu CONFTEST: smp_call_function CONFTEST: acpi_evaluate_integer CONFTEST: ioremap_cache CONFTEST: ioremap_wc CONFTEST: acpi_walk_namespace CONFTEST: pci_domain_nr CONFTEST: pci_dma_mapping_error CONFTEST: sg_alloc_table CONFTEST: sg_init_table CONFTEST: pci_get_domain_bus_and_slot CONFTEST: get_num_physpages CONFTEST: efi_enabled CONFTEST: proc_create_data CONFTEST: pde_data CONFTEST: proc_remove CONFTEST: pm_vt_switch_required CONFTEST: xen_ioemu_inject_msi CONFTEST: phys_to_dma CONFTEST: get_dma_ops CONFTEST: write_cr4 CONFTEST: of_get_property CONFTEST: of_find_node_by_phandle CONFTEST: pnv_pci_get_npu_dev CONFTEST: of_get_ibm_chip_id CONFTEST: of_node_to_nid CONFTEST: for_each_online_node CONFTEST: node_end_pfn CONFTEST: pci_stop_and_remove_bus_device CONFTEST: pci_bus_address CONFTEST: pci_remove_bus_device CONFTEST: request_threaded_irq CONFTEST: register_cpu_notifier CONFTEST: cpuhp_setup_state CONFTEST: dma_map_resource CONFTEST: backlight_device_register CONFTEST: register_acpi_notifier CONFTEST: timer_setup CONFTEST: pci_enable_msix_range CONFTEST: kmem_cache_create_usercopy CONFTEST: remap_page_range CONFTEST: address_space_init_once CONFTEST: kbasename CONFTEST: fatal_signal_pending CONFTEST: list_cut_position CONFTEST: vzalloc CONFTEST: wait_on_bit_lock_argument_count CONFTEST: bitmap_clear CONFTEST: usleep_range CONFTEST: radix_tree_empty CONFTEST: radix_tree_replace_slot CONFTEST: pnv_npu2_init_context CONFTEST: drm_dev_unref CONFTEST: drm_reinit_primary_mode_group CONFTEST: drm_atomic_set_mode_for_crtc CONFTEST: drm_atomic_clean_old_fb CONFTEST: get_user_pages_remote CONFTEST: get_user_pages CONFTEST: drm_gem_object_lookup CONFTEST: drm_atomic_state_free CONFTEST: drm_driver_has_gem_prime_res_obj CONFTEST: drm_atomic_helper_disable_all CONFTEST: drm_atomic_helper_set_config CONFTEST: drm_atomic_helper_connector_dpms CONFTEST: drm_connector_funcs_have_mode_in_name CONFTEST: vmf_insert_pfn CONFTEST: is_export_symbol_gpl_of_node_to_nid CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs CONFTEST: i2c_adapter CONFTEST: pm_message_t CONFTEST: irq_handler_t CONFTEST: acpi_device_ops CONFTEST: acpi_op_remove CONFTEST: outer_flush_all CONFTEST: proc_dir_entry CONFTEST: scatterlist CONFTEST: file_operations CONFTEST: sg_table CONFTEST: vm_operations_struct CONFTEST: atomic_long_type CONFTEST: pci_save_state CONFTEST: file_inode CONFTEST: task_struct CONFTEST: kuid_t CONFTEST: dma_ops CONFTEST: dma_map_ops CONFTEST: noncoherent_swiotlb_dma_ops CONFTEST: vm_fault_present CONFTEST: vm_fault_has_address CONFTEST: backlight_properties_type CONFTEST: dev_pm_ops CONFTEST: fault_flags CONFTEST: atomic64_type CONFTEST: address_space CONFTEST: backing_dev_info CONFTEST: mm_context_t CONFTEST: vm_ops_fault_removed_vma_arg CONFTEST: node_states_n_memory CONFTEST: drm_bus_has_bus_type CONFTEST: drm_bus_present CONFTEST: drm_bus_has_get_irq CONFTEST: drm_bus_has_get_name CONFTEST: drm_driver_has_legacy_dev_list CONFTEST: drm_driver_has_set_busid CONFTEST: drm_crtc_state_has_connectors_changed CONFTEST: drm_init_function_args CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg CONFTEST: drm_helper_mode_fill_fb_struct CONFTEST: drm_master_drop_has_from_release_arg CONFTEST: drm_driver_unload_has_int_return_type CONFTEST: kref_has_refcount_of_type_refcount_t CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg CONFTEST: drm_crtc_helper_funcs_has_atomic_enable CONFTEST: drm_old_atomic_state_iterators_present CONFTEST: drm_mode_object_find_has_file_priv_arg CONFTEST: dma_buf_owner CONFTEST: dom0_kernel_present CONFTEST: nvidia_vgpu_kvm_build CONFTEST: nvidia_grid_build CONFTEST: drm_available CONFTEST: drm_atomic_available CONFTEST: drm_atomic_modeset_nonblocking_commit_available CONFTEST: is_export_symbol_gpl_refcount_inc CONFTEST: is_export_symbol_gpl_refcount_dec_and_test CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-frontend.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-instance.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-acpi.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-chrdev.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-cray.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-dma.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-gvi.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-i2c.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-mempool.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-mmap.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-p2p.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-pat.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-procfs.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-usermap.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-vm.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-vtophys.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-interface.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-pci.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-registry.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-usermap.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-modeset-interface.o In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c: In function 'os_lock_user_pages': /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:120:48: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion] page_count, write, force, user_pages, NULL); ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:70: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct page **' but argument is of type 'NvBool {aka unsigned char}' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:120:55: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types] page_count, write, force, user_pages, NULL); ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:77: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:9: error: too many arguments to function 'get_user_pages' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:119:11: note: in expansion of macro 'NV_GET_USER_PAGES' ret = NV_GET_USER_PAGES((unsigned long)address, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: declared here long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ /usr/src/linux-4.4.170.kjh/scripts/Makefile.build:277: recipe for target '/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.o' failed make[3]: *** [/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.o] Error 1 CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-pci-table.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-kthread-q.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-kthread-q-selftest.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-memdbg.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-ibmnpu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-report-err.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-rsync.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-msi.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv_uvm_interface.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nvlink_linux.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/linux_nvswitch.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_turing.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_turing_mmu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_turing_host.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_utils.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/nvstatus.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/nvCpuUuid.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_global.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu_isr.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_procfs.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.o In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c: In function 'map_user_pages': /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c:255:55: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types] ret = NV_GET_USER_PAGES(user_va, num_pages, 1, 0, *pages, vmas); ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:77: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c:23: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c:23: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:9: error: too many arguments to function 'get_user_pages' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c:255:11: note: in expansion of macro 'NV_GET_USER_PAGES' ret = NV_GET_USER_PAGES(user_va, num_pages, 1, 0, *pages, vmas); ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.c:23: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: declared here long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu_semaphore.o /usr/src/linux-4.4.170.kjh/scripts/Makefile.build:277: recipe for target '/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.o' failed make[3]: *** [/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tools.o] Error 1 CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_mem.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_rm_mem.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_channel.o /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c: In function 'mm_read64': /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:537:77: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion] ret = NV_GET_USER_PAGES_REMOTE(NULL, mm, (unsigned long)addr, 1, write, force, &page, NULL); ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:24: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct page **' but argument is of type 'int' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:537:84: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types] ret = NV_GET_USER_PAGES_REMOTE(NULL, mm, (unsigned long)addr, 1, write, force, &page, NULL); ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:24: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:24: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:126:41: error: too many arguments to function 'get_user_pages' #define NV_GET_USER_PAGES_REMOTE get_user_pages ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:537:11: note: in expansion of macro 'NV_GET_USER_PAGES_REMOTE' ret = NV_GET_USER_PAGES_REMOTE(NULL, mm, (unsigned long)addr, 1, write, force, &page, NULL); ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.c:24: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: declared here long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ /usr/src/linux-4.4.170.kjh/scripts/Makefile.build:277: recipe for target '/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.o' failed make[3]: *** [/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_space_mm.o] Error 1 CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_lock.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_hal.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_range_tree.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_range_allocator.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_range.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_block.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_range_group.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu_access_counters.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_events.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_module.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_mmu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pte_batch.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tlb_batch.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_push.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pushbuffer.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_thread_context.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tracker.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_kepler.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_kepler_ce.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_kepler_host.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_kepler_mmu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_maxwell.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_maxwell_host.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pascal.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pascal_ce.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pascal_host.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pascal_mmu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_volta_host.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_volta_mmu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_volta.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_policy.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_utils.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_kvmalloc.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pmm_sysmem.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pmm_gpu.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_migrate.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_migrate_pageable.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_map_external.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_user_channel.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_hmm.o In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.c:24: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.c: In function 'uvm_populate_pageable_vma': /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:9: error: too many arguments to function 'get_user_pages' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.c:72:11: note: in expansion of macro 'NV_GET_USER_PAGES' ret = NV_GET_USER_PAGES(start, vma_num_pages, is_writable, 0, NULL, NULL); ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_linux.h:39, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm_common.h:48, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.c:24: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: declared here long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ /usr/src/linux-4.4.170.kjh/scripts/Makefile.build:277: recipe for target '/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.o' failed make[3]: *** [/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_populate_pageable.o] Error 1 CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_heuristics.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_thrashing.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_prefetch.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_ats_ibm.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_ats_faults.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_test_rng.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_range_tree_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_range_allocator_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_mem_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_rm_mem_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_page_tree_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_tracker_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_push_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_channel_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_ce_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_lock_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_utils_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_kvmalloc_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pmm_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_events_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_perf_module_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_mmu_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_va_block_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-uvm/uvm8_range_group_tree_test.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-modeset/nvidia-modeset-linux.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-drv.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-utils.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-crtc.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-encoder.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-connector.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-gem.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-fb.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-modeset.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-prime-fence.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-helper.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nv-pci-table.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o ld -r -o /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-modeset/nvidia-modeset-linux.o LD [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-modeset.o In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:34:0: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c: In function 'nv_drm_lock_user_pages': /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:102:67: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion] pages_pinned = NV_GET_USER_PAGES(address, pages_count, write, force, ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:70: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /usr/src/linux-4.4.170.kjh/include/linux/scatterlist.h:7:0, from /usr/src/linux-4.4.170.kjh/include/linux/dma-mapping.h:10, from /usr/src/linux-4.4.170.kjh/include/drm/drmP.h:37, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-os-interface.h:32, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:27: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct page **' but argument is of type 'int' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:34:0: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:103:38: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types] user_pages, NULL); ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:77: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /usr/src/linux-4.4.170.kjh/include/linux/scatterlist.h:7:0, from /usr/src/linux-4.4.170.kjh/include/linux/dma-mapping.h:10, from /usr/src/linux-4.4.170.kjh/include/drm/drmP.h:37, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-os-interface.h:32, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:27: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:34:0: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:9: error: too many arguments to function 'get_user_pages' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:102:20: note: in expansion of macro 'NV_GET_USER_PAGES' pages_pinned = NV_GET_USER_PAGES(address, pages_count, write, force, ^ In file included from /usr/src/linux-4.4.170.kjh/include/linux/scatterlist.h:7:0, from /usr/src/linux-4.4.170.kjh/include/linux/dma-mapping.h:10, from /usr/src/linux-4.4.170.kjh/include/drm/drmP.h:37, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-os-interface.h:32, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.c:27: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: declared here long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ /usr/src/linux-4.4.170.kjh/scripts/Makefile.build:277: recipe for target '/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.o' failed make[3]: *** [/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia-drm/nvidia-drm-linux.o] Error 1 make[3]: Target '__build' not remade because of errors. /usr/src/linux-4.4.170.kjh/Makefile:1436: recipe for target '_module_/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel' failed make[2]: *** [_module_/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel] Error 2 make[2]: Target 'modules' not remade because of errors. make[2]: Leaving directory '/usr/src/linux-4.4.170.kjh' Makefile:152: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-4.4.170.kjh' Makefile:79: recipe for target 'modules' failed make: *** [modules] Error 2 -> Checking to see whether the nvidia kernel module was successfully built executing: 'cd ./kernel; /usr/bin/make -k -j8 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.4.170.kjh/source" SYSOUT="/lib/modules/4.4.170.kjh/build"'... make[1]: Entering directory '/usr/src/linux-4.4.170.kjh' make[2]: Entering directory '/usr/src/linux-4.4.170.kjh' CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-pci-table.o In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c: In function 'os_lock_user_pages': /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:120:48: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion] page_count, write, force, user_pages, NULL); ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:70: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct page **' but argument is of type 'NvBool {aka unsigned char}' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:120:55: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types] page_count, write, force, user_pages, NULL); ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:77: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:9: error: too many arguments to function 'get_user_pages' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:119:11: note: in expansion of macro 'NV_GET_USER_PAGES' ret = NV_GET_USER_PAGES((unsigned long)address, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: declared here long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ /usr/src/linux-4.4.170.kjh/scripts/Makefile.build:277: recipe for target '/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.o' failed make[3]: *** [/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.o] Error 1 make[3]: Target '__build' not remade because of errors. /usr/src/linux-4.4.170.kjh/Makefile:1436: recipe for target '_module_/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel' failed make[2]: *** [_module_/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel] Error 2 make[2]: Target 'modules' not remade because of errors. make[2]: Leaving directory '/usr/src/linux-4.4.170.kjh' Makefile:152: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-4.4.170.kjh' Makefile:79: recipe for target 'modules' failed make: *** [modules] Error 2 -> Error. ERROR: An error occurred while performing the step: "Checking to see whether the nvidia kernel module was successfully built". See /var/log/nvidia-installer.log for details. -> The command `cd ./kernel; /usr/bin/make -k -j8 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.4.170.kjh/source" SYSOUT="/lib/modules/4.4.170.kjh/build"` failed with the following output: make[1]: Entering directory '/usr/src/linux-4.4.170.kjh' make[2]: Entering directory '/usr/src/linux-4.4.170.kjh' CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.o CC [M] /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/nv-pci-table.o In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c: In function 'os_lock_user_pages': /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:120:48: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion] page_count, write, force, user_pages, NULL); ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:70: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct page **' but argument is of type 'NvBool {aka unsigned char}' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:120:55: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types] page_count, write, force, user_pages, NULL); ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:77: note: in definition of macro 'NV_GET_USER_PAGES' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **' long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:21:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-mm.h:44:9: error: too many arguments to function 'get_user_pages' get_user_pages(current, current->mm, start, nr_pages, write, force, pages, vmas) ^ /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:119:11: note: in expansion of macro 'NV_GET_USER_PAGES' ret = NV_GET_USER_PAGES((unsigned long)address, ^ In file included from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-pgprot.h:17:0, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/common/inc/nv-linux.h:20, from /tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.c:15: /usr/src/linux-4.4.170.kjh/include/linux/mm.h:1200:6: note: declared here long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, ^ /usr/src/linux-4.4.170.kjh/scripts/Makefile.build:277: recipe for target '/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.o' failed make[3]: *** [/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel/nvidia/os-mlock.o] Error 1 make[3]: Target '__build' not remade because of errors. /usr/src/linux-4.4.170.kjh/Makefile:1436: recipe for target '_module_/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel' failed make[2]: *** [_module_/tmp/selfgz3548/NVIDIA-Linux-x86_64-410.93/kernel] Error 2 make[2]: Target 'modules' not remade because of errors. make[2]: Leaving directory '/usr/src/linux-4.4.170.kjh' Makefile:152: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-4.4.170.kjh' Makefile:79: recipe for target 'modules' failed make: *** [modules] Error 2 ERROR: The nvidia kernel module was not created. 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.