Gentoo Archives: gentoo-user

From: Gregory Shearman <zekeyg@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user]  Re: Nvidia drivers
Date: Wed, 02 Apr 2008 02:10:50
Message-Id: 200804021310.41471.ZekeyG@gmail.com
1 James wrote:
2
3 > Volker Armin Hemmann <volker.armin.hemmann <at> tu-clausthal.de> writes:
4 >
5 >
6 >> > NV11 [GeForce2 MX/MX 400] && NV34 [GeForce FX 5200]
7 >
8 >> that is not true. Both cards are still supported by nvidia drivers.
9 >
10 >
11 >> The FX card ist even supported by the latest drivers!
12 > Yep I got this one(FX 5200) working with the lastest driver.
13 >
14 >
15 >
16 >> The Gf2 based ones are supported by the 7186 drivers - which are even in
17 >> portage.
18 >
19 >
20 > Hmmm,
21 > I'm using 2.6.24-gentoo-r3.
22 >
23 > Emerging (1 of 1) x11-drivers/nvidia-drivers-71.86.01
24 > <snip>
25 > *** Unable to determine the target kernel version. ***
26 >
27 > make: *** [select_makefile] Error 1
28 > *
29 > * ERROR: x11-drivers/nvidia-drivers-71.86.01 failed.
30 > * Call stack:
31 > * ebuild.sh, line 49: Called src_compile
32 > * environment, line 3558: Called linux-mod_src_compile
33 > * environment, line 2624: Called die
34 > * The specific snippet of code:
35 > * emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)"
36 > LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS}
37 > ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS}
38 > ${BUILD_TARGETS}.";
39 > * The die message:
40 > * Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux
41 > SYSOUT=/lib/modules/2.6.24-gentoo-r3/build clean module.
42 >
43 >
44 > I've never seen this before....
45 > " Depending on where and how the kernel sources (or the
46 > kernel headers) were installed, you may need to specify
47 > their location with the SYSSRC environment variable or
48 > the equivalent nvidia-installer command line option."
49 >
50 > So where/how do I set the SYSSRC variable?
51 >
52 > Or is something else wrong?
53
54 I had the same problem going from 2.6.23-gentoo-r9 to 2.6.24-gentoo-r3 using
55 the legacy nvida 96.43.01 driver. The masked 96,43.05 driver works on the new
56 kernel,but it is unstable on my old Geforce MX 440 card.
57
58 What I did discover was a nasty hack to get the old driver to recognise the
59 new kernel version:
60
61 # ln -s  /usr/src/linux/include/asm-x86 /usr/src/linux/include/asm-i386
62
63 ( This assumes that /usr/src/linux points to the new kernel 2.6.24-gentoo-r3)
64
65 It looks like the kernel devs are trying to update references to the include
66 asm files and the nvidia devs are yet to catch up. Maybe one day nvidia will
67 release its driver specs and save itself a lot of trouble and money building
68 catchup linux drivers. Maybe hell will also freeze over on that day.
69
70 Hope this helps.
71
72 --
73 Regards,
74
75 Gregory.
76 --
77 gentoo-user@l.g.o mailing list

Replies

Subject Author
[gentoo-user] Re: Re: Nvidia drivers James <wireless@×××××××××××.com>