Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-07-03, 08:22 AM   #1
Mythrill
Registered User
 
Join Date: May 2003
Posts: 19
Default Gcc 3.2.1 and NVidia driver's problem!

Hello guys!

I have serious problems with gcc 3.2.1!

Here is the problem.

I got the New Nvidia drivers, Nvidia-4363. Things were running smoothly... until I've decided to upgrade from gcc-2.95 to gcc-3.2.3
Oh, I regret it SO much... I decided to re-compile the kernel with gcc-3.2.1... it compiled OK. But Nvidia's drivers... well... the drivers got COMPLETELY unstalble... it compiled, but it crashed even more than Win95.
The problem is that it shows NO message error... it just freezes. I had that problem with gcc-2.95 and from Nvidia-41xx to NVidia 4363 too. I've changed my compiler to gcc-3.2.1 But it didn't help. Problems also include some wrong colors being displayed. And Nvidia drivers crash whenever I attempt to move a window. My linux distro is Slackware 8.1 and my kernel is 2.4.20. Please, help me. I'm getting desperate.
Mythrill is offline   Reply With Quote
Old 05-07-03, 08:37 AM   #2
Mythrill
Registered User
 
Join Date: May 2003
Posts: 19
Default

Ok, I forgot to post some details. Here it goes.

Processor: Athlon XP 1800+

256MB RAM

bash-2.05a$ cat /proc/driver/nvidia/cards/0
Model: GeForce2 MX/MX 400
IRQ: 10
Video BIOS: ??.??.??.??
Card Type: AGP

Video Bios: American MegaTrends Rev. 2.60

MotherBoard:

VIA 8VTAA =. C82688

Kernel => 2.4.20, no patches.

Dristro => Slackware 8.1

Here we've also got X86Config file... it uses
Attached Files
File Type: txt xf86config.txt (14.1 KB, 144 views)
Mythrill is offline   Reply With Quote
Old 05-07-03, 08:39 AM   #3
Mythrill
Registered User
 
Join Date: May 2003
Posts: 19
Default

...

Last edited by Mythrill; 05-07-03 at 08:46 AM.
Mythrill is offline   Reply With Quote
Old 05-07-03, 08:47 AM   #4
Mythrill
Registered User
 
Join Date: May 2003
Posts: 19
Default

Here's a log file.
Attached Files
File Type: log xfree86.1.log (22.1 KB, 132 views)
Mythrill is offline   Reply With Quote
Old 05-07-03, 09:15 AM   #5
Mythrill
Registered User
 
Join Date: May 2003
Posts: 19
Default

Oh, I've compiled gcc-3.2.1 myself, with the following options...

Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs Configured with: /root/Atualizações/Software/Fontes/gcc-3.2.1/./configure --prefix=/usr --with-gnu-as --with-gnu-ld --enable-threads=posix --disable-win32-registry --enable-checking --disable-nls
Mythrill is offline   Reply With Quote
Old 05-07-03, 09:19 AM   #6
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

You built gcc in the same directory as the source is in?

That's not a well-tested way of building it -- you have to create another directory, then do (from inside that directory) ../gcc-3.2.1/configure <options>, not ./configure <options> from the gcc directory.

Take a look at the LFS book (linked from www.linuxfromscratch.org), to see how they do it. Building it that way hasn't failed me yet...
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-07-03, 09:20 AM   #7
Mythrill
Registered User
 
Join Date: May 2003
Posts: 19
Default

I've created a directory inside gcc-3.2.1 directory, called
"gccbuild" and then compiled gcc-3.2.1 in it
Mythrill is offline   Reply With Quote
Old 05-07-03, 11:05 AM   #8
Mythrill
Registered User
 
Join Date: May 2003
Posts: 19
Default

By the way... I'm testing NVIDIA-2802... it seems to work... NVIDIA-29xx works too, but it's unstalbe.
Mythrill is offline   Reply With Quote

Old 05-07-03, 05:02 PM   #9
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

That's not a supported setup either (creating a build directory inside the source directory, that is). The only widely-tested way of doing it is to create a directory at the same level as the gcc-3.2.1 directory (I call it gccbuild too, but that's personal preference), like the LFS people build it. So that if you cd .. from the gcc-3.2.1 directory and do an ls, you see both gcc-3.2.1 and gccbuild.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-08-03, 08:22 AM   #10
Mythrill
Registered User
 
Join Date: May 2003
Posts: 19
Default

I've compiled gcc as you told me to, but the driver still insists on not working at all...
Mythrill is offline   Reply With Quote
Old 05-08-03, 11:33 AM   #11
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

I suppose you've recompiled the kernel and nVidia driver with this newest compiler, right?

If so, I'm not really sure what it could be...
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-08-03, 10:32 PM   #12
Mythrill
Registered User
 
Join Date: May 2003
Posts: 19
Default

Quote:
Originally posted by bwkaz
I suppose you've recompiled the kernel and nVidia driver with this newest compiler, right?

If so, I'm not really sure what it could be...
Thank you for helping me. I've discovered the problem. I'm really sorry... the problem was an accidental kernel misconfiguration... I'll post the problem here for anyone that has stability problems:

The problem is that on the kernel source, right below 'enable AGP support', there are some drivers for other cards. Not disabling them will cause conflits and also your card is going to be *really* unstable.

Solution: Disable the modules of other card on the "Character Devices section".

Thanks for helping!
Mythrill is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA Drivers Receive Windows 8 Certification News Archived News Items 0 06-01-12 05:30 AM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 09:31 PM
Nvidia Stereo Drivers Soudontsay NVIDIA Windows Graphics Drivers 2 08-26-02 10:48 AM
Kernel drivers and GCC 3.2 Alan666 NVIDIA Linux 2 08-24-02 10:21 PM
NVIDIA 2960 Drivers & RH 7.3 W/2.4.18-5 XASCompuGuy NVIDIA Linux 6 08-02-02 11:53 AM

All times are GMT -5. The time now is 09:23 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.