1 |
echo "x11-drivers/nvidia-drivers ~amd64" > /etc/portage/package.keywords |
2 |
|
3 |
fixed this problem for me when I upgraded to kernel 2.6.27-r5 from 2.6.25-r7 |
4 |
----- Original Message ----- |
5 |
From: Peter Bleszynski |
6 |
To: gentoo-amd64@l.g.o |
7 |
Sent: Saturday, December 13, 2008 2:53 AM |
8 |
Subject: Re: [gentoo-amd64] Re: can not install nvidia driver |
9 |
|
10 |
|
11 |
I was able to install nvidia-drivers while running gentoo-sources-2.6.27-r4 using the ebuild posted here: http://bugs.gentoo.org/show_bug.cgi?id=246425 |
12 |
|
13 |
|
14 |
On Fri, Dec 12, 2008 at 11:01 PM, Duncan <1i5t5.duncan@×××.net> wrote: |
15 |
|
16 |
Mansour Al Akeel <mansour.alakeel@×××××.com> posted |
17 |
49433267.1090205@×××××.com, excerpted below, on Fri, 12 Dec 2008 23:56:23 |
18 |
-0400: |
19 |
|
20 |
|
21 |
> In file included from |
22 |
> /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux- |
23 |
x86_64-173.14.09-pkg2/usr/src/nv/nv.c:14: |
24 |
> /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux- |
25 |
x86_64-173.14.09-pkg2/usr/src/nv/nv-linux.h:107:27: |
26 |
> error: asm/semaphore.h: No such file or directory |
27 |
|
28 |
|
29 |
The arch-x86 (including 64-bit) header files were reorganized in kernel |
30 |
2.6.27, and as that says, asm/semaphore.h (or more like asm-x86/ |
31 |
semaphore.h) no longer exists in .27. I won't install proprietaryware so |
32 |
no nvidia for me and no direct experience with it to help you with, but |
33 |
it's likely nVidia hasn't updated to take account of that yet (or if so |
34 |
it'd probably be with the newest drivers, which may not even be in |
35 |
portage yet let alone stable). |
36 |
|
37 |
You did mention switching your running kernel back to 2.6.26.x, which |
38 |
should work, but did you switch your kernel symlink back to it as well? |
39 |
If not, it's probably still pointing at the 2.6.27.x kernel, thus you'd |
40 |
still be getting the error. |
41 |
|
42 |
-- |
43 |
Duncan - List replies preferred. No HTML msgs. |
44 |
"Every nonfree program has a lord, a master -- |
45 |
and if you use the program, he is your master." Richard Stallman |