View previous topic :: View next topic |
Author |
Message |
someone12345 Guru
Joined: 09 Apr 2005 Posts: 365
|
Posted: Sat Nov 11, 2006 2:15 pm Post subject: [solved] again: nvidia api mismatch |
|
|
Hi!
I read some threads about the problems but none helped: Code: | Nov 11 15:08:53 server NVRM: loading NVIDIA Linux x86_64 Kernel Module 1.0-9626 Wed Sep 20 16:36:52 PDT 2006
Nov 11 15:08:53 server NVRM: API mismatch: the client has the version 1.0-9742, but
Nov 11 15:08:53 server NVRM: this kernel module has the version 1.0-9626. Please
Nov 11 15:08:53 server NVRM: make sure that this kernel module and all NVIDIA driver
Nov 11 15:08:53 server NVRM: components have the same version.
|
I unmerged nvidia-drivers and reemerged, I rmmod'ed and did everything, it just doesn't work. I also removed some files manually:
Code: | # rm -i /usr/lib/libXvMCNVIDIA*
rm /usr/lib/xorg/modules/drivers/nvidia_drv.so |
Does somebody have a clue? kernel 2.6.19-rc2-mm2. Fortunately the previous nvidia module version has been removed from portage...[/profile]
Thanks a lot!
Last edited by someone12345 on Sat Nov 11, 2006 4:34 pm; edited 1 time in total |
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 892
|
Posted: Sat Nov 11, 2006 2:27 pm Post subject: Re: again: nvidia api mismatch |
|
|
When I had this it turned out to be me forgetting to update
the /usr/src/linux link to be the current source tree when I
did 'emerge nvidia-drivers'.
> Does somebody have a clue? kernel 2.6.19-rc2-mm2. Fortunately the previous
> nvidia module version has been removed from portage...[/profile]
Cheers,
Jon |
|
Back to top |
|
|
Hagar Guru
Joined: 11 Feb 2003 Posts: 445
|
Posted: Sat Nov 11, 2006 2:29 pm Post subject: |
|
|
Make sure the /usr/src/linux symlink points to the kernel you are running.
If it's not, you can just reboot into the new kernel. |
|
Back to top |
|
|
someone12345 Guru
Joined: 09 Apr 2005 Posts: 365
|
Posted: Sat Nov 11, 2006 2:29 pm Post subject: |
|
|
nope:
Code: | # ls -l
total 12
lrwxrwxrwx 1 root root 21 Nov 11 11:00 linux -> linux-2.6.19-rc2-mm2/
drwxr-xr-x 19 root root 29 Sep 12 14:58 linux-2.6.17-gentoo-r8
drwxr-xr-x 20 root root 49 Oct 22 22:54 linux-2.6.17-reiser4-r8
drwxr-xr-x 20 root root 48 Nov 11 15:08 linux-2.6.19-rc2-mm2
drwxr-xr-x 20 root root 48 Nov 4 10:45 linux-2.6.19-rc4-mm2
drwxr-xr-x 20 root root 48 Nov 10 22:00 linux-2.6.19-rc5-mm1
# uname -a
Linux server 2.6.19-rc2-mm2 #1 SMP PREEMPT Mon Oct 23 10:16:22 CEST 2006 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ AuthenticAMD GNU/Linux
|
|
|
Back to top |
|
|
meyert n00b
Joined: 23 Aug 2005 Posts: 45
|
Posted: Sat Nov 11, 2006 2:51 pm Post subject: |
|
|
Please post the result of "uname -a" |
|
Back to top |
|
|
someone12345 Guru
Joined: 09 Apr 2005 Posts: 365
|
Posted: Sat Nov 11, 2006 3:18 pm Post subject: |
|
|
meyert wrote: | Please post the result of "uname -a" |
Well...see above... |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sat Nov 11, 2006 3:27 pm Post subject: |
|
|
This gives you a list of files to check out:
Code: | equery files nvidia-drivers |
E.g., check that /usr/lib/libXvMCNVIDIA.so is really a symlink to the right version, and that no other old versions of e.g. /usr/lib/libXvMCNVIDIA.so.* exist. |
|
Back to top |
|
|
someone12345 Guru
Joined: 09 Apr 2005 Posts: 365
|
Posted: Sat Nov 11, 2006 3:47 pm Post subject: |
|
|
PaulBredbury wrote: |
Code: | equery files nvidia-drivers |
|
Looks quite okay, doesn't it (don't be confued by the rc5 - I just updated but do have the same problem)?
Code: |
/etc
/etc/modules.d
/etc/modules.d/nvidia
/lib
/lib/modules
/lib/modules/2.6.19-rc5-mm1
/lib/modules/2.6.19-rc5-mm1/video
/lib/modules/2.6.19-rc5-mm1/video/nvidia.ko
/usr
/usr/bin
/usr/bin/nvidia-bug-report.sh
/usr/lib32
/usr/lib32/opengl
/usr/lib32/opengl/nvidia
/usr/lib32/opengl/nvidia/extensions
/usr/lib32/opengl/nvidia/include
/usr/lib32/opengl/nvidia/include/gl.h
/usr/lib32/opengl/nvidia/include/glext.h
/usr/lib32/opengl/nvidia/include/glx.h
/usr/lib32/opengl/nvidia/include/glxext.h
/usr/lib32/opengl/nvidia/lib
/usr/lib32/opengl/nvidia/lib/libGL.la
/usr/lib32/opengl/nvidia/lib/libGL.so -> libGL.so.1.0.9742
/usr/lib32/opengl/nvidia/lib/libGL.so.1 -> libGL.so.1.0.9742
/usr/lib32/opengl/nvidia/lib/libGL.so.1.0.9742
/usr/lib32/opengl/nvidia/lib/libGLcore.so -> libGLcore.so.1.0.9742
/usr/lib32/opengl/nvidia/lib/libGLcore.so.1 -> libGLcore.so.1.0.9742
/usr/lib32/opengl/nvidia/lib/libGLcore.so.1.0.9742
/usr/lib32/opengl/nvidia/lib/libnvidia-tls.so -> ../tls/libnvidia-tls.so
/usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.1 -> ../tls/libnvidia-tls.so.1
/usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.1.0.9742 -> ../tls/libnvidia-tls.so.1.0.9742
/usr/lib32/opengl/nvidia/no-tls
/usr/lib32/opengl/nvidia/no-tls/libnvidia-tls.so -> libnvidia-tls.so.1.0.9742
/usr/lib32/opengl/nvidia/no-tls/libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.9742
/usr/lib32/opengl/nvidia/no-tls/libnvidia-tls.so.1.0.9742
/usr/lib32/opengl/nvidia/tls
/usr/lib32/opengl/nvidia/tls/libnvidia-tls.so -> libnvidia-tls.so.1.0.9742
/usr/lib32/opengl/nvidia/tls/libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.9742
/usr/lib32/opengl/nvidia/tls/libnvidia-tls.so.1.0.9742
/usr/lib32/xorg
/usr/lib32/xorg/modules
/usr/lib32/xorg/modules/drivers
/usr/lib64
/usr/lib64/libXvMCNVIDIA.a
/usr/lib64/libXvMCNVIDIA.so -> /usr/lib64/libXvMCNVIDIA.so.1.0.9742
/usr/lib64/libXvMCNVIDIA.so.1.0.9742
/usr/lib64/opengl
/usr/lib64/opengl/nvidia
/usr/lib64/opengl/nvidia/extensions
/usr/lib64/opengl/nvidia/extensions/libglx.so
/usr/lib64/opengl/nvidia/include
/usr/lib64/opengl/nvidia/include/gl.h
/usr/lib64/opengl/nvidia/include/glext.h
/usr/lib64/opengl/nvidia/include/glx.h
/usr/lib64/opengl/nvidia/include/glxext.h
/usr/lib64/opengl/nvidia/lib
/usr/lib64/opengl/nvidia/lib/libGL.la
/usr/lib64/opengl/nvidia/lib/libGL.so -> libGL.so.1.0.9742
/usr/lib64/opengl/nvidia/lib/libGL.so.1 -> libGL.so.1.0.9742
/usr/lib64/opengl/nvidia/lib/libGL.so.1.0.9742
/usr/lib64/opengl/nvidia/lib/libGLcore.so -> libGLcore.so.1.0.9742
/usr/lib64/opengl/nvidia/lib/libGLcore.so.1 -> libGLcore.so.1.0.9742
/usr/lib64/opengl/nvidia/lib/libGLcore.so.1.0.9742
/usr/lib64/opengl/nvidia/lib/libnvidia-tls.so -> ../tls/libnvidia-tls.so
/usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.1 -> ../tls/libnvidia-tls.so.1
/usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.1.0.9742 -> ../tls/libnvidia-tls.so.1.0.9742
/usr/lib64/opengl/nvidia/no-tls
/usr/lib64/opengl/nvidia/no-tls/libnvidia-tls.so -> libnvidia-tls.so.1.0.9742
/usr/lib64/opengl/nvidia/no-tls/libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.9742
/usr/lib64/opengl/nvidia/no-tls/libnvidia-tls.so.1.0.9742
/usr/lib64/opengl/nvidia/tls
/usr/lib64/opengl/nvidia/tls/libnvidia-tls.so -> libnvidia-tls.so.1.0.9742
/usr/lib64/opengl/nvidia/tls/libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.9742
/usr/lib64/opengl/nvidia/tls/libnvidia-tls.so.1.0.9742
/usr/lib64/xorg
/usr/lib64/xorg/modules
/usr/lib64/xorg/modules/drivers
/usr/lib64/xorg/modules/drivers/nvidia_drv.so
/usr/share
/usr/share/doc
/usr/share/doc/nvidia-drivers-1.0.9742
/usr/share/doc/nvidia-drivers-1.0.9742/Copyrights.gz
/usr/share/doc/nvidia-drivers-1.0.9742/NVIDIA_Changelog.gz
/usr/share/doc/nvidia-drivers-1.0.9742/README.gz
/usr/share/doc/nvidia-drivers-1.0.9742/XF86Config.sample.gz
/usr/share/doc/nvidia-drivers-1.0.9742/html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-a.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-aa.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-b.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-c.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-d.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-e.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-f.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-g.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-h.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-i.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-j.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-k.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-l.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-m.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-n.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-o.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-p.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-q.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-r.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-s.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-t.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-u.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-v.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-w.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-x.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-y.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/appendix-z.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/chapter-01.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/chapter-02-section-02.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/chapter-02-section-03.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/chapter-02-section-04.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/chapter-02.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/chapter-03-section-02.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/chapter-03.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/chapter-04.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/chapter-05.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/chapter-06.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/chapter-07.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/chapter-08.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/chapter-09.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/index.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/part-01.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/part-02.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/part-03.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/preface-01.html
/usr/share/doc/nvidia-drivers-1.0.9742/html/preface-02.html
|
Code: | # find /usr/ -name "*9626*"
/usr/portage/distfiles/NVIDIA-Linux-x86_64-1.0-9626-pkg2.run
|
Last edited by someone12345 on Sat Nov 11, 2006 3:54 pm; edited 1 time in total |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sat Nov 11, 2006 3:51 pm Post subject: |
|
|
Look in the other directories shown by equery also - I suspect the old version will be hiding in one of those. |
|
Back to top |
|
|
someone12345 Guru
Joined: 09 Apr 2005 Posts: 365
|
Posted: Sat Nov 11, 2006 4:34 pm Post subject: |
|
|
Well, I was just playing around for half an hour now and out of a sudden it works again. I don't really know what I fixed but I'm just glad it works now.
Thanks! |
|
Back to top |
|
|
|