Gentoo Archives: gentoo-amd64

From: Phil Turmel <philip@××××××.org>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Nvidia Update Problem
Date: Thu, 16 Feb 2012 02:02:44
Message-Id: 4F3C5BB7.8060208@turmel.org
In Reply to: [gentoo-amd64] Nvidia Update Problem by Frank Peters
1 Hi Frank,
2
3 On 02/15/2012 07:06 PM, Frank Peters wrote:
4 > After updating nvidia-drivers from 290.10 to 295.20-r1, I cannot start X
5 > and the log files contain this message:
6 >
7 > (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the
8 > [ 3482.609] (EE) NVIDIA(0): system's kernel log for additional error messages and
9 > [ 3482.609] (EE) NVIDIA(0): consult the NVIDIA README for details.
10 > [ 3482.609] (EE) NVIDIA(0): *** Aborting ***
11 > [ 3482.609]
12 >
13 > NVRM: API mismatch: the client has the version 295.20, but
14 > NVRM: this kernel module has the version 290.10. Please
15 > NVRM: make sure that this kernel module and all NVIDIA driver
16 > NVRM: components have the same version.
17 > NVRM: API mismatch: the client has the version 295.20, but
18 > NVRM: this kernel module has the version 290.10. Please
19 > NVRM: make sure that this kernel module and all NVIDIA driver
20 > NVRM: components have the same version.
21 >
22 > What could be the problem? I've seen no other reports of
23 > this issue.
24
25 The nvidia-drivers ebuild follows the /usr/src/linux symlink to
26 find the kernel source to match the module to. It then builds
27 the Nvidia module and installs it in that kernel version's
28 part of the /lib/modules/ tree. If you aren't running that
29 specific kernel, you won't get the new module.
30
31 Run "find /lib/modules/ -name nvidia.ko -ls" to see what I mean.
32
33 The simplest solution is to replace the symlink, pointing it
34 at the kernel source tree for the version you are using, then
35 emerging nvidia-drivers again.
36
37 If you want the nvidia driver available for multiple kernel
38 versions, you will need to emerge once for each version, with
39 the symlink updated each time.
40
41 If you are building from git, or otherwise discarded the kernel
42 tree, you will have to rebuild the kernel and fix the symlink
43 before emerging nvidia-drivers again.
44
45 HTH,
46
47 Phil

Replies

Subject Author
Re: [gentoo-amd64] Nvidia Update Problem Randy Barlow <randy@×××××××××××××××××.com>