Gentoo Archives: gentoo-amd64

From: Mansour Al Akeel <mansour.alakeel@×××××.com>
To: gentoo-amd64@l.g.o, mansour.alakeel@×××××.com
Subject: Re: [gentoo-amd64] Re: can not install nvidia driver
Date: Sun, 14 Dec 2008 15:48:21
Message-Id: 49452AC0.6030007@gmail.com
In Reply to: [gentoo-amd64] Re: can not install nvidia driver by Duncan <1i5t5.duncan@cox.net>
1 Duncan, thank you. I recopiled 2.6.26 and it worked. I tried it with
2 2.6.26 earlier but it didn't work for some odd reason. Since I create a
3 short cut to my recent kernel source, the invidia driver was using that
4 short cut when build against 2.6.26. The symlink /usr/src/linux points
5 to /usr/src/linux-2.6.27. I don't know why that was happening but it's
6 working now.
7
8 Thank you.
9
10 Duncan wrote:
11 > Mansour Al Akeel <mansour.alakeel@×××××.com> posted
12 > 49433267.1090205@×××××.com, excerpted below, on Fri, 12 Dec 2008 23:56:23
13 > -0400:
14 >
15 >
16 >> In file included from
17 >> /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-
18 >>
19 > x86_64-173.14.09-pkg2/usr/src/nv/nv.c:14:
20 >
21 >> /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-
22 >>
23 > x86_64-173.14.09-pkg2/usr/src/nv/nv-linux.h:107:27:
24 >
25 >> error: asm/semaphore.h: No such file or directory
26 >>
27 >
28 > The arch-x86 (including 64-bit) header files were reorganized in kernel
29 > 2.6.27, and as that says, asm/semaphore.h (or more like asm-x86/
30 > semaphore.h) no longer exists in .27. I won't install proprietaryware so
31 > no nvidia for me and no direct experience with it to help you with, but
32 > it's likely nVidia hasn't updated to take account of that yet (or if so
33 > it'd probably be with the newest drivers, which may not even be in
34 > portage yet let alone stable).
35 >
36 > You did mention switching your running kernel back to 2.6.26.x, which
37 > should work, but did you switch your kernel symlink back to it as well?
38 > If not, it's probably still pointing at the 2.6.27.x kernel, thus you'd
39 > still be getting the error.
40 >
41 >