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

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-16-03, 02:39 PM   #13
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Quote:
Originally posted by duvvid
This is not true.

This was only required for one (now outdated) kernel release, due to a packaging bug. The details are in the FAQ section of the NVidia README file.
I've read that section, and despite what it says, there are different processor architectures that RedHat builds kernels for. They include a config file for each of them in the configs directory.

However, it is completely impossible to configure the actual sources (what make *config does) for more than one architecture at a time. If the sources as you install them are configured for i386 (I don't know if they are or not, but if so), and your running kernel was built against a .config for i686, or whatever, then the driver you build with those sources WILL NOT WORK.

Quote:
Originally posted by dpw2atox
I upgraded my compiler to 3.2.3 from 3.2.2 and I think thats what is causing my problem. Anyone know how I can make installing the driver work or do I have to manually compile a kernel to make it work?
Yes, this is what's causing the problem. Your kernel was compiled with 3.2.3 (or whatever RedHat used...), and your current system compiler is 3.2.2. In this specific case (assuming the numbers as posted were correct, and you downgraded one version), then doing export IGNORE_CC_MISMATCH=1 and then rerunning the installer should work.

However, if anyone in the future reads this and thinks "oh, I can just export IGNORE_CC_MISMATCH", no, you probably can't. There are MAJOR differences between compiler versions, especially gcc 2 to gcc 3, but even between 3.1 and 3.2, that will cause driver problems. The correct solution is to recompile the kernel with the system compiler, then boot to it, but if (and ONLY if) the two compilers in question are similar enough, you can ignore the mismatch.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-16-03, 02:52 PM   #14
dpw2atox
Registered User
 
Join Date: May 2003
Posts: 170
Default

thanks for the info. Im at work right now and will try that when I get home. Only thing was you got what I said reversed. I have Gcc 3.2.3 and redhat compiled the kernel with 3.2.2 thats all. I got the update from rawhide because it has some bug fixes and I got tired of waiting on redhat to release 3.2.3 for redhat 9 officially.
dpw2atox is offline   Reply With Quote
Old 05-16-03, 04:19 PM   #15
dpw2atox
Registered User
 
Join Date: May 2003
Posts: 170
Default

it worked thanks a bunch man
dpw2atox is offline   Reply With Quote
Old 05-16-03, 11:24 PM   #16
duvvid
Registered User
 
Join Date: Nov 2002
Posts: 6
Default

Quote:
Originally posted by bwkaz
I've read that section, and despite what it says, there are different processor architectures that RedHat builds kernels for. They include a config file for each of them in the configs directory.
They're provided as a starting point for newbies, and to satisfy peoples curiosity.

Quote:
However, it is completely impossible to configure the actual sources (what make *config does) for more than one architecture at a time. If the sources as you install them are configured for i386 (I don't know if they are or not, but if so), and your running kernel was built against a .config for i686, or whatever, then the driver you build with those sources WILL NOT WORK.
With the Red Hat kernel tree from the kernel-source RPM, IT DOES WORK. It has been patched to ensure it works.

But don't take my word for it - go download the Red Hat kernel-source RPM and see for yourself. Pay close attention to include/linux/rhconfig and what it does.
duvvid is offline   Reply With Quote
Old 05-17-03, 10:09 AM   #17
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

I can't install RPMs.

Anyway, OK, maybe you don't have to do it now. Who's to say it doesn't get screwed up again in the future?
__________________
Registered Linux User #219692
bwkaz 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
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 04:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 11:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 05:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 12:04 PM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 09:22 PM

All times are GMT -5. The time now is 09:51 AM.


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