If someone could point me in the right direction to what packages I'm missing, it would be greatly appreciated!

rpm -qa|grep -iE "dkms|kernel"|sort
doktor5000 wrote:It might help if you would post what models you actually need this for. Also the output of
- Code: Select all
rpm -qa|grep -iE "dkms|kernel"|sort
rpm -qa|grep -iE "dkms|kernel"|sort
dkms-2.0.19-41.mga8
dkms-minimal-2.0.19-41.mga8
kernel-desktop-5.15.65-1.mga8-1-1.mga8
kernel-desktop-devel-5.15.65-1.mga8-1-1.mga8
kernel-desktop-devel-latest-5.15.65-1.mga8
kernel-desktop-latest-5.15.65-1.mga8
kernel-firmware-20201218-1.mga8
kernel-firmware-nonfree-20220815-1.mga8.nonfree
kernel-userspace-headers-5.15.65-1.mga8
On most systems, this means that you will need to locate and install the correct kernel-source, kernel-headers, or kernel-devel package; on some distributions, no additional packages are required.
doktor5000 wrote:Can you attach /var/log/nvidia-installer.log here ?
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Oct 18 16:43:11 2022
installer version: 340.108
PATH: /usr/local/sbin:/usr/sbin:/usr/local/bin:/usr/bin
nvidia-installer command line:
./nvidia-installer
Using: nvidia-installer ncurses v6 user interface
-> License accepted.
-> Installing NVIDIA driver version 340.108.
-> There appears to already be a driver installed on your system (version: 340.108). As part of installing this driver (version: 340.108), the existing driver will be uninstalled. Are you sure you want to continue? (Answer: Continue installation)
-> 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)
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Kernel source path: '/lib/modules/5.15.65-desktop-1.mga8/source'
-> Kernel output path: '/lib/modules/5.15.65-desktop-1.mga8/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; /usr/bin/make clean'...
-> Building NVIDIA kernel module:
executing: 'cd ./kernel; /usr/bin/make module SYSSRC=/lib/modules/5.15.65-desktop-1.mga8/source SYSOUT=/lib/modules/5.15.65-desktop-1.mga8/build NV_BUILD_MODULE_INSTANCES='...
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/src/kernel-5.15.65-desktop-1.mga8'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Mageia 10.4.0-3.mga8) 10.4.0
You are using: cc (Mageia 10.4.0-3.mga8) 10.4.0
/usr/bin/make -f ./scripts/Makefile.build obj=/tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel \
single-build= \
need-builtin=1 need-modorder=1
cc -Wp,-MMD,/tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-mageia-linux-gnu/10/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wfra
me-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -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='"nvidi
a"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.o /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c
In file included from ./include/linux/kernel.h:5,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13:
./include/linux/stdarg.h:6: warning: "va_start" redefined
6 | #define va_start(v, l) __builtin_va_start(v, l)
|
In file included from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.h:27,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:12:
/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include/stdarg.h:47: note: this is the location of the previous definition
47 | #define va_start(v,l) __builtin_va_start(v,l)
|
In file included from ./include/linux/kernel.h:5,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13:
./include/linux/stdarg.h:8: warning: "va_arg" redefined
8 | #define va_arg(v, T) __builtin_va_arg(v, T)
|
In file included from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.h:27,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:12:
/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include/stdarg.h:49: note: this is the location of the previous definition
49 | #define va_arg(v,l) __builtin_va_arg(v,l)
|
In file included from ./include/linux/kernel.h:5,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13:
./include/linux/stdarg.h:9: warning: "va_copy" redefined
9 | #define va_copy(d, s) __builtin_va_copy(d, s)
|
In file included from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.h:27,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:12:
/usr/lib/gcc/x86_64-mageia-linux-gnu/10/include/stdarg.h:52: note: this is the location of the previous definition
52 | #define va_copy(d,s) __builtin_va_copy(d,s)
|
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:7,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:33,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13:
./include/linux/byteorder/generic.h: In function 'cpu_to_be32_array':
./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]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function 'be32_to_cpu_array':
./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]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13:
./include/linux/thread_info.h: In function 'check_copy_size':
./include/linux/thread_info.h:207:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
207 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:17,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:65,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13:
./include/linux/page-flags.h: In function 'PagePoisoned':
./include/linux/page-flags.h:218:21: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare]
218 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13:
./include/linux/mmzone.h: In function 'next_zones_zonelist':
./include/linux/mmzone.h:1166:44: warning: comparison of integer expressions of different signedness: 'int' and 'enum zone_type' [-Wsign-compare]
1166 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro 'likely'
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13:
./include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro 'percpu_add_op'
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1'
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro 'this_cpu_add'
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro 'percpu_add_op'
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2'
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro 'this_cpu_add'
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro 'percpu_add_op'
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4'
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro 'this_cpu_add'
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro 'percpu_add_op'
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8'
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro 'this_cpu_add'
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_tryget_many':
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro 'percpu_add_op'
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1'
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro 'this_cpu_add'
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro 'percpu_add_op'
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2'
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro 'this_cpu_add'
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro 'percpu_add_op'
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4'
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro 'this_cpu_add'
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro 'percpu_add_op'
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8'
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro 'this_cpu_add'
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro 'percpu_add_op'
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1'
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro 'this_cpu_add'
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro 'this_cpu_sub'
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro 'percpu_add_op'
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2'
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro 'this_cpu_add'
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro 'this_cpu_sub'
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro 'percpu_add_op'
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4'
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro 'this_cpu_add'
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro 'this_cpu_sub'
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro 'percpu_add_op'
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8'
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro 'this_cpu_add'
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro 'this_cpu_sub'
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function 'percpu_up_read':
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro 'percpu_add_op'
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1'
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro 'this_cpu_add'
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro 'this_cpu_sub'
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro 'this_cpu_dec'
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro 'percpu_add_op'
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2'
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro 'this_cpu_add'
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro 'this_cpu_sub'
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro 'this_cpu_dec'
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro 'percpu_add_op'
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4'
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro 'this_cpu_add'
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro 'this_cpu_sub'
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro 'this_cpu_dec'
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro 'percpu_add_op'
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8'
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro 'this_cpu_add'
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro 'this_cpu_sub'
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro 'this_cpu_dec'
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro 'percpu_add_op'
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro 'this_cpu_add_1'
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro 'this_cpu_add'
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro 'this_cpu_sub'
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro 'this_cpu_dec'
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro 'percpu_add_op'
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro 'this_cpu_add_2'
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro 'this_cpu_add'
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro 'this_cpu_sub'
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro 'this_cpu_dec'
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro 'percpu_add_op'
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_add_4'
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro 'this_cpu_add'
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro 'this_cpu_sub'
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro 'this_cpu_dec'
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro 'percpu_add_op'
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_add_8'
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro '__pcpu_size_call'
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro 'this_cpu_add'
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro 'this_cpu_sub'
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro 'this_cpu_dec'
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:63,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:44,
from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13:
./include/linux/vmstat.h: In function 'zone_page_state_snapshot':
./include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
243 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:789:36: note: in expansion of macro 'for_each_cpu'
789 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:231:2: note: in expansion of macro 'for_each_online_cpu'
231 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/cpufreq.h: In function 'of_perf_domain_get_sharing_cpumask':
./include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
243 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:788:36: note: in expansion of macro 'for_each_cpu'
788 | #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask)
| ^~~~~~~~~~~~
./include/linux/cpufreq.h:1040:2: note: in expansion of macro 'for_each_possible_cpu'
1040 | for_each_possible_cpu(cpu) {
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:13:
/tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h: At top level:
/tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv-linux.h:122:10: fatal error: asm/kmap_types.h: No such file or directory
122 | #include <asm/kmap_types.h> /* page table entry lookup */
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:289: /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel/nv.o] Error 1
make[1]: *** [Makefile:1884: /tmp/selfgz10158/NVIDIA-Linux-x86_64-340.108/kernel] Error 2
make[1]: Leaving directory '/usr/src/kernel-5.15.65-desktop-1.mga8'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** [Makefile:197: nvidia.ko] Error 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
sturmvogel wrote:Unfortunately you will have no luck with the 340 driver series as you can‘t build the module anymore with actual kernels. There are countless reports for this issue for different distributions.
This ancient graphic card should work fine with the noveau driver btw...
Users browsing this forum: No registered users and 1 guest