[opensuse] NVRM: API mismatch: the client has the version 340.106, but this kernel module has the version 340.104.
Hi, After the kernel update I did yesterday (YOU), my warn log is full of that. <0.4> 2018-03-24 10:40:48 Telcontar kernel - - - [27870.142976] NVRM: API mismatch: the client has the version 340.106, but <0.4> 2018-03-24 10:40:48 Telcontar kernel - - - [27870.142976] NVRM: this kernel module has the version 340.104. Please <0.4> 2018-03-24 10:40:48 Telcontar kernel - - - [27870.142976] NVRM: make sure that this kernel module and all NVIDIA driver <0.4> 2018-03-24 10:40:48 Telcontar kernel - - - [27870.142976] NVRM: components have the same version. <0.4> 2018-03-24 10:40:48 Telcontar kernel - - - [27870.142981] NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22 <0.4> 2018-03-24 10:40:59 Telcontar kernel - - - [27881.608407] NVRM: API mismatch: the client has the version 340.106, but <0.4> 2018-03-24 10:40:59 Telcontar kernel - - - [27881.608407] NVRM: this kernel module has the version 340.104. Please <0.4> 2018-03-24 10:40:59 Telcontar kernel - - - [27881.608407] NVRM: make sure that this kernel module and all NVIDIA driver <0.4> 2018-03-24 10:40:59 Telcontar kernel - - - [27881.608407] NVRM: components have the same version. <0.4> 2018-03-24 10:40:59 Telcontar kernel - - - [27881.608412] NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22 ... <0.4> 2018-03-24 10:49:39 Telcontar kernel - - - [28401.172793] NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22 That was the last entry, this morning. Telcontar:~ # rpm -qa | grep -i nvidia x11-video-nvidiaG03-340.106-11.1.x86_64 nvidia-gfxG03-kmp-default-340.106_k4.4.76_1-11.1.x86_64 nvidia-computeG03-340.106-11.1.x86_64 nvidia-glG03-340.106-11.1.x86_64 nvidia-uvm-gfxG03-kmp-default-340.106_k4.4.76_1-11.1.x86_64 Telcontar:~ # I know that my nvidia drivers are not the latest, I don't like to update them because they tend to bomb-out. Should I? -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
24.03.2018 21:46, Carlos E. R. пишет:
Hi,
After the kernel update I did yesterday (YOU), my warn log is full of that.
<0.4> 2018-03-24 10:40:48 Telcontar kernel - - - [27870.142976] NVRM: API mismatch: the client has the version 340.106, but <0.4> 2018-03-24 10:40:48 Telcontar kernel - - - [27870.142976] NVRM: this kernel module has the version 340.104. Please <0.4> 2018-03-24 10:40:48 Telcontar kernel - - - [27870.142976] NVRM: make sure that this kernel module and all NVIDIA driver <0.4> 2018-03-24 10:40:48 Telcontar kernel - - - [27870.142976] NVRM: components have the same version. <0.4> 2018-03-24 10:40:48 Telcontar kernel - - - [27870.142981] NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22 <0.4> 2018-03-24 10:40:59 Telcontar kernel - - - [27881.608407] NVRM: API mismatch: the client has the version 340.106, but <0.4> 2018-03-24 10:40:59 Telcontar kernel - - - [27881.608407] NVRM: this kernel module has the version 340.104. Please <0.4> 2018-03-24 10:40:59 Telcontar kernel - - - [27881.608407] NVRM: make sure that this kernel module and all NVIDIA driver <0.4> 2018-03-24 10:40:59 Telcontar kernel - - - [27881.608407] NVRM: components have the same version. <0.4> 2018-03-24 10:40:59 Telcontar kernel - - - [27881.608412] NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22 ... <0.4> 2018-03-24 10:49:39 Telcontar kernel - - - [28401.172793] NVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22
That was the last entry, this morning.
Telcontar:~ # rpm -qa | grep -i nvidia x11-video-nvidiaG03-340.106-11.1.x86_64 nvidia-gfxG03-kmp-default-340.106_k4.4.76_1-11.1.x86_64 nvidia-computeG03-340.106-11.1.x86_64 nvidia-glG03-340.106-11.1.x86_64 nvidia-uvm-gfxG03-kmp-default-340.106_k4.4.76_1-11.1.x86_64 Telcontar:~ #
I know that my nvidia drivers are not the latest, I don't like to update them because they tend to bomb-out. Should I?
Apparently they were already updated from 340.104 to 340.106 but kernel driver was not (re-)built for your kernel. Force-installing the same version again may fix it.
On 2018-03-24 19:52, Andrei Borzenkov wrote:
Apparently they were already updated from 340.104 to 340.106 but kernel driver was not (re-)built for your kernel. Force-installing the same version again may fix it.
Ok, I'll try that. Thanks :-) -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2018-03-24 at 20:00 +0100, Carlos E. R. wrote:
On 2018-03-24 19:52, Andrei Borzenkov wrote:
Apparently they were already updated from 340.104 to 340.106 but kernel driver was not (re-)built for your kernel. Force-installing the same version again may fix it.
Ok, I'll try that. Thanks :-)
It spews a very long list of errors and warnings, but it seems to work. One I captured: Telcontar:/var/cache/zypp/packages/download.nvidia.com-leap/x86_64 # rpm --upgrade --force x11-video-nvidiaG03-340.106-11.1.x86_64.rpm --nvidia-gfxG03-kmp-default-340.106_k4.4.76_1-11.1.x86_64.rpm --nvidia-computeG03-340.106-11.1.x86_64.rpm --nvidia-glG03-340.106-11.1.x86_64.rpm --nvidia-uvm-gfxG03-kmp-default-340.106_k4.4.76_1-11.1.x86_64.rpm ... ... /sbin/ldconfig: /usr/lib/libGLcore.so.1 is not a symbolic link /sbin/ldconfig: /usr/lib64/libscintilla.so.3 is not a symbolic link /sbin/ldconfig: /usr/lib/libGLcore.so.1 is not a symbolic link /sbin/ldconfig: /usr/lib64/libscintilla.so.3 is not a symbolic link /sbin/ldconfig: /usr/lib/libGLcore.so.1 is not a symbolic link /sbin/ldconfig: /usr/lib64/libscintilla.so.3 is not a symbolic link Using MD5DIR="/var/adm/SuSEconfig/md5"... No changes for /etc/X11/xdm/Xservers No changes for /etc/X11/xdm/xdm-config /usr/src/kernel-modules/nvidia-uvm-340.106-default/rm / NVIDIA: calling KBUILD... make[1]: Entering directory '/usr/src/linux-4.4.120-45' make -C /usr/src/linux-obj/x86_64/default KBUILD_SRC=/usr/src/linux-4.4.120-45 \ - -f /usr/src/linux-4.4.120-45/Makefile modules make[2]: Entering directory '/usr/src/linux-4.4.120-45-obj/x86_64/default' 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 /usr/src/kernel-modules/nvidia-uvm-340.106-default/rm/.tmp_versions /; rm -f /; /usr/src/kernel-modules/nvidia-uvm-340.106-default/rm/.tmp_versions/* make -f /usr/src/linux-4.4.120-45/scripts/Makefile.build obj=/usr/src/kernel-modules/nvidia-uvm-340.106-default/rm (cat /dev/null; echo kernel//usr/src/kernel-modules/nvidia-uvm-340.106-default/rm/nvidia.ko;) > /usr/src/kernel-modules/nvidia-uvm-340.106-default/rm/modules.order make -f /usr/src/linux-4.4.120-45/scripts/Makefile.modpost find /usr/src/kernel-modules/nvidia-uvm-340.106-default/rm/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | -scripts/mod/modpost -m -a -i ./Module.symvers -I -/usr/src/kernel-modules/nvidia-uvm-340.106-default/rm/Module.symvers -o -//usr/src/kernel-modules/nvidia-uvm-340.106-default/rm/Module.symvers -w -//-s -T - WARNING: could not find /usr/src/kernel-modules/nvidia-uvm-340.106-default/rm/.nv-kernel.o.cmd for //usr/src/kernel-modules/nvidia-uvm-340.106-default/rm/nv-kernel.o make[2]: Leaving directory '/usr/src/linux-4.4.120-45-obj/x86_64/default' make[1]: Leaving directory '/usr/src/linux-4.4.120-45' NVIDIA: left KBUILD. / make: Entering directory '/usr/src/linux-4.4.120-45-obj/x86_64/default' Building modules, stage 2. MODPOST 1 modules make: Leaving directory '/usr/src/linux-4.4.120-45-obj/x86_64/default' depmod: WARNING: could not open /lib/modules/4.4.76-1-default/modules.order: No such file or directory depmod: WARNING: could not open /lib/modules/4.4.76-1-default/modules.builtin: No such file or directory Creating initrd: /boot/initrd-4.4.114-42-default dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log - --force --force-drivers "pata_jmicron ata_piix ata_generic netconsole xennet - --xenblk" /boot/initrd-4.4.114-42-default 4.4.114-42-default dracut: *** Including module: bash *** dracut: *** Including module: systemd *** ... dracut: *** Stripping files done *** dracut: *** Generating early-microcode cpio image *** dracut: *** Constructing GenuineIntel.bin **** dracut: *** Store current command line parameters *** dracut: Stored kernel commandline: dracut: rd.driver.pre=pata_jmicron rd.driver.pre=ata_piix rd.driver.pre=ata_generic rd.driver.pre=netconsole rd.driver.pre=xennet rd.driver.pre=xenblk dracut: resume=UUID=4feaa6f5-38c4-4674-ae54-8e22389731a1 dracut: root=UUID=ac173013-18ad-4c4e-921e-fd2ecfb56495 rootfstype=ext4 rootflags=rw,relatime,lazytime,data=ordered dracut: *** Creating image file '/boot/initrd-4.4.120-45-default' *** dracut: *** Creating initramfs image file '/boot/initrd-4.4.120-45-default' done *** Telcontar:/var/cache/zypp/packages/download.nvidia.com-leap/x86_64 # - -- Cheers, Carlos E. R. (from openSUSE 42.3 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlq5br0ACgkQtTMYHG2NR9Xy6wCdESsO+DTFXTsqWYrL0dtReBdU HFcAoJYRqvWHPrGVDqyN71wqMB/P95A0 =G5hg -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
Carlos E. R.