Advertisement
Guest User

Untitled

a guest
Dec 1st, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.85 KB | None | 0 0
  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Sat Dec 1 17:14:06 2018
  3. installer version: 340.46
  4.  
  5. PATH: /sbin:/bin:/usr/sbin:/usr/bin
  6.  
  7. nvidia-installer command line:
  8. ./nvidia-installer
  9.  
  10. Unable to load: nvidia-installer ncurses user interface
  11.  
  12. Using built-in stream user interface
  13. -> License accepted.
  14. -> Installing NVIDIA driver version 340.46.
  15. -> Running distribution scripts
  16. executing: '/usr/lib/nvidia/pre-install'...
  17. grep: /etc/sysconfig/kernel: No such file or directory
  18. -> done.
  19. -> The distribution-provided pre-install script completed successfully. If this is the first time you have run the installer, this script may have helped disable Nouveau, but a reboot may be required first. Would you like to continue, or would you prefer to abort installation to reboot the system? (Answer: Continue installation)
  20. -> Performing CC sanity check with CC="/usr/bin/cc".
  21. -> Kernel source path: '/lib/modules/4.19.4-1-default/source'
  22. -> Kernel output path: '/lib/modules/4.19.4-1-default/build'
  23. -> Performing rivafb check.
  24. -> Performing nvidiafb check.
  25. -> Performing Xen check.
  26. -> Performing PREEMPT_RT check.
  27. -> Cleaning kernel module build directory.
  28. executing: 'cd ./kernel; /usr/bin/make clean'...
  29. -> Building NVIDIA kernel module:
  30. executing: 'cd ./kernel; /usr/bin/make module SYSSRC=/lib/modules/4.19.4-1-default/source SYSOUT=/lib/modules/4.19.4-1-default/build NV_BUILD_MODULE_INSTANCES='...
  31. NVIDIA: calling KBUILD...
  32. make[1]: Entering directory '/usr/src/linux-4.19.4-1'
  33. /usr/bin/make -C /lib/modules/4.19.4-1-default/build KBUILD_SRC=/usr/src/linux-4.19.4-1 \
  34. -f /usr/src/linux-4.19.4-1/Makefile modules
  35. make[2]: Entering directory '/usr/src/linux-4.19.4-1-obj/x86_64/default'
  36. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  37. echo >&2; \
  38. echo >&2 " ERROR: Kernel configuration is invalid."; \
  39. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  40. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  41. echo >&2 ; \
  42. /bin/false)
  43. mkdir -p /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/.tmp_versions ; rm -f /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/.tmp_versions/*
  44. /usr/bin/make -f /usr/src/linux-4.19.4-1/scripts/Makefile.build obj=/tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel
  45. (cat /dev/null; echo kernel//tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nvidia.ko;) > /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/modules.order
  46. cc -Wp,-MD,/tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/.nv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/8/include -I/usr/src/linux-4.19.4-1/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-4.19.4-1/include -I./include -I/usr/src/linux-4.19.4-1/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-4.19.4-1/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.19.4-1/include/linux/kconfig.h -include /usr/src/linux-4.19.4-1/include/linux/compiler_types.h -I/tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel -I/tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundar
  47. y=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -
  48. Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-4.19.4-1/= -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.46\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/.tmp_nv.o /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c
  49. In file included from /usr/src/linux-4.19.4-1/include/linux/byteorder/little_endian.h:11,
  50. from /usr/src/linux-4.19.4-1/arch/x86/include/uapi/asm/byteorder.h:5,
  51. from /usr/src/linux-4.19.4-1/include/asm-generic/bitops/le.h:6,
  52. from /usr/src/linux-4.19.4-1/arch/x86/include/asm/bitops.h:521,
  53. from /usr/src/linux-4.19.4-1/include/linux/bitops.h:19,
  54. from /usr/src/linux-4.19.4-1/include/linux/kernel.h:11,
  55. from /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:45,
  56. from /usr/src/linux-4.19.4-1/arch/x86/include/asm/current.h:6,
  57. from /usr/src/linux-4.19.4-1/include/linux/sched.h:12,
  58. from /usr/src/linux-4.19.4-1/include/linux/utsname.h:6,
  59. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv-linux.h:44,
  60. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c:13:
  61. /usr/src/linux-4.19.4-1/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
  62. /usr/src/linux-4.19.4-1/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  63. for (i = 0; i < len; i++)
  64. ^
  65. /usr/src/linux-4.19.4-1/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
  66. /usr/src/linux-4.19.4-1/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  67. for (i = 0; i < len; i++)
  68. ^
  69. In file included from /usr/src/linux-4.19.4-1/arch/x86/include/asm/current.h:5,
  70. from /usr/src/linux-4.19.4-1/include/linux/sched.h:12,
  71. from /usr/src/linux-4.19.4-1/include/linux/utsname.h:6,
  72. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv-linux.h:44,
  73. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c:13:
  74. /usr/src/linux-4.19.4-1/include/linux/thread_info.h: In function ‘check_copy_size’:
  75. /usr/src/linux-4.19.4-1/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  76. if (unlikely(sz >= 0 && sz < bytes)) {
  77. ^
  78. /usr/src/linux-4.19.4-1/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
  79. # define unlikely(x) __builtin_expect(!!(x), 0)
  80. ^
  81. /usr/src/linux-4.19.4-1/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
  82. /usr/src/linux-4.19.4-1/include/asm-generic/qrwlock.h:75:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
  83. cnts, cnts | _QW_LOCKED) == cnts);
  84. ^~
  85. /usr/src/linux-4.19.4-1/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
  86. # define likely(x) __builtin_expect(!!(x), 1)
  87. ^
  88. /usr/src/linux-4.19.4-1/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
  89. /usr/src/linux-4.19.4-1/include/linux/mmzone.h:984:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
  90. if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
  91. ^~
  92. /usr/src/linux-4.19.4-1/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
  93. # define likely(x) __builtin_expect(!!(x), 1)
  94. ^
  95. In file included from /usr/src/linux-4.19.4-1/arch/x86/include/asm/current.h:6,
  96. from /usr/src/linux-4.19.4-1/include/linux/sched.h:12,
  97. from /usr/src/linux-4.19.4-1/include/linux/utsname.h:6,
  98. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv-linux.h:44,
  99. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c:13:
  100. /usr/src/linux-4.19.4-1/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
  101. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  102. ((val) == 1 || (val) == -1)) ? \
  103. ^~
  104. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  105. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  106. ^~~~~~~~~~~~~
  107. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_1’
  108. case 1: stem##1(variable, __VA_ARGS__);break; \
  109. ^~~~
  110. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
  111. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  112. ^~~~~~~~~~~~~~~~
  113. /usr/src/linux-4.19.4-1/include/linux/percpu-refcount.h:183:3: note: in expansion of macro ‘this_cpu_add’
  114. this_cpu_add(*percpu_count, nr);
  115. ^~~~~~~~~~~~
  116. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  117. ((val) == 1 || (val) == -1)) ? \
  118. ^~
  119. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  120. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  121. ^~~~~~~~~~~~~
  122. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_2’
  123. case 2: stem##2(variable, __VA_ARGS__);break; \
  124. ^~~~
  125. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
  126. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  127. ^~~~~~~~~~~~~~~~
  128. /usr/src/linux-4.19.4-1/include/linux/percpu-refcount.h:183:3: note: in expansion of macro ‘this_cpu_add’
  129. this_cpu_add(*percpu_count, nr);
  130. ^~~~~~~~~~~~
  131. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  132. ((val) == 1 || (val) == -1)) ? \
  133. ^~
  134. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  135. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  136. ^~~~~~~~~~~~~
  137. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_4’
  138. case 4: stem##4(variable, __VA_ARGS__);break; \
  139. ^~~~
  140. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
  141. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  142. ^~~~~~~~~~~~~~~~
  143. /usr/src/linux-4.19.4-1/include/linux/percpu-refcount.h:183:3: note: in expansion of macro ‘this_cpu_add’
  144. this_cpu_add(*percpu_count, nr);
  145. ^~~~~~~~~~~~
  146. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  147. ((val) == 1 || (val) == -1)) ? \
  148. ^~
  149. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  150. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  151. ^~~~~~~~~~~~~
  152. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:382:11: note: in expansion of macro ‘this_cpu_add_8’
  153. case 8: stem##8(variable, __VA_ARGS__);break; \
  154. ^~~~
  155. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
  156. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  157. ^~~~~~~~~~~~~~~~
  158. /usr/src/linux-4.19.4-1/include/linux/percpu-refcount.h:183:3: note: in expansion of macro ‘this_cpu_add’
  159. this_cpu_add(*percpu_count, nr);
  160. ^~~~~~~~~~~~
  161. /usr/src/linux-4.19.4-1/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
  162. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  163. ((val) == 1 || (val) == -1)) ? \
  164. ^~
  165. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
  166. #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  167. ^~~~~~~~~~~~~
  168. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_1’
  169. case 1: stem##1(variable, __VA_ARGS__);break; \
  170. ^~~~
  171. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
  172. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  173. ^~~~~~~~~~~~~~~~
  174. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:521:33: note: in expansion of macro ‘this_cpu_add’
  175. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  176. ^~~~~~~~~~~~
  177. /usr/src/linux-4.19.4-1/include/linux/percpu-refcount.h:282:3: note: in expansion of macro ‘this_cpu_sub’
  178. this_cpu_sub(*percpu_count, nr);
  179. ^~~~~~~~~~~~
  180. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  181. ((val) == 1 || (val) == -1)) ? \
  182. ^~
  183. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
  184. #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  185. ^~~~~~~~~~~~~
  186. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_2’
  187. case 2: stem##2(variable, __VA_ARGS__);break; \
  188. ^~~~
  189. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
  190. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  191. ^~~~~~~~~~~~~~~~
  192. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:521:33: note: in expansion of macro ‘this_cpu_add’
  193. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  194. ^~~~~~~~~~~~
  195. /usr/src/linux-4.19.4-1/include/linux/percpu-refcount.h:282:3: note: in expansion of macro ‘this_cpu_sub’
  196. this_cpu_sub(*percpu_count, nr);
  197. ^~~~~~~~~~~~
  198. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  199. ((val) == 1 || (val) == -1)) ? \
  200. ^~
  201. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
  202. #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  203. ^~~~~~~~~~~~~
  204. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_4’
  205. case 4: stem##4(variable, __VA_ARGS__);break; \
  206. ^~~~
  207. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
  208. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  209. ^~~~~~~~~~~~~~~~
  210. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:521:33: note: in expansion of macro ‘this_cpu_add’
  211. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  212. ^~~~~~~~~~~~
  213. /usr/src/linux-4.19.4-1/include/linux/percpu-refcount.h:282:3: note: in expansion of macro ‘this_cpu_sub’
  214. this_cpu_sub(*percpu_count, nr);
  215. ^~~~~~~~~~~~
  216. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
  217. ((val) == 1 || (val) == -1)) ? \
  218. ^~
  219. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
  220. #define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  221. ^~~~~~~~~~~~~
  222. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:382:11: note: in expansion of macro ‘this_cpu_add_8’
  223. case 8: stem##8(variable, __VA_ARGS__);break; \
  224. ^~~~
  225. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
  226. #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
  227. ^~~~~~~~~~~~~~~~
  228. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:521:33: note: in expansion of macro ‘this_cpu_add’
  229. #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
  230. ^~~~~~~~~~~~
  231. /usr/src/linux-4.19.4-1/include/linux/percpu-refcount.h:282:3: note: in expansion of macro ‘this_cpu_sub’
  232. this_cpu_sub(*percpu_count, nr);
  233. ^~~~~~~~~~~~
  234. In file included from /usr/src/linux-4.19.4-1/include/linux/page_ref.h:7,
  235. from /usr/src/linux-4.19.4-1/include/linux/mm.h:26,
  236. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv-linux.h:68,
  237. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c:13:
  238. /usr/src/linux-4.19.4-1/include/linux/page-flags.h: In function ‘PagePoisoned’:
  239. /usr/src/linux-4.19.4-1/include/linux/page-flags.h:162:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
  240. return page->flags == PAGE_POISON_PATTERN;
  241. ^~
  242. In file included from /usr/src/linux-4.19.4-1/arch/x86/include/asm/current.h:6,
  243. from /usr/src/linux-4.19.4-1/include/linux/sched.h:12,
  244. from /usr/src/linux-4.19.4-1/include/linux/utsname.h:6,
  245. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv-linux.h:44,
  246. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c:13:
  247. /usr/src/linux-4.19.4-1/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
  248. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  249. ((val) == 1 || (val) == -1)) ? \
  250. ^~
  251. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
  252. #define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
  253. ^~~~~~~~~~~~~
  254. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_1’
  255. case 1: stem##1(variable, __VA_ARGS__);break; \
  256. ^~~~
  257. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
  258. #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  259. ^~~~~~~~~~~~~~~~
  260. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
  261. raw_cpu_add(pcp, val); \
  262. ^~~~~~~~~~~
  263. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
  264. #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  265. ^~~~~~~~~~~~~~
  266. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
  267. #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  268. ^~~~~~~~~~~~~~
  269. /usr/src/linux-4.19.4-1/include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
  270. __this_cpu_dec(*sem->read_count);
  271. ^~~~~~~~~~~~~~
  272. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  273. ((val) == 1 || (val) == -1)) ? \
  274. ^~
  275. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
  276. #define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
  277. ^~~~~~~~~~~~~
  278. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_2’
  279. case 2: stem##2(variable, __VA_ARGS__);break; \
  280. ^~~~
  281. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
  282. #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  283. ^~~~~~~~~~~~~~~~
  284. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
  285. raw_cpu_add(pcp, val); \
  286. ^~~~~~~~~~~
  287. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
  288. #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  289. ^~~~~~~~~~~~~~
  290. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
  291. #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  292. ^~~~~~~~~~~~~~
  293. /usr/src/linux-4.19.4-1/include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
  294. __this_cpu_dec(*sem->read_count);
  295. ^~~~~~~~~~~~~~
  296. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  297. ((val) == 1 || (val) == -1)) ? \
  298. ^~
  299. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
  300. #define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
  301. ^~~~~~~~~~~~~
  302. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_4’
  303. case 4: stem##4(variable, __VA_ARGS__);break; \
  304. ^~~~
  305. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
  306. #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  307. ^~~~~~~~~~~~~~~~
  308. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
  309. raw_cpu_add(pcp, val); \
  310. ^~~~~~~~~~~
  311. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
  312. #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  313. ^~~~~~~~~~~~~~
  314. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
  315. #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  316. ^~~~~~~~~~~~~~
  317. /usr/src/linux-4.19.4-1/include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
  318. __this_cpu_dec(*sem->read_count);
  319. ^~~~~~~~~~~~~~
  320. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  321. ((val) == 1 || (val) == -1)) ? \
  322. ^~
  323. /usr/src/linux-4.19.4-1/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’
  324. #define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
  325. ^~~~~~~~~~~~~
  326. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:382:11: note: in expansion of macro ‘raw_cpu_add_8’
  327. case 8: stem##8(variable, __VA_ARGS__);break; \
  328. ^~~~
  329. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
  330. #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
  331. ^~~~~~~~~~~~~~~~
  332. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
  333. raw_cpu_add(pcp, val); \
  334. ^~~~~~~~~~~
  335. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
  336. #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
  337. ^~~~~~~~~~~~~~
  338. /usr/src/linux-4.19.4-1/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
  339. #define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
  340. ^~~~~~~~~~~~~~
  341. /usr/src/linux-4.19.4-1/include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
  342. __this_cpu_dec(*sem->read_count);
  343. ^~~~~~~~~~~~~~
  344. In file included from /usr/src/linux-4.19.4-1/arch/x86/include/asm/paravirt.h:17,
  345. from /usr/src/linux-4.19.4-1/arch/x86/include/asm/irqflags.h:68,
  346. from /usr/src/linux-4.19.4-1/include/linux/irqflags.h:16,
  347. from /usr/src/linux-4.19.4-1/include/linux/rcupdate.h:39,
  348. from /usr/src/linux-4.19.4-1/include/linux/rculist.h:11,
  349. from /usr/src/linux-4.19.4-1/include/linux/pid.h:5,
  350. from /usr/src/linux-4.19.4-1/include/linux/sched.h:14,
  351. from /usr/src/linux-4.19.4-1/include/linux/utsname.h:6,
  352. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv-linux.h:44,
  353. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c:13:
  354. /usr/src/linux-4.19.4-1/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
  355. /usr/src/linux-4.19.4-1/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  356. (cpu) < nr_cpu_ids;)
  357. ^
  358. /usr/src/linux-4.19.4-1/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  359. #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  360. ^~~~~~~~~~~~
  361. /usr/src/linux-4.19.4-1/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’
  362. for_each_online_cpu(cpu)
  363. ^~~~~~~~~~~~~~~~~~~
  364. /usr/src/linux-4.19.4-1/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
  365. /usr/src/linux-4.19.4-1/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  366. (cpu) < nr_cpu_ids;)
  367. ^
  368. /usr/src/linux-4.19.4-1/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
  369. #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
  370. ^~~~~~~~~~~~
  371. /usr/src/linux-4.19.4-1/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’
  372. for_each_online_cpu(cpu)
  373. ^~~~~~~~~~~~~~~~~~~
  374. In file included from /usr/src/linux-4.19.4-1/include/linux/efi.h:20,
  375. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv-linux.h:156,
  376. from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c:13:
  377. /usr/src/linux-4.19.4-1/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
  378. /usr/src/linux-4.19.4-1/include/linux/rtc.h:245:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  379. if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
  380. ^
  381. /usr/src/linux-4.19.4-1/include/linux/rtc.h:250:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  382. if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
  383. ^
  384. In file included from /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c:13:
  385. /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv-linux.h: At top level:
  386. /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!"
  387. #error "This driver requires the ability to change memory types!"
  388. ^~~~~
  389. /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c: In function ‘nvidia_unlocked_ioctl’:
  390. /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c:1827:31: error: ‘struct file’ has no member named ‘f_dentry’; did you mean ‘f_owner’?
  391. return nvidia_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
  392. ^~~~~~~~
  393. f_owner
  394. /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c: In function ‘nv_start_rc_timer’:
  395. /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c:2393:5: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
  396. init_timer(&nvl->rc_timer);
  397. ^~~~~~~~~~
  398. init_timers
  399. /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c:2394:28: error: assignment to ‘void (*)(struct timer_list *)’ from incompatible pointer type ‘void (*)(long unsigned int)’ [-Werror=incompatible-pointer-types]
  400. nvl->rc_timer.function = nvidia_rc_timer;
  401. ^
  402. /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.c:2395:18: error: ‘struct timer_list’ has no member named ‘data’
  403. nvl->rc_timer.data = (unsigned long) nvl;
  404. ^
  405. cc1: some warnings being treated as errors
  406. make[3]: *** [/usr/src/linux-4.19.4-1/scripts/Makefile.build:307: /tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel/nv.o] Error 1
  407. make[2]: *** [/usr/src/linux-4.19.4-1/Makefile:1532: _module_/tmp/selfgz4516/NVIDIA-Linux-x86_64-340.46/kernel] Error 2
  408. make[2]: Leaving directory '/usr/src/linux-4.19.4-1-obj/x86_64/default'
  409. make[1]: *** [Makefile:146: sub-make] Error 2
  410. make[1]: Leaving directory '/usr/src/linux-4.19.4-1'
  411. NVIDIA: left KBUILD.
  412. nvidia.ko failed to build!
  413. make: *** [Makefile:178: nvidia.ko] Error 1
  414. -> Error.
  415. ERROR: Unable to build the NVIDIA kernel module.
  416. 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement