Gentoo Archives: gentoo-user

From: KIM WHALEN <dhkuhl@×××××××××.net>
To: gentoo-user@l.g.o
Cc: gentoo-user@l.g.o, gentoo-user@l.g.o
Subject: RE: [gentoo-user] Re: New Install Problems with X
Date: Thu, 06 Jan 2011 18:44:31
Message-Id: 4769890.980694.1294339388852.JavaMail.dhkuhl@mail.srv.lgcyny1.cv.net
1 On Thu, Jan 6, 2011 at 1:38 PM, KIM WHALEN wrote:
2
3 > On Wed, Jan 5, 2011 at 6:25 PM, walt wrote:
4 >
5 >> On 01/05/2011 06:41 AM, KIM WHALEN wrote:
6 >>> On Wed, Jan 5, 2011 at 8:56 AM, walt wrote:
7 >>>
8 >>>> On 01/04/2011 08:10 AM, KIM WHALEN wrote:
9 >>>>> I'm trying to do a new install on an amd64 box and there are a lot
10 >>>>> of problems somewhere between X, Gnome, and the Graphics card. I'm
11 >>>>> using genkernel so there shouldn't be too much of a problem there.
12 >>>>>
13 >>>>> The graphics card as identified by the system is: nVidia
14 >>>>> Corporation NV36 [GeForce FX 5700LE]
15 >>>>>
16 >>>>> The base system and xorg-x11 seems to be set up alright. However,
17 >>>>> when I run startx as a regular
18 >>>>> user I get errors about drm, dri, and dri2 modules and the screen.
19 >>>>
20 >>>> Those drm and dri error messages are normal when using the nvidia
21 >>>> drivers, but the screen
22 >>>> error is not normal. What does it say, exactly? Did you generate
23 >>>> your xorg.conf by doing
24 >>>> Xorg -configure? Are you using an xorg.conf file at all?
25 >>>>
26 >>>> The nouveau driver is not nearly ready for prime time yet, so I'd
27 >>>> stick with nivida-drivers
28 >>>> at least until you have everything else working.
29 >>
30 >>> I am not using the xorg.conf file
31 >>
32 >> That's fine for starters. You may need to add one later if your
33 >> mouse or keyboard don't work.
34 >> (BTW, you need to emerge the xf86-input-evdev driver for the mouse
35 >> and keyboard if you don't
36 >> have an xorg.conf).
37 >>
38 >>> (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan 5 09:03:31 2011
39 >>> List of video drivers:
40 >>> nouveau
41 >>> nvidia
42 >>> FATAL: Error inserting nvidia
43 >>> (/lib/modules/2.6.36-gentoo-r5/video/nvidia.ko): No such device
44 >>
45 >> That's definitely a problem. The "no such device" is a bit
46 >> ambiguous. I'm thinking maybe
47 >> the nouveau and nvidia drivers are fighting with each other, so
48 >> neither one can get full
49 >> control of the video hardware.
50 >>
51 >> IIRC, if you build the nouveau driver into your kernel, it *will*
52 >> conflict with the nvidia
53 >> kernel module. I keep two different kernel config files, one with
54 >> nouveau, and the other
55 >> without nouveau for use with the nvidia.ko module.
56 >>
57 >> Definitely build a kernel without nouveau at least until you get
58 >> everything else working --
59 >> and then *re*emerge nividia-drivers after you boot the new kernel.
60 >> (Compiling/installing
61 >> a new kernel will delete all of your existing kernel modules
62 >> including nvidia.ko!)
63 >
64 > I already had the xf86-input-evdev driver installed. I could find
65 > anything to take out of the kernel, but added nVidia Framebuffer
66 > Support.
67 > Device Drivers
68 > +> Graphics Support
69 > +> Support for Framebuffer Devices
70 > +> nVidia Framebuffer Support
71 >
72 > Then I "emerge x11-drivers/nvidia-drivers". That, unfortunately,
73 > didn't help; it failed to emerge and the output is below.
74 > # emerge x11-drivers/nvidia-drivers
75 > Calculating dependencies... done!
76 >>>> Verifying ebuild manifests
77 >>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-260.19.29
78 >>>> Failed to emerge x11-drivers/nvidia-drivers-260.19.29, Log file:
79 >>>>
80 >>>>
81 >>>> '/var/tmp/portage/x11-drivers/nvidia-drivers-260.19.29/temp/build.log'
82 >>>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.43,
83 >>>> 0.13, 0.04
84 > * Package: x11-drivers/nvidia-drivers-260.19.29
85 > * Repository: gentoo
86 > * Maintainer: cardoe@g.o jer@g.o,spock@g.o
87 > * USE: amd64 elibc_glibc gtk kernel_linux multilib userland_GNU
88 > * Determining the location of the kernel source code
89 > * Found kernel source directory:
90 > * /usr/src/linux
91 > * Found kernel object directory:
92 > * /lib/modules/2.6.36-gentoo-r5/build
93 > * Found sources for kernel version:
94 > * 2.6.36-gentoo-r5
95 > * Checking for MTRR support ...
96 > [ ok ]
97 > * ***** WARNING *****
98 > *
99 > * You are currently installing a version of nvidia-drivers that is
100 > * known not to work with a video card you have installed on your
101 > * system. If this is intentional, please ignore this. If it is not
102 > * please perform the following steps:
103 > *
104 > * Add the following mask entry to /etc/portage/package.mask by
105 > * echo ">=x11-drivers/nvidia-drivers-177.0.0" >>
106 > /etc/portage/package.mask
107 > *
108 > * Failure to perform the steps above could result in a non-working
109 > * X setup.
110 > *
111 > * For more information please read:
112 > * http://www.nvidia.com/object/IO_32667.html
113 >>>> Unpacking source...
114 >>>> Unpacking NVIDIA-Linux-x86_64-260.19.29.run to
115 >>>> /var/tmp/portage/x11-drivers/nvidia-drivers-260.19.29/work
116 >>>> Source unpacked in
117 >>>> /var/tmp/portage/x11-drivers/nvidia-drivers-260.19.29/work
118 >>>> Preparing source in
119 >>>> /var/tmp/portage/x11-drivers/nvidia-drivers-260.19.29/work ...
120 > * Applying 256.35-unified-arch.patch ...
121 > [ ok ]
122 > * Converting /kernel/Makefile.kbuild to use M= instead of SUBDIRS=
123 > ...
124 > [ ok ]
125 >>>> Source prepared.
126 >>>> Configuring source in
127 >>>> /var/tmp/portage/x11-drivers/nvidia-drivers-260.19.29/work ...
128 >>>> Source configured.
129 >>>> Compiling source in
130 >>>> /var/tmp/portage/x11-drivers/nvidia-drivers-260.19.29/work ...
131 > * Preparing nvidia module
132 > make -j2 HOSTCC=x86_64-pc-linux-gnu-gcc
133 > CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1
134 > SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.36-gentoo-r5/build
135 > HOST_CC=x86_64-pc-linux-gnu-gcc clean module
136 > Your kernel was configured to include nvidiafb support!
137 >
138 > The nvidiafb driver conflicts with the NVIDIA driver, please
139 > reconfigure your kernel and *disable* nvidiafb support, then
140 > try installing the NVIDIA kernel module again.
141 >
142 > *** Failed nvidiafb sanity check. Bailing out! ***
143 >
144 > make[1]: *** [build-sanity-checks] Error 1
145 > make: *** [module] Error 2
146 > emake failed
147 > * ERROR: x11-drivers/nvidia-drivers-260.19.29 failed:
148 > * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc
149 > CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes
150 > V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.36-gentoo-r5/build
151 > HOST_CC=x86_64-pc-linux-gnu-gcc clean module
152 > *
153 > * Call stack:
154 > * ebuild.sh, line 56: Called src_compile
155 > * environment, line 4183: Called linux-mod_src_compile
156 > * environment, line 3084: Called die
157 > * The specific snippet of code:
158 > * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"
159 > CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\"
160 > ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die
161 > "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}-
162 > LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS}
163 > ${BUILD_TARGETS}";
164 > *
165 > * If you need support, post the output of 'emerge --info
166 > =x11-drivers/nvidia-drivers-260.19.29',
167 > * the complete build log and the output of 'emerge -pqv
168 > =x11-drivers/nvidia-drivers-260.19.29'.
169 > * The complete build log is located at
170 > '/var/tmp/portage/x11-drivers/nvidia-drivers-260.19.29/temp/build.log'.
171 > * The ebuild environment file is located at
172 > '/var/tmp/portage/x11-drivers/nvidia-drivers-260.19.29/temp/environment'.
173 > * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-260.19.29/work/'
174 >
175 > * Messages for package x11-drivers/nvidia-drivers-260.19.29:
176 >
177 > * ***** WARNING *****
178 > *
179 > * You are currently installing a version of nvidia-drivers that is
180 > * known not to work with a video card you have installed on your
181 > * system. If this is intentional, please ignore this. If it is not
182 > * please perform the following steps:
183 > *
184 > * Add the following mask entry to /etc/portage/package.mask by
185 > * echo ">=x11-drivers/nvidia-drivers-177.0.0" >>
186 > /etc/portage/package.mask
187 > *
188 > * Failure to perform the steps above could result in a non-working
189 > * X setup.
190 > *
191 > * For more information please read:
192 > * http://www.nvidia.com/object/IO_32667.html
193 > * ERROR: x11-drivers/nvidia-drivers-260.19.29 failed:
194 > * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc
195 > CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes
196 > V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.36-gentoo-r5/build
197 > HOST_CC=x86_64-pc-linux-gnu-gcc clean module
198 > *
199 > * Call stack:
200 > * ebuild.sh, line 56: Called src_compile
201 > * environment, line 4183: Called linux-mod_src_compile
202 > * environment, line 3084: Called die
203 > * The specific snippet of code:
204 > * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"
205 > CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\"
206 > ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die
207 > "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}-
208 > LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS}
209 > ${BUILD_TARGETS}";
210 > *
211 > * If you need support, post the output of 'emerge --info
212 > =x11-drivers/nvidia-drivers-260.19.29',
213 > * the complete build log and the output of 'emerge -pqv
214 > =x11-drivers/nvidia-drivers-260.19.29'.
215 > * The complete build log is located at
216 > '/var/tmp/portage/x11-drivers/nvidia-drivers-260.19.29/temp/build.log'.
217 > * The ebuild environment file is located at
218 > '/var/tmp/portage/x11-drivers/nvidia-drivers-260.19.29/temp/environment'.
219
220 Sorry, I did
221 # echo ">=x11-drivers/nvidia-drivers-177.0.0" >>
222 /etc/portage/package.mask
223 first then tried it again and got the following error.
224 # emerge x11-drivers/nvidia-driversCalculating dependencies... done!
225 >>> Verifying ebuild manifests
226 >>> Starting parallel fetch
227 >>> Emerging (1 of 2) app-emulation/emul-linux-x86-opengl-20100915
228 >>> Installing (1 of 2) app-emulation/emul-linux-x86-opengl-20100915
229 >>> Emerging (2 of 2) x11-drivers/nvidia-drivers-173.14.28
230 >>> Failed to emerge x11-drivers/nvidia-drivers-173.14.28, Log file:
231 >>>
232 >>> '/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.28/temp/build.log'
233 >>> Jobs: 1 of 2 complete, 1 failed Load avg: 0.30,
234 >>> 0.14, 0.05
235 * Package: x11-drivers/nvidia-drivers-173.14.28
236 * Repository: gentoo
237 * Maintainer: cardoe@g.o jer@g.o,spock@g.o
238 * USE: amd64 elibc_glibc gtk kernel_linux multilib userland_GNU
239 * Determining the location of the kernel source code
240 * Found kernel source directory:
241 * /usr/src/linux
242 * Found kernel object directory:
243 * /lib/modules/2.6.36-gentoo-r5/build
244 * Found sources for kernel version:
245 * 2.6.36-gentoo-r5
246 * Checking for MTRR support ...
247 [ ok ]
248 >>> Unpacking source...
249 >>> Unpacking NVIDIA-Linux-x86_64-173.14.28-pkg2.run to
250 >>> /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.28/work/NVIDIA-Linux-x86_64-173.14.28-pkg2
251 >>> Source unpacked in
252 >>> /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.28/work
253 >>> Preparing source in
254 >>> /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.28/work/NVIDIA-Linux-x86_64-173.14.28-pkg2
255 >>> ...
256 * Applying NVIDIA_glx-defines.patch ...
257 [ ok ]
258 * Applying NVIDIA_glx-glheader.patch ...
259 [ ok ]
260 * Converting
261 NVIDIA-Linux-x86_64-173.14.28-pkg2/usr/src/nv/Makefile.kbuild to use M=
262 instead of SUBDIRS= ...
263 [ ok ]
264 >>> Source prepared.
265 >>> Configuring source in
266 >>> /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.28/work/NVIDIA-Linux-x86_64-173.14.28-pkg2
267 >>> ...
268 >>> Source configured.
269 >>> Compiling source in
270 >>> /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.28/work/NVIDIA-Linux-x86_64-173.14.28-pkg2
271 >>> ...
272 * Preparing nvidia module
273 make -j2 HOSTCC=x86_64-pc-linux-gnu-gcc
274 CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1
275 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.36-gentoo-r5/build
276 HOST_CC=x86_64-pc-linux-gnu-gcc clean module
277 Your kernel was configured to include nvidiafb support!
278
279 The nvidiafb driver conflicts with the NVIDIA driver, please
280 reconfigure your kernel and *disable* nvidiafb support, then
281 try installing the NVIDIA kernel module again.
282
283 *** Failed nvidiafb sanity check. Bailing out! ***
284
285 make[1]: *** [build-sanity-checks] Error 1
286 make: *** [module] Error 2
287 emake failed
288 * ERROR: x11-drivers/nvidia-drivers-173.14.28 failed:
289 * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc
290 CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1
291 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.36-gentoo-r5/build
292 HOST_CC=x86_64-pc-linux-gnu-gcc clean module
293 *
294 * Call stack:
295 * ebuild.sh, line 56: Called src_compile
296 * environment, line 4141: Called linux-mod_src_compile
297 * environment, line 3051: Called die
298 * The specific snippet of code:
299 * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"
300 CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\"
301 ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable
302 to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}-
303 LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS}
304 ${BUILD_TARGETS}";
305 *
306 * If you need support, post the output of 'emerge --info
307 =x11-drivers/nvidia-drivers-173.14.28',
308 * the complete build log and the output of 'emerge -pqv
309 =x11-drivers/nvidia-drivers-173.14.28'.
310 * The complete build log is located at
311 '/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.28/temp/build.log'.
312 * The ebuild environment file is located at
313 '/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.28/temp/environment'.
314 * S:
315 '/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.28/work/NVIDIA-Linux-x86_64-173.14.28-pkg2'
316
317 * Messages for package x11-drivers/nvidia-drivers-173.14.28:
318
319 * ERROR: x11-drivers/nvidia-drivers-173.14.28 failed:
320 * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc
321 CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1
322 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.36-gentoo-r5/build
323 HOST_CC=x86_64-pc-linux-gnu-gcc clean module
324 *
325 * Call stack:
326 * ebuild.sh, line 56: Called src_compile
327 * environment, line 4141: Called linux-mod_src_compile
328 * environment, line 3051: Called die
329 * The specific snippet of code:
330 * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"
331 CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\"
332 ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable
333 to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}-
334 LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS}
335 ${BUILD_TARGETS}";
336 *
337 * If you need support, post the output of 'emerge --info
338 =x11-drivers/nvidia-drivers-173.14.28',
339 * the complete build log and the output of 'emerge -pqv
340 =x11-drivers/nvidia-drivers-173.14.28'.
341 * The complete build log is located at
342 '/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.28/temp/build.log'.
343 * The ebuild environment file is located at
344 '/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.28/temp/environment'.
345 * S:
346 '/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.28/work/NVIDIA-Linux-x86_64-173.14.28-pkg2'
347
348 * GNU info directory index is up-to-date.
349
350 * IMPORTANT: config file '/etc/conf.d/clock' needs updating.
351
352 * IMPORTANT: config file '/etc/rc.conf' needs updating.
353 * See the CONFIGURATION FILES section of the emerge
354 * man page to learn how to update config files.
355
356
357 > * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-260.19.29/work/'

Replies

Subject Author
[gentoo-user] Re: New Install Problems with X walt <w41ter@×××××.com>