PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehlermeldungen vom Nouveau Treiber



Seiten : [1] 2

f.gruber
07.02.19, 21:49
Hallo,
bei einem Linuxsystem (openSUSE 15.0) sehe ich in den Logs eine Menge Fehlermeldungen (in roter Schrift). Der Besitzer dieses Computers klagt über Bildstörungen und Abstürze, weswegen ich mir über SSH die LOGS angeschaut habe.
Leider kann ich mir diesen PC derzeit nur remote "anschauen".

Da ich mit diesen Fehlermeldungen gar nichts anfange, bitte ich um klärende Kommentare.

Zuerst die Infos über die Grafikkarte.


23: PCI 100.0: 0300 VGA compatible controller (VGA)
[Created at pci.386]
Unique ID: VCu0.y6r8Vf5eh60
Parent ID: vSkL.127w+wg+T59
SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
SysFS BusID: 0000:01:00.0
Hardware Class: graphics card
Model: "nVidia GT215 [GeForce GT 240]"
Vendor: pci 0x10de "nVidia Corporation"
Device: pci 0x0ca3 "GT215 [GeForce GT 240]"
SubVendor: pci 0x19da "ZOTAC International (MCO) Ltd."
SubDevice: pci 0x1142
Revision: 0xa2
Driver: "nouveau"
Driver Modules: "nouveau"
Memory Range: 0xfd000000-0xfdffffff (rw,non-prefetchable)
Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
Memory Range: 0xde000000-0xdfffffff (ro,non-prefetchable)
I/O Ports: 0xdc00-0xdc7f (rw)
Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
IRQ: 27 (180613 events)
I/O Ports: 0x3c0-0x3df (rw)
Module Alias: "pci:v000010DEd00000CA3sv000019DAsd00001142bc03sc00 i00"
Driver Info #0:
Driver Status: nouveau is active
Driver Activation Cmd: "modprobe nouveau"
Driver Info #1:
Driver Status: nvidia_drm is not active
Driver Activation Cmd: "modprobe nvidia_drm"
Driver Info #2:
Driver Status: nvidia is not active
Driver Activation Cmd: "modprobe nvidia"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #20 (PCI bridge)

Und jetzt die Fehlermeldungen - Ausgabe von journalctl -b:

kernel: nouveau 0000:01:00.0: gr: magic set 0:
kernel: nouveau 0000:01:00.0: gr: 00408604: d40d4001
kernel: nouveau 0000:01:00.0: gr: 00408608: 9600afaf
kernel: nouveau 0000:01:00.0: gr: 0040860c: 40000430
kernel: nouveau 0000:01:00.0: gr: 00408610: afaf0000
kernel: nouveau 0000:01:00.0: gr: TRAP_TEXTURE - TP0: 00000003 [ FAULT]
kernel: nouveau 0000:01:00.0: gr: magic set 1:
kernel: nouveau 0000:01:00.0: gr: 00408e04: d40d4101
kernel: nouveau 0000:01:00.0: gr: 00408e08: 9600afaf
kernel: nouveau 0000:01:00.0: gr: 00408e0c: 40000430
kernel: nouveau 0000:01:00.0: gr: 00408e10: afaf0000
kernel: nouveau 0000:01:00.0: gr: TRAP_TEXTURE - TP1: 00000003 [ FAULT]
kernel: nouveau 0000:01:00.0: gr: magic set 2:
kernel: nouveau 0000:01:00.0: gr: 00409604: d40d6301
kernel: nouveau 0000:01:00.0: gr: 00409608: 9600afaf
kernel: nouveau 0000:01:00.0: gr: 0040960c: 40000430
kernel: nouveau 0000:01:00.0: gr: 00409610: afaf0000
kernel: nouveau 0000:01:00.0: gr: TRAP_TEXTURE - TP2: 00000003 [ FAULT]
kernel: nouveau 0000:01:00.0: gr: magic set 3:
kernel: nouveau 0000:01:00.0: gr: 00409e04: d40d2301
kernel: nouveau 0000:01:00.0: gr: 00409e08: 9600afaf
kernel: nouveau 0000:01:00.0: gr: 00409e0c: 40000430
kernel: nouveau 0000:01:00.0: gr: 00409e10: afaf0000
kernel: nouveau 0000:01:00.0: gr: TRAP_TEXTURE - TP3: 00000003 [ FAULT]
kernel: nouveau 0000:01:00.0: gr: 00200000 [] ch 8 [001f60d000 plasmashell[1350]] subc 3 class 8597 mthd 1b0c data 1000f010
kernel: nouveau 0000:01:00.0: fb: trapped read at 9600afaf00 on channel 8 [1f60d000 plasmashell[1350]] engine 00 [PGRAPH] client 0a [TEXTURE] subclient 00 [] reason 00000000 [PT_NOT_PRESENT]
Danke für jeden Tipp.

towo2099
08.02.19, 05:37
Es ist weithin bekannt, dass Nouveau und KDE / Plasma seit gefühlt einer Ewigkeit nicht funktioniert. Da bleibt nur die Installation vom Blob.

f.gruber
08.02.19, 07:20
... Da bleibt nur die Installation vom Blob.
Ist mit "Blob" der proprietäre nVidia Treiber gemeint?
Welchen soll ich da nehmen. Zypper zeigt 3 Varianten:
nvidia-gfxG03-kmp-default | NVIDIA graphics driver kernel module for GeForce 8xxx and newer GPUs
nvidia-gfxG04-kmp-default | NVIDIA graphics driver kernel module for GeForce 400 series and newer
nvidia-gfxG05-kmp-default | NVIDIA graphics driver kernel module for GeForce 400 series and newer

Sauerland1
08.02.19, 08:07
Dieser Treiber:

nvidia-gfxG03-kmp-default | NVIDIA graphics driver kernel module for GeForce 8xxx and newer GPUs

Huhn Hur Tu
08.02.19, 11:03
Ja das mit nouveau ist schon schlimm, auf Arbeit muss ich den proprietaeren Treiber nehmenb, daheim bin ich auf mit AMD ganz zufrieden

f.gruber
08.02.19, 11:06
Danke für die Info. Mich würde sehr interessieren, wie man das selber herausfinden kann, welche Variante für welche nVidia Karte passt. Das Modell hat laut hwinfo die Bezeichnung
nVidia GT215 [GeForce GT 240]. Wie erkennt man, dass die neuer als GeForce 8xxx ist?

Sauerland1
08.02.19, 15:27
http://www.nvidia.de/Download/index.aspx?lang=de
Und dort Beta Treiber.......

f.gruber
08.02.19, 21:33
http://www.nvidia.de/Download/index.aspx?lang=de
Und dort Beta Treiber.......
Warum eigentlich Beta Treiber? Die sind ja ziemlich alt, wie ich sehe.

Ich habe mit YAST den im nVidia Repository angebotenen Treiber installiert. Version 340.107_k4.12.14_lp150.11-lp150.12.1
Und nun sehe ich (über VNC) nur mehr den Mauszeiger auf schwarzem Hintergrund. Außerdem erscheint die Meldung "Plasma kann nicht gestartet werden, da OpenGL 2 nicht richtig funktioniert".

corresponder
08.02.19, 21:47
Es ist weithin bekannt, dass Nouveau und KDE / Plasma seit gefühlt einer Ewigkeit nicht funktioniert. Da bleibt nur die Installation vom Blob.


http://www.nvidia.de/Download/index.aspx?lang=de
Und dort Beta Treiber.......

@f.gruber
du liest aber schon, was dir hier so geantwortet wird?
gruss

f.gruber
08.02.19, 22:13
Ich lese alles aber verstehe nicht alles. :mad:

Was heißt "Da bleibt nur die Installation vom Blob"? Wäre nett, wenn mir das jemand erklären könnte.
Und kann man plausibel erklären, warum der im nVidia Repo angebotene Treiber bei dieser Grafikkarte nicht funktioniert.
Ich möchte gerne wissen, warum man einen BETA Treiber installieren soll, der vor 5 Jahren herausgegeben worden ist ...

Ich bin jetzt einmal zurückgerudert zu nouveau, damit ich wieder den Plasma Desktop zu sehen bekomme. Außerdem habe ich die OpenGL 2 Erkennung deaktiviert:


# ~/.config/kwinrc
OpenGLIsUnsafe=true

corresponder
08.02.19, 22:27
Was heißt "Da bleibt nur die Installation vom Blob"?

schreib "nvidia und blob" in die suchmaschine deiner wahl und du wirst es erfahren ;-)

der Nvidia Treiber ist schon immer problematisch, da es sehr viele chipsätze gibt - meine laufen alle mit dem originalen -
das ist nicht immer der fall...

was ist gegen einen beta-treiber zu sagen, wenn opengl dann funktioniert?

Sauerland1
09.02.19, 08:09
Warum eigentlich Beta Treiber? Die sind ja ziemlich alt, wie ich sehe.
Aber:
Auf der Einstiegsseite wird nach dem ausfüllen der Spalten nur der letzte Treiber angezeigt und der muss nicht der beste sein......
Auf der beta Seite werden alle für deine Grafikkarte angezeigt......

Übrigens:
Alter muss nicht immer schlecht sein......

f.gruber
09.02.19, 09:39
Gibt es irgendwo eine Informationsquelle, der man entnehmen kann, welche BLOB-Treiberversion für welche nVidia-Grafikkarte funktioniert?
Ist man da nur auf Versuch und Irrtum angewiesen? Ich habe meistens mit älteren Computern zu tun - Computerspiele sind da eher nicht gefragt. So weit ich mich auskenne, braucht man ja hauptsächlich dafür die Videobeschleunigung. Es geht mir eigentlich um die üblichen Office Anwendungen. Na ja, Videos sollte man schon ordentlich abspielen können.

Ich kämpfe mit diesen nVidia Problemen - speziell unter Suse mit KDE/Plasma Desktop - seit ich mich mit Linux beschäftige, das sind jetzt schon mehr als 15 Jahre ...

Wenn ich nun einen heruntergeladenen BETA Treiber (BLOB) installiere, muss ich zuvor nouveau deinstallieren, nehme ich an. Sehe ich das richtig?


... Alter muss nicht immer schlecht sein ...
Das gilt hoffentlich auch für mich :confused:

Sauerland1
09.02.19, 10:34
Wenn ich nun einen heruntergeladenen BETA Treiber (BLOB) installiere, muss ich zuvor nouveau deinstallieren, nehme ich an. Sehe ich das richtig?
Gerade nicht, wenn der Nvidia nicht tut hast du dir die danach beste Möglichkeit verbaut, dann musst den wieder installieren. Der Nouveau wird bei der Nvidia Installation automatisch vom laden abgehalten.


Es gibt keine Seite, die dir angibt: Grafikkarte X läuft mit dem Nvidia Treiber.....

Ach übrigens:
Wenns nicht läuft, ist das /var/log/Xorg.0.log oft sehr hilfreich.....

f.gruber
09.02.19, 19:15
Habe folgenden Treiber heruntergeladen:

-rwxrwxr-x 1 root root 69668217 5. Jun 2014 NVIDIA-Linux-x86_64-340.17.run
Dann das Installationsscript gestartet. Leider weigert sich das Installer Script das Kernelmodul zu kompilieren.

Hier das Logfile /var/log/nvidia-installer.log:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Feb 9 19:49:11 2019
installer version: 340.17

PATH: /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/sbin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 340.17.
-> Running distribution scripts
executing: '/usr/lib/nvidia/pre-install'...
grep: /etc/sysconfig/kernel: Datei oder Verzeichnis nicht gefunden
-> done.
-> 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)
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Kernel source path: '/lib/modules/4.12.14-lp150.12.45-default/source'
-> Kernel output path: '/lib/modules/4.12.14-lp150.12.45-default/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/4.12.14-lp150.12.45-default/source SYSOUT=/lib/modules/4.12.14-lp150.12.45-default/build NV_BUILD_MODULE_INSTANCES='...
NVIDIA: calling KBUILD...
make[1]: Verzeichnis „/usr/src/linux-4.12.14-lp150.12.45“ wird betreten
/usr/bin/make -C /lib/modules/4.12.14-lp150.12.45-default/build KBUILD_SRC=/usr/src/linux-4.12.14-lp150.12.45 \
-f /usr/src/linux-4.12.14-lp150.12.45/Makefile modules
make[2]: Verzeichnis „/usr/src/linux-4.12.14-lp150.12.45-obj/x86_64/default“ wird betreten
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)
mkdir -p /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/.tmp_versions ; rm -f /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/.tmp_versions/*
/usr/bin/make -f /usr/src/linux-4.12.14-lp150.12.45/scripts/Makefile.build obj=/tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel
cc -Wp,-MD,/tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/.nv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/7/include -I/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.12.14-lp150.12.45/include -I./include -I/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/uapi -I/usr/src/linux-4.12.14-lp150.12.45/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.12.14-lp150.12.45/include/linux/kconfig.h -I/tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel -I/tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/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 -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-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X3
2_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 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE
_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.17\" -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/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/.tmp_nv.o /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv.c
In file included from /usr/src/linux-4.12.14-lp150.12.45/include/linux/byteorder/little_endian.h:6:0,
from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/uapi/asm/byteorder.h:4,
from /usr/src/linux-4.12.14-lp150.12.45/include/asm-generic/bitops/le.h:5,
from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/bitops.h:517,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/bitops.h:36,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/kernel.h:10,
from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:44,
from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/current.h:5,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/sched.h:11,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/utsname.h:5,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv-linux.h:44,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv.c:13:
/usr/src/linux-4.12.14-lp150.12.45/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-4.12.14-lp150.12.45/include/linux/byteorder/generic.h:177:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
/usr/src/linux-4.12.14-lp150.12.45/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-4.12.14-lp150.12.45/include/linux/byteorder/generic.h:185:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < len; i++)
^
In file included from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/current.h:4:0,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/sched.h:11,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/utsname.h:5,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv-linux.h:44,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv.c:13:
/usr/src/linux-4.12.14-lp150.12.45/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-4.12.14-lp150.12.45/include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/linux-4.12.14-lp150.12.45/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/smp.h:12:0,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/smp.h:63,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu.h:6,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/hrtimer.h:22,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/sched.h:19,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/utsname.h:5,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv-linux.h:44,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv.c:13:
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/apic.h: In function ‘__default_cpu_present_to_apicid’:
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/apic.h:601:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mps_cpu < nr_cpu_ids && cpu_present(mps_cpu))
^
In file included from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/current.h:4:0,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/sched.h:11,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/utsname.h:5,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv-linux.h:44,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv.c:13:
/usr/src/linux-4.12.14-lp150.12.45/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-4.12.14-lp150.12.45/include/linux/mmzone.h:996:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
/usr/src/linux-4.12.14-lp150.12.45/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/current.h:5:0,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/sched.h:11,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/utsname.h:5,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv-linux.h:44,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv.c:13:
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:382:11: note: in expansion of macro ‘this_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-refcount.h:176:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:521:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:521:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:521:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:382:11: note: in expansion of macro ‘this_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:521:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-refcount.h:275:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:382:11: note: in expansion of macro ‘raw_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~~~
In file included from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/cpufeature.h:4,
from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/thread_info.h:52,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/thread_info.h:37,
from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/preempt.h:6,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/preempt.h:80,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/spinlock.h:50,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/rcupdate.h:38,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/rculist.h:10,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/pid.h:4,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/sched.h:13,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/utsname.h:5,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv-linux.h:44,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv.c:13:
/usr/src/linux-4.12.14-lp150.12.45/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-4.12.14-lp150.12.45/include/linux/cpumask.h:227:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
/usr/src/linux-4.12.14-lp150.12.45/include/linux/cpumask.h:762:36: note: in expansion of macro ‘for_each_cpu’
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/vmstat.h:135:2: note: in expansion of macro ‘for_each_online_cpu’
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-4.12.14-lp150.12.45/include/linux/cpumask.h:227:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
/usr/src/linux-4.12.14-lp150.12.45/include/linux/cpumask.h:762:36: note: in expansion of macro ‘for_each_cpu’
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/vmstat.h:200:2: note: in expansion of macro ‘for_each_online_cpu’
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/vmstat.h: In function ‘node_page_state_snapshot’:
/usr/src/linux-4.12.14-lp150.12.45/include/linux/cpumask.h:227:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
/usr/src/linux-4.12.14-lp150.12.45/include/linux/cpumask.h:762:36: note: in expansion of macro ‘for_each_cpu’
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
/usr/src/linux-4.12.14-lp150.12.45/include/linux/vmstat.h:216:2: note: in expansion of macro ‘for_each_online_cpu’
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-4.12.14-lp150.12.45/arch/x86/include/asm/current.h:4:0,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/sched.h:11,
from /usr/src/linux-4.12.14-lp150.12.45/include/linux/utsname.h:5,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv-linux.h:44,
from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv.c:13:
/usr/src/linux-4.12.14-lp150.12.45/include/linux/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-4.12.14-lp150.12.45/include/linux/uaccess.h:152:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
^
/usr/src/linux-4.12.14-lp150.12.45/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/linux-4.12.14-lp150.12.45/include/linux/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-4.12.14-lp150.12.45/include/linux/uaccess.h:171:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
^
/usr/src/linux-4.12.14-lp150.12.45/include/linux/compiler.h:178:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv.c:13:0:
/tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv-linux.h: At top level:
/tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv-linux.h:195:2: error: #error "This driver requires the ability to change memory types!"
#error "This driver requires the ability to change memory types!"
^~~~~
/tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv.c: In function ‘nvidia_unlocked_ioctl’:
/tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv.c:1830:31: error: ‘struct file’ has no member named ‘f_dentry’; did you mean ‘f_owner’?
return nvidia_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
^~~~~~~~
f_owner
make[3]: *** [/usr/src/linux-4.12.14-lp150.12.45/scripts/Makefile.build:328: /tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel/nv.o] Fehler 1
make[2]: *** [/usr/src/linux-4.12.14-lp150.12.45/Makefile:1562: _module_/tmp/selfgz2297/NVIDIA-Linux-x86_64-340.17/kernel] Fehler 2
make[2]: Verzeichnis „/usr/src/linux-4.12.14-lp150.12.45-obj/x86_64/default“ wird verlassen
make[1]: *** [Makefile:152: sub-make] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-4.12.14-lp150.12.45“ wird verlassen
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** [Makefile:176: nvidia.ko] Fehler 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.


Ziemlich am Anfang steht im Logfile:

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.";

Ich habe daher folgendes gemacht:


cd /usr/src/linux
make oldconfig && make prepare
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/uapi/linux/suse_version.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
DESCEND objtool
Also keine Fehlermeldung. Beim nächsten Versuch, den Treiber zu installieren, geht es aber trotzdem wieder nicht.
Die Fehlermeldung bleibt.

Bitte um Hilfe.

tomm.fa
09.02.19, 20:11
Was ergibt denn die Ausgabe von

zypper se -si kernel
?

f.gruber
09.02.19, 20:58
S | Name | Typ | Version | Arch | Repository
---+----------------------+-------+-----------------------+--------+--------------------------------
i+ | kernel-default | Paket | 4.12.14-lp150.12.45.1 | x86_64 | Hauptaktualisierungs-Repository
i+ | kernel-default | Paket | 4.12.14-lp150.12.45.1 | x86_64 | openSUSE-Leap-15.0-Update
i+ | kernel-default | Paket | 4.12.14-lp150.12.25.1 | x86_64 | Hauptaktualisierungs-Repository
i+ | kernel-default | Paket | 4.12.14-lp150.12.25.1 | x86_64 | openSUSE-Leap-15.0-Update
i+ | kernel-default-devel | Paket | 4.12.14-lp150.12.45.1 | x86_64 | Hauptaktualisierungs-Repository
i+ | kernel-default-devel | Paket | 4.12.14-lp150.12.45.1 | x86_64 | openSUSE-Leap-15.0-Update
i+ | kernel-default-devel | Paket | 4.12.14-lp150.12.25.1 | x86_64 | Hauptaktualisierungs-Repository
i+ | kernel-default-devel | Paket | 4.12.14-lp150.12.25.1 | x86_64 | openSUSE-Leap-15.0-Update
i+ | kernel-devel | Paket | 4.12.14-lp150.12.45.1 | noarch | Hauptaktualisierungs-Repository
i+ | kernel-devel | Paket | 4.12.14-lp150.12.45.1 | noarch | openSUSE-Leap-15.0-Update
i+ | kernel-devel | Paket | 4.12.14-lp150.12.25.1 | noarch | Hauptaktualisierungs-Repository
i+ | kernel-devel | Paket | 4.12.14-lp150.12.25.1 | noarch | openSUSE-Leap-15.0-Update
i+ | kernel-firmware | Paket | 20181218-lp150.2.9.1 | noarch | Hauptaktualisierungs-Repository
i+ | kernel-firmware | Paket | 20181218-lp150.2.9.1 | noarch | openSUSE-Leap-15.0-Update
i+ | kernel-macros | Paket | 4.12.14-lp150.12.45.1 | noarch | Hauptaktualisierungs-Repository
i+ | kernel-macros | Paket | 4.12.14-lp150.12.45.1 | noarch | openSUSE-Leap-15.0-Update
i+ | kernel-source | Paket | 4.12.14-lp150.12.45.1 | noarch | Hauptaktualisierungs-Repository
i+ | kernel-source | Paket | 4.12.14-lp150.12.45.1 | noarch | openSUSE-Leap-15.0-Update
i+ | kernel-syms | Paket | 4.12.14-lp150.12.45.1 | x86_64 | Hauptaktualisierungs-Repository
i+ | kernel-syms | Paket | 4.12.14-lp150.12.45.1 | x86_64 | openSUSE-Leap-15.0-Update

Sauerland1
10.02.19, 06:54
-
rwxrwxr-x 1 root root 69668217 5. Jun 2014 NVIDIA-Linux-x86_64-340.17.run
Da wirst du viel patchen müssen......

Der openSUSE Kernel ist afaik ein zurückportierter Kernel 4.14.........

Nimm den letzten Treiber 340.107
Den kannst du aber nur kompilieren, wenn keine Grafische Oberfläche läuft, nennt sich multi-user.target, früher Runlevel 3.

f.gruber
10.02.19, 07:56
Den neuesten Treiber hatte ich ja mit YAST über SSH installiert. Ziemlich sicher hatte ich zuvor in den Runlevel 3 geschaltet. Die Installation funktionierte jedenfalls problemlos.
Aber nach dem Neustart sah ich eben nur den Mauszeiger auf schwarzem Grund anstatt des Plasma Desktops.

Übrigens, es wurde mir vorgeschlagen, BETA Treiber zu nehmen. Der Treiber 340.107 ist aber kein BETA Treiber.

Sauerland1
10.02.19, 08:32
Nur mal zur Info:
Die vom 340 er Treiber unterstützten Grafikkarten sind Auslaufmodelle.Der Treiber ebenso, ist z.B. im Nvidia-Tumbleweed.Repo nicht mehr vorhanden.

Ob du den Treiber aus dem Nvidia Repo installierst oder per run Datei sind 2 Paar Stiefel.
Nimm den letzten und versuche es, ich kann das mangels Hardware nicht nachvollziehen.
Ich schätze aber mal, der baut ohne Patch auch nicht.

Poste mal deine /var/log/Xorg.0.log als Anhang.

f.gruber
10.02.19, 11:06
Ich habe jetzt den Treiber Version 340.107 von der nVidia Downloadseite heruntergeladen.

-rwxrwxr-x 1 root root 70233686 31. Mai 2018 NVIDIA-Linux-x86_64-340.107.run
Die Installation hat geklappt und der Computer startet offensichtlich normal in den Plasma Desktop.

Wenn ich aber in der YAST Softwareverwaltung nachschaue, sehe ich, dass noch der nouveau Treiber installiert ist. Ich nehme aber an, dass das kein Problem ist, da er ja vom nVidia Installationsscript deaktiviert worden ist. Also lass ich den einfach installiert.

Und das NVIDIA Repo kann ich dann auch entfernen, denke ich. Sehe ich das richtig?

Der Monitor ist übrigens nicht an der OnBoard Grafikkarte angeschlossen. Die Karte GT215 [GeForce GT 240] steckt im PCI-e Streckplatz.

Um sicherzugehen, dass jetzt wirklich alles ok ist, poste ich hier noch die aktuelle Xorg.0.log. Bitte noch ein Auge darauf zu werfen, ob man damit jetzt leben kann und ob wirklich der nVidia Treiber am Werk ist. Ganz unten in der Log Datei stehen schon eigenartige Sachen, etwa dass der Monitor nicht NVIDIA 3D unterstützt. Ich weiß ja leider nicht, was das heißen soll ...

21425

corresponder
10.02.19, 12:19
starte doch einfach im X einen Terminal und in dem


glxgears

dann weisst du ob opengl funktioniert.

gruss

Sauerland1
10.02.19, 12:35
Wenn ich aber in der YAST Softwareverwaltung nachschaue, sehe ich, dass noch der nouveau Treiber installiert ist. Ich nehme aber an, dass das kein Problem ist, da er ja vom nVidia Installationsscript deaktiviert worden ist. Also lass ich den einfach installiert.
Der eigentliche Nouveau-Treiber ist ein Kernel Modul, den siehst du in Yast so gar nicht.


linux64:~ # modinfo nouveau
filename: /lib/modules/4.20.7-2.g730812f-default/kernel/drivers/gpu/drm/nouveau/nouveau.ko
firmware: nvidia/gp100/gr/sw_method_init.bin
firmware: nvidia/gp100/gr/sw_bundle_init.bin
firmware: nvidia/gp100/gr/sw_nonctx.bin
usw.
usw.

f.gruber
10.02.19, 14:43
hwinfo --gfx sagt mir, dass der openSource nouveau Treiber inaktiv und der nvidia Treiber ( = Blob) aktiv ist:

Driver Info #0:
Driver Status: nouveau is not active
Driver Activation Cmd: "modprobe nouveau"
Driver Info #1:
Driver Status: nvidia is active
Driver Activation Cmd: "modprobe nvidia"

Damit ist nun einmal Klarheit geschaffen - und damit das Problem aus meiner derzeitigen Sicht gelöst.

Sollten auf dieser Maschine trotzdem wieder ähnliche Störungen (Einfrieren des Mauszeigers, Farbstörungen ...) auftreten, muss ich wohl davon ausgehen, dass mit der Hardware etwas nicht stimmt.

nihili
17.02.19, 10:30
Gibt es irgendwo eine Informationsquelle, der man entnehmen kann, welche BLOB-Treiberversion für welche nVidia-Grafikkarte funktioniert?
keiner scheint das bisher beantwortet zu haben.
ich habe das seinerzeit mit arch wiki (https://wiki.archlinux.org/index.php/NVIDIA#Installation) gemacht: unter "2. Determine the necessary driver version for your card".

Sauerland1
17.02.19, 11:05
keiner scheint das bisher beantwortet zu haben.
ich habe das seinerzeit mit arch wiki (https://wiki.archlinux.org/index.php/NVIDIA#Installation) gemacht: unter "2. Determine the necessary driver version for your card".

Das kann man auch auf der Nvidia Seite machen, wenn man dann auf "Beta-Treiber und Archiv" klickt und alles ausfüllt, werden die letzten funktionierenden Treiber angezeigt und man kann die dann herunterladen......

https://www.nvidia.de/Download/index.aspx?lang=de

f.gruber
17.02.19, 12:13
Ja, aber wie gesagt: Der auf der NVIDIA Donwloadseite angebotene BETA Treiber ist aus dem Jahr 2014 und hat bei dieser Grafikkarte GeForce GT 240 jedenfalls nicht funktioniert.

Aber der neueste angebotene NICHT BETA Treiber, den konnte ich installieren, und er funktioniert anscheinend. Jedenfalls hat sich die Besitzerin dieses Rechners bisher noch nicht über Bildstörungen etc. beschwert.

Den gleichen Treiber hatte ich zuvor ja mit YAST installiert. Das führte zum Crash von Plasma - jedenfalls sah ich nur den Mauszeiger auf schwarzem Grund.

Rätselhaft und anstrengend :mad:

Ich habe jetzt den Thread als "gelöst" gekennzeichnet.

Sauerland1
17.02.19, 15:17
Ja, aber wie gesagt: Der auf der NVIDIA Donwloadseite angebotene BETA Treiber ist aus dem Jahr 2014 und hat bei dieser Grafikkarte GeForce GT 240 jedenfalls nicht funktioniert.

Aber der neueste angebotene NICHT BETA Treiber, den konnte ich installieren, und er funktioniert anscheinend. Jedenfalls hat sich die Besitzerin dieses Rechners bisher noch nicht über Bildstörungen etc. beschwert.

Den gleichen Treiber hatte ich zuvor ja mit YAST installiert. Das führte zum Crash von Plasma - jedenfalls sah ich nur den Mauszeiger auf schwarzem Grund.

Rätselhaft und anstrengend :mad:

Ich habe jetzt den Thread als "gelöst" gekennzeichnet.

Ich hab mal einen Screenshot gemacht (ist nur ein Teilauszug):


https://www.krauttranslate.de/~sauerland/Auswahl_367.jpg

f.gruber
17.02.19, 20:42
Okay, und ganz oben steht der aktuelle Treiber Version 340.107, der aber kein BETA Treiber ist.

Wenn man mit den DropDown Boxen die Abfrage macht und einfach auf SUCHEN klickt, kommt eben nur dieser eine Treiber. Und den habe ich installiert und es hat funktioniert. Aber wie gesagt: YAST bietet den Treiber mit der gleichen Versionsnummer an und nach der Installation mit YAST hatte ich keinen grafischen Desktop ...

Aber egal, jetzt geht es ja :).

nihili
18.02.19, 09:42
ich habe das seinerzeit mit arch wiki (https://wiki.archlinux.org/index.php/NVIDIA#Installation) gemacht: unter "2. Determine the necessary driver version for your card".

Das kann man auch auf der Nvidia Seite machen, wenn man dann auf "Beta-Treiber und Archiv" klickt
ist es nicht besser eine Linux-spezifische Lösung anzubieten?
So kann man sich direkt auf lspci-output verlassen.