Advertisement
Guest User

nvidia driver install fail

a guest
Oct 20th, 2020
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.70 KB | None | 0 0
  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Tue Oct 20 19:11:37 2020
  3. installer version: 450.66
  4.  
  5. PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
  6.  
  7. nvidia-installer command line:
  8. ./nvidia-installer
  9.  
  10. Using: nvidia-installer ncurses v6 user interface
  11. -> Detected 16 CPUs online; setting concurrency level to 16.
  12. -> Installing NVIDIA driver version 450.66.
  13. -> There appears to already be a driver installed on your system (version: 450.66). As part of installing this driver (version: 450.66), the existing driver will be uninstalled. Are you sure you want to continue? (Answer: Continue installation)
  14. -> An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer.
  15.  
  16. Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:
  17.  
  18. The NVIDIA driver provided by Ubuntu can be installed by launching the "Software & Updates" application, and by selecting the NVIDIA driver from the "Additional Drivers" tab.
  19.  
  20.  
  21. (Answer: Continue installation)
  22. -> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No)
  23. -> Performing CC sanity check with CC="/usr/bin/cc".
  24. -> Performing CC check.
  25. -> Kernel source path: '/lib/modules/5.9.1-050901-generic/build'
  26. -> Kernel output path: '/lib/modules/5.9.1-050901-generic/build'
  27. -> Performing Compiler check.
  28. -> Performing Dom0 check.
  29. -> Performing Xen check.
  30. -> Performing PREEMPT_RT check.
  31. -> Performing vgpu_kvm check.
  32. -> Cleaning kernel module build directory.
  33. executing: 'cd ./kernel; /usr/bin/make -k -j16 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.9.1-050901-generic/build" SYSOUT="/lib/modules/5.9.1-050901-generic/build"'...
  34. rm -f -r conftest
  35. make[1]: Entering directory '/usr/src/linux-headers-5.9.1-050901-generic'
  36. make[1]: Leaving directory '/usr/src/linux-headers-5.9.1-050901-generic'
  37. -> Building kernel modules
  38. executing: 'cd ./kernel; /usr/bin/make -k -j16 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.9.1-050901-generic/build" SYSOUT="/lib/modules/5.9.1-050901-generic/build"'...
  39. make[1]: Entering directory '/usr/src/linux-headers-5.9.1-050901-generic'
  40. scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead
  41. SYMLINK /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-kernel.o
  42. SYMLINK /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia-modeset/nv-modeset-kernel.o
  43. CONFTEST: hash__remap_4k_pfn
  44. CONFTEST: set_pages_uc
  45. CONFTEST: list_is_first
  46. CONFTEST: set_memory_uc
  47. CONFTEST: set_memory_array_uc
  48. CONFTEST: set_pages_array_uc
  49. CONFTEST: acquire_console_sem
  50. CONFTEST: console_lock
  51. CONFTEST: ioremap_cache
  52. CONFTEST: ioremap_wc
  53. CONFTEST: acpi_walk_namespace
  54. CONFTEST: sg_alloc_table
  55. CONFTEST: pci_get_domain_bus_and_slot
  56. CONFTEST: get_num_physpages
  57. CONFTEST: efi_enabled
  58. CONFTEST: pde_data
  59. CONFTEST: proc_remove
  60. CONFTEST: pm_vt_switch_required
  61. CONFTEST: xen_ioemu_inject_msi
  62. CONFTEST: phys_to_dma
  63. CONFTEST: get_dma_ops
  64. CONFTEST: write_cr4
  65. CONFTEST: of_get_property
  66. CONFTEST: of_find_node_by_phandle
  67. CONFTEST: of_node_to_nid
  68. CONFTEST: pnv_pci_get_npu_dev
  69. CONFTEST: of_get_ibm_chip_id
  70. CONFTEST: node_end_pfn
  71. CONFTEST: pci_bus_address
  72. CONFTEST: pci_stop_and_remove_bus_device
  73. CONFTEST: pci_remove_bus_device
  74. CONFTEST: register_cpu_notifier
  75. CONFTEST: cpuhp_setup_state
  76. CONFTEST: dma_map_resource
  77. CONFTEST: backlight_device_register
  78. CONFTEST: timer_setup
  79. CONFTEST: pci_enable_msix_range
  80. CONFTEST: do_gettimeofday
  81. CONFTEST: kernel_read
  82. CONFTEST: kernel_write
  83. CONFTEST: kthread_create_on_node
  84. CONFTEST: of_find_matching_node
  85. CONFTEST: dev_is_pci
  86. CONFTEST: dma_direct_map_resource
  87. CONFTEST: tegra_get_platform
  88. CONFTEST: flush_cache_all
  89. CONFTEST: vmf_insert_pfn
  90. CONFTEST: jiffies_to_timespec
  91. CONFTEST: ktime_get_raw_ts64
  92. CONFTEST: ktime_get_real_ts64
  93. CONFTEST: address_space_init_once
  94. CONFTEST: kbasename
  95. CONFTEST: vzalloc
  96. CONFTEST: wait_on_bit_lock_argument_count
  97. CONFTEST: bitmap_clear
  98. CONFTEST: usleep_range
  99. CONFTEST: radix_tree_empty
  100. CONFTEST: radix_tree_replace_slot
  101. CONFTEST: pnv_npu2_init_context
  102. CONFTEST: cpumask_of_node
  103. CONFTEST: drm_dev_unref
  104. CONFTEST: drm_reinit_primary_mode_group
  105. CONFTEST: get_user_pages_remote
  106. CONFTEST: get_user_pages
  107. CONFTEST: drm_gem_object_lookup
  108. CONFTEST: drm_atomic_state_ref_counting
  109. CONFTEST: drm_driver_has_gem_prime_res_obj
  110. CONFTEST: drm_atomic_helper_connector_dpms
  111. CONFTEST: drm_connector_funcs_have_mode_in_name
  112. CONFTEST: drm_framebuffer_get
  113. CONFTEST: drm_gem_object_get
  114. CONFTEST: drm_dev_put
  115. CONFTEST: drm_format_num_planes
  116. CONFTEST: drm_connector_for_each_possible_encoder
  117. CONFTEST: is_export_symbol_gpl_of_node_to_nid
  118. CONFTEST: is_export_symbol_gpl_sme_active
  119. CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
  120. CONFTEST: is_export_symbol_present_swiotlb_dma_ops
  121. CONFTEST: is_export_symbol_present___close_fd
  122. CONFTEST: is_export_symbol_present_get_unused_fd
  123. CONFTEST: is_export_symbol_present_get_unused_fd_flags
  124. CONFTEST: is_export_symbol_present_screen_info
  125. CONFTEST: is_export_symbol_present_kthread_create_on_node
  126. CONFTEST: acpi_op_remove
  127. CONFTEST: outer_flush_all
  128. CONFTEST: file_operations
  129. CONFTEST: file_inode
  130. CONFTEST: kuid_t
  131. CONFTEST: dma_ops
  132. CONFTEST: swiotlb_dma_ops
  133. CONFTEST: noncoherent_swiotlb_dma_ops
  134. CONFTEST: vm_fault_has_address
  135. CONFTEST: backlight_properties_type
  136. CONFTEST: vm_insert_pfn_prot
  137. CONFTEST: vmf_insert_pfn_prot
  138. CONFTEST: vm_ops_fault_removed_vma_arg
  139. CONFTEST: vmbus_channel_has_ringbuffer_page
  140. CONFTEST: device_driver_of_match_table
  141. CONFTEST: device_of_node
  142. CONFTEST: node_states_n_memory
  143. CONFTEST: kmem_cache_has_kobj_remove_work
  144. CONFTEST: sysfs_slab_unlink
  145. CONFTEST: proc_ops
  146. CONFTEST: vmalloc_has_pgprot_t_arg
  147. CONFTEST: timeval
  148. CONFTEST: mm_has_mmap_lock
  149. CONFTEST: address_space
  150. CONFTEST: backing_dev_info
  151. CONFTEST: mm_context_t
  152. CONFTEST: vm_fault_t
  153. CONFTEST: mmu_notifier_ops_invalidate_range
  154. CONFTEST: drm_bus_present
  155. CONFTEST: drm_bus_has_bus_type
  156. CONFTEST: drm_bus_has_get_irq
  157. CONFTEST: drm_bus_has_get_name
  158. CONFTEST: drm_driver_has_legacy_dev_list
  159. CONFTEST: drm_driver_has_set_busid
  160. CONFTEST: drm_crtc_state_has_connectors_changed
  161. CONFTEST: drm_init_function_args
  162. CONFTEST: drm_helper_mode_fill_fb_struct
  163. CONFTEST: drm_master_drop_has_from_release_arg
  164. CONFTEST: drm_driver_unload_has_int_return_type
  165. CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
  166. CONFTEST: drm_crtc_helper_funcs_has_atomic_enable
  167. CONFTEST: drm_mode_object_find_has_file_priv_arg
  168. CONFTEST: dma_buf_owner
  169. CONFTEST: drm_connector_list_iter
  170. CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
  171. CONFTEST: drm_driver_prime_flag_present
  172. CONFTEST: drm_gem_object_has_resv
  173. CONFTEST: dom0_kernel_present
  174. CONFTEST: nvidia_vgpu_hyperv_available
  175. CONFTEST: nvidia_vgpu_kvm_build
  176. CONFTEST: nvidia_grid_build
  177. CONFTEST: nvidia_grid_csp_build
  178. CONFTEST: pm_runtime_available
  179. CONFTEST: drm_available
  180. CONFTEST: drm_atomic_available
  181. CONFTEST: is_export_symbol_gpl_refcount_inc
  182. CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
  183. CONFTEST: drm_alpha_blending_available
  184. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-frontend.o
  185. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv.o
  186. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-pci.o
  187. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-acpi.o
  188. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-cray.o
  189. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-dma.o
  190. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-i2c.o
  191. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-mmap.o
  192. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-p2p.o
  193. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-pat.o
  194. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-procfs.o
  195. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-usermap.o
  196. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-vm.o
  197. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-vtophys.o
  198. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/os-interface.o
  199. CC [M] /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/os-mlock.o
  200. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  201. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-acpi.c:15:
  202. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h: In function 'NV_GET_USER_PAGES_REMOTE':
  203. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:45: error: passing argument 1 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  204. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  205. | ^~~
  206. | |
  207. | struct task_struct *
  208. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  209. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  210. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-acpi.c:15:
  211. ./include/linux/mm.h:1714:46: note: expected 'struct mm_struct *' but argument is of type 'struct task_struct *'
  212. 1714 | long get_user_pages_remote(struct mm_struct *mm,
  213. | ~~~~~~~~~~~~~~~~~~^~
  214. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  215. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-acpi.c:15:
  216. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:50: warning: passing argument 2 of 'get_user_pages_remote' makes integer from pointer without a cast [-Wint-conversion]
  217. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  218. | ^~
  219. | |
  220. | struct mm_struct *
  221. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  222. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  223. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-acpi.c:15:
  224. ./include/linux/mm.h:1715:22: note: expected 'long unsigned int' but argument is of type 'struct mm_struct *'
  225. 1715 | unsigned long start, unsigned long nr_pages,
  226. | ~~~~~~~~~~~~~~^~~~~
  227. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  228. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-acpi.c:15:
  229. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:71: warning: passing argument 5 of 'get_user_pages_remote' makes pointer from integer without a cast [-Wint-conversion]
  230. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  231. | ^~~~~
  232. | |
  233. | unsigned int
  234. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  235. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  236. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-acpi.c:15:
  237. ./include/linux/mm.h:1716:46: note: expected 'struct page **' but argument is of type 'unsigned int'
  238. 1716 | unsigned int gup_flags, struct page **pages,
  239. | ~~~~~~~~~~~~~~^~~~~
  240. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  241. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-acpi.c:15:
  242. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:150:45: error: passing argument 6 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  243. 150 | pages, vmas);
  244. | ^~~~~
  245. | |
  246. | struct page **
  247. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  248. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  249. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-acpi.c:15:
  250. ./include/linux/mm.h:1717:32: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
  251. 1717 | struct vm_area_struct **vmas, int *locked);
  252. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
  253. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  254. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-acpi.c:15:
  255. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:150:52: error: passing argument 7 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  256. 150 | pages, vmas);
  257. | ^~~~
  258. | |
  259. | struct vm_area_struct **
  260. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  261. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  262. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-acpi.c:15:
  263. ./include/linux/mm.h:1717:43: note: expected 'int *' but argument is of type 'struct vm_area_struct **'
  264. 1717 | struct vm_area_struct **vmas, int *locked);
  265. | ~~~~~^~~~~~
  266. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  267. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-dma.c:15:
  268. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h: In function 'NV_GET_USER_PAGES_REMOTE':
  269. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:45: error: passing argument 1 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  270. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  271. | ^~~
  272. | |
  273. | struct task_struct *
  274. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  275. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  276. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-dma.c:15:
  277. ./include/linux/mm.h:1714:46: note: expected 'struct mm_struct *' but argument is of type 'struct task_struct *'
  278. 1714 | long get_user_pages_remote(struct mm_struct *mm,
  279. | ~~~~~~~~~~~~~~~~~~^~
  280. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  281. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-dma.c:15:
  282. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:50: warning: passing argument 2 of 'get_user_pages_remote' makes integer from pointer without a cast [-Wint-conversion]
  283. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  284. | ^~
  285. | |
  286. | struct mm_struct *
  287. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  288. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  289. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-dma.c:15:
  290. ./include/linux/mm.h:1715:22: note: expected 'long unsigned int' but argument is of type 'struct mm_struct *'
  291. 1715 | unsigned long start, unsigned long nr_pages,
  292. | ~~~~~~~~~~~~~~^~~~~
  293. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  294. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-dma.c:15:
  295. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:71: warning: passing argument 5 of 'get_user_pages_remote' makes pointer from integer without a cast [-Wint-conversion]
  296. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  297. | ^~~~~
  298. | |
  299. | unsigned int
  300. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  301. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  302. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-dma.c:15:
  303. ./include/linux/mm.h:1716:46: note: expected 'struct page **' but argument is of type 'unsigned int'
  304. 1716 | unsigned int gup_flags, struct page **pages,
  305. | ~~~~~~~~~~~~~~^~~~~
  306. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  307. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-dma.c:15:
  308. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:150:45: error: passing argument 6 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  309. 150 | pages, vmas);
  310. | ^~~~~
  311. | |
  312. | struct page **
  313. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  314. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-frontend.c:13:
  315. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h: In function 'NV_GET_USER_PAGES_REMOTE':
  316. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:45: error: passing argument 1 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  317. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  318. | ^~~
  319. | |
  320. | struct task_struct *
  321. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  322. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv.c:14:
  323. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h: In function 'NV_GET_USER_PAGES_REMOTE':
  324. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:45: error: passing argument 1 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  325. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  326. | ^~~
  327. | |
  328. | struct task_struct *
  329. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  330. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  331. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-frontend.c:13:
  332. ./include/linux/mm.h:1714:46: note: expected 'struct mm_struct *' but argument is of type 'struct task_struct *'
  333. 1714 | long get_user_pages_remote(struct mm_struct *mm,
  334. | ~~~~~~~~~~~~~~~~~~^~
  335. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  336. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-frontend.c:13:
  337. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:50: warning: passing argument 2 of 'get_user_pages_remote' makes integer from pointer without a cast [-Wint-conversion]
  338. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  339. | ^~
  340. | |
  341. | struct mm_struct *
  342. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  343. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  344. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv.c:14:
  345. ./include/linux/mm.h:1714:46: note: expected 'struct mm_struct *' but argument is of type 'struct task_struct *'
  346. 1714 | long get_user_pages_remote(struct mm_struct *mm,
  347. | ~~~~~~~~~~~~~~~~~~^~
  348. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  349. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv.c:14:
  350. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:50: warning: passing argument 2 of 'get_user_pages_remote' makes integer from pointer without a cast [-Wint-conversion]
  351. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  352. | ^~
  353. | |
  354. | struct mm_struct *
  355. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  356. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  357. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-frontend.c:13:
  358. ./include/linux/mm.h:1715:22: note: expected 'long unsigned int' but argument is of type 'struct mm_struct *'
  359. 1715 | unsigned long start, unsigned long nr_pages,
  360. | ~~~~~~~~~~~~~~^~~~~
  361. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  362. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-frontend.c:13:
  363. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:71: warning: passing argument 5 of 'get_user_pages_remote' makes pointer from integer without a cast [-Wint-conversion]
  364. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  365. | ^~~~~
  366. | |
  367. | unsigned int
  368. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  369. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  370. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv.c:14:
  371. ./include/linux/mm.h:1715:22: note: expected 'long unsigned int' but argument is of type 'struct mm_struct *'
  372. 1715 | unsigned long start, unsigned long nr_pages,
  373. | ~~~~~~~~~~~~~~^~~~~
  374. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  375. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv.c:14:
  376. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:71: warning: passing argument 5 of 'get_user_pages_remote' makes pointer from integer without a cast [-Wint-conversion]
  377. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  378. | ^~~~~
  379. | |
  380. | unsigned int
  381. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  382. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  383. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-frontend.c:13:
  384. ./include/linux/mm.h:1716:46: note: expected 'struct page **' but argument is of type 'unsigned int'
  385. 1716 | unsigned int gup_flags, struct page **pages,
  386. | ~~~~~~~~~~~~~~^~~~~
  387. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  388. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-frontend.c:13:
  389. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:150:45: error: passing argument 6 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  390. 150 | pages, vmas);
  391. | ^~~~~
  392. | |
  393. | struct page **
  394. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  395. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  396. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv.c:14:
  397. ./include/linux/mm.h:1716:46: note: expected 'struct page **' but argument is of type 'unsigned int'
  398. 1716 | unsigned int gup_flags, struct page **pages,
  399. | ~~~~~~~~~~~~~~^~~~~
  400. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  401. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv.c:14:
  402. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:150:45: error: passing argument 6 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  403. 150 | pages, vmas);
  404. | ^~~~~
  405. | |
  406. | struct page **
  407. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  408. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  409. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-frontend.c:13:
  410. ./include/linux/mm.h:1717:32: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
  411. 1717 | struct vm_area_struct **vmas, int *locked);
  412. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
  413. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  414. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-frontend.c:13:
  415. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:150:52: error: passing argument 7 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  416. 150 | pages, vmas);
  417. | ^~~~
  418. | |
  419. | struct vm_area_struct **
  420. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  421. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  422. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv.c:14:
  423. ./include/linux/mm.h:1717:32: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
  424. 1717 | struct vm_area_struct **vmas, int *locked);
  425. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
  426. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  427. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv.c:14:
  428. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:150:52: error: passing argument 7 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  429. 150 | pages, vmas);
  430. | ^~~~
  431. | |
  432. | struct vm_area_struct **
  433. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  434. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  435. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-frontend.c:13:
  436. ./include/linux/mm.h:1717:43: note: expected 'int *' but argument is of type 'struct vm_area_struct **'
  437. 1717 | struct vm_area_struct **vmas, int *locked);
  438. | ~~~~~^~~~~~
  439. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  440. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  441. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv.c:14:
  442. ./include/linux/mm.h:1717:43: note: expected 'int *' but argument is of type 'struct vm_area_struct **'
  443. 1717 | struct vm_area_struct **vmas, int *locked);
  444. | ~~~~~^~~~~~
  445. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  446. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  447. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-dma.c:15:
  448. ./include/linux/mm.h:1717:32: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
  449. 1717 | struct vm_area_struct **vmas, int *locked);
  450. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
  451. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  452. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-dma.c:15:
  453. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:150:52: error: passing argument 7 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  454. 150 | pages, vmas);
  455. | ^~~~
  456. | |
  457. | struct vm_area_struct **
  458. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  459. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  460. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-dma.c:15:
  461. ./include/linux/mm.h:1717:43: note: expected 'int *' but argument is of type 'struct vm_area_struct **'
  462. 1717 | struct vm_area_struct **vmas, int *locked);
  463. | ~~~~~^~~~~~
  464. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  465. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-i2c.c:15:
  466. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h: In function 'NV_GET_USER_PAGES_REMOTE':
  467. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  468. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-cray.c:15:
  469. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h: In function 'NV_GET_USER_PAGES_REMOTE':
  470. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:45: error: passing argument 1 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  471. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  472. | ^~~
  473. | |
  474. | struct task_struct *
  475. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  476. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  477. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-cray.c:15:
  478. ./include/linux/mm.h:1714:46: note: expected 'struct mm_struct *' but argument is of type 'struct task_struct *'
  479. 1714 | long get_user_pages_remote(struct mm_struct *mm,
  480. | ~~~~~~~~~~~~~~~~~~^~
  481. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:45: error: passing argument 1 of 'get_user_pages_remote' from incompatible pointer type [-Werror=incompatible-pointer-types]
  482. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  483. | ^~~
  484. | |
  485. | struct task_struct *
  486. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  487. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  488. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-i2c.c:15:
  489. ./include/linux/mm.h:1714:46: note: expected 'struct mm_struct *' but argument is of type 'struct task_struct *'
  490. 1714 | long get_user_pages_remote(struct mm_struct *mm,
  491. | ~~~~~~~~~~~~~~~~~~^~
  492. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  493. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-i2c.c:15:
  494. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:50: warning: passing argument 2 of 'get_user_pages_remote' makes integer from pointer without a cast [-Wint-conversion]
  495. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  496. | ^~
  497. | |
  498. | struct mm_struct *
  499. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  500. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  501. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-i2c.c:15:
  502. ./include/linux/mm.h:1715:22: note: expected 'long unsigned int' but argument is of type 'struct mm_struct *'
  503. 1715 | unsigned long start, unsigned long nr_pages,
  504. | ~~~~~~~~~~~~~~^~~~~
  505. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:21,
  506. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-i2c.c:15:
  507. /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-mm.h:149:71: warning: passing argument 5 of 'get_user_pages_remote' makes pointer from integer without a cast [-Wint-conversion]
  508. 149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,
  509. | ^~~~~
  510. | |
  511. | unsigned int
  512. In file included from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-pgprot.h:17,
  513. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/common/inc/nv-linux.h:20,
  514. from /tmp/selfgz11443/NVIDIA-Linux-x86_64-450.66/kernel/nvidia/nv-i2c.c:15:
  515. ./include/linux/mm.h:1716:46: note: expected 'struct page **' but argument is of type 'unsigned int'
  516. 1716 | unsigned int gup_flags, struct page **pages,
  517. | ~~~~~~~~~~~~~~^~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement