LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-14-2002, 10:51 PM   #1
cjorli
LQ Newbie
 
Registered: Oct 2002
Location: US
Distribution: Fedora FC1
Posts: 16

Rep: Reputation: 0
Mandrake 9.0 and nVidia


Hi all

I was curious as to if anyone has installed a GeForce card in Mandrake 9.0? If so, how did you do it? I have a GeForce2 GTS and cannot get the make command to work. The following is the instructions that I have used to install (using 9.0 not 8.0):
-----------------------------------------------------------------------------------

From a fresh install of Mandrake 8.0:

Download the NVIDIA drivers to the directory of your choice. Pick up the non-RPM based files.
NVIDIA_kernel-1.0-1251.tar.gz
NVIDIA_GLX-1.0-1251.tar.gz
[Yes, I know you can get the RPMS but trust me on this one]
Exit out of X, [if you're are still in it] and get to the command line only.
Go to the directory you down loaded the NVIDIA driver files to.
Kernel Driver
First, we have to deal with the kernel driver.

Start with the following commands:
tar -zxvf NVIDIA_kernel-1.0-1251.tar.gz
You should now have a directory called NVIDIA_kernel-1.0-1251
Change to the new directory.
Now to compile the kernel driver:
make
The compile should complete without resulting in an error.
That should install the kernel driver. Now for GLX

------------------------------------------------------------------------------------
Yet I receive this error everytime:
------------------------------------------------------------------------------------

You appear to be compiling the NVdriver kernel module with a compiler a compiler different from the one that was used to compile the running kernel. This may be perfectly fine, but there are cases where this can lead to unexpected behavior and system crashes.

If you know what you are doing and want to override this check, you can do so by setting IGNORE_CC_MISMATCH.

In any other case, set the CC enviroment variable to the name of the compiler that was used to compile the kernel.

*********Failed cc sanity check. Bailing out! ****
make:***[gcc-check] Error 1
------------------------------------------------------------------------------------
And this is all nVidia has about this in their readme:
------------------------------------------------------------------------------------

You appear to be compiling the NVdriver kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine, but there
are cases where this can lead to unexpected behaviour and
system crashes.

If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.

In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.

------------------------------------------------------------------------------------
Let me know if anyone can help.

cjorli
 
Old 10-15-2002, 05:36 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
For starters, try getting the latest ones (at the top of the page) and see if you get the same errors.
 
Old 10-15-2002, 08:10 PM   #3
cjorli
LQ Newbie
 
Registered: Oct 2002
Location: US
Distribution: Fedora FC1
Posts: 16

Original Poster
Rep: Reputation: 0
The driver version in the directions weren't the same as the drivers I used. I downloaded the latest build (1.0-3123) and tried to install with those. The IGNORE_CC_MISMATCH error was a result of installing those drivers.

cjorli
 
Old 10-15-2002, 09:58 PM   #4
cjorli
LQ Newbie
 
Registered: Oct 2002
Location: US
Distribution: Fedora FC1
Posts: 16

Original Poster
Rep: Reputation: 0
Has anyone actually installed nVidia drivers in Mandrake 9.0 yet? I've been searching like crazy and can't seem to find anyone who has an answer. This is pretty frustrating.

cjorli
 
Old 10-16-2002, 07:03 AM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
I have installed the old drivers fine, but not got around to doing the new ones yet. I will get back to you shortly...
 
Old 10-16-2002, 07:14 AM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Just installed version 1.0-3123 of both Kernel and GLX and they're working fine. Had a slight problem to start with because, although I dropped out of X, I didn't rmmod the nvdriver module, so when I tried to re-startx it was using the wrong one. A quick reboot (although rmmoding would have worked) and all was fine.

I'm using Mandy 9 with kernel version 2.4.19-16mdk which is default, and GCC version 3.2

No problems.
 
Old 10-16-2002, 09:27 AM   #7
cjorli
LQ Newbie
 
Registered: Oct 2002
Location: US
Distribution: Fedora FC1
Posts: 16

Original Poster
Rep: Reputation: 0
I am also trying to install 1.0-3123 of both Kernel and GLX and Mandrake 9 with kernel version 2.4.19-16mdk and GCC version 3.2. Thymox, did you just use the instructions in the readme?

cjorli
 
Old 10-16-2002, 10:20 AM   #8
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Yeah... well, I've done it a fair few times, so I just did it from memory, but yeah.
  • Download the appropriate drivers (tar.gz format)
  • Untargz them
  • Leave X
  • make install in the kernel
  • make install the GLX
  • Make backup copy of original/working XF86Config-4 file
  • Edit XF86Config-4 file and:
  • Add load "glx" to the Modules section
  • Change Driver "nv" to "nvidia" in the Device section
  • Save file
  • Restart X
I didn't have any error messages about having the wrong GCC version or anything... strange?
 
Old 10-16-2002, 12:34 PM   #9
cjorli
LQ Newbie
 
Registered: Oct 2002
Location: US
Distribution: Fedora FC1
Posts: 16

Original Poster
Rep: Reputation: 0
that's the steps i have been trying to take. i tar the files just fine, but when i do the make command, i get that error. maybe i should just do a fresh install again and see if that helps... thanks for your comments,

cjorli
 
Old 10-19-2002, 03:20 PM   #10
adas
Member
 
Registered: Oct 2002
Location: It's icy and cold and damn...
Distribution: Mandrake 9.0
Posts: 61

Rep: Reputation: 15
Quote:
* Download the appropriate drivers (tar.gz format)
You mean RPM's for mandrake 8.2 is not an option? I thought linux kernels are downwards compatible, but they crashed my xfree... Hell knows!
Anyway, you mean I don't need any extra parameters for my tar file? I need no hacking in the sources? That would be superb.

Now I have few questions to go:
1. How to exit gnome or KDE? (yes, I'm still newbie)
2. Do I need to have source of my kernel available?
3. Do I need to recompile my kernel???
4. Does it matter where I unpack glx and kernel files?

Talking of kernel modifying makes me allways nervous.

Last edited by adas; 10-19-2002 at 03:23 PM.
 
Old 10-19-2002, 03:34 PM   #11
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
The RPMs are specifically written for specific kernels. The Mandrake 8.2 kernel files (from nVidia) have been tweaked specifically for the default kernel that comes with Mandy 8.2. If you have any other kernel running, for example, your own, then you won't be able to use those ones. If you're not running Mandrake 8.2, then you won't be able to use those ones. If, however, you download the .tar.gz files, then you compile the drivers against your own, running kernel. This way, if ever tweak and recompile your kernel, you only need to recompile your nvidia drivers... no hacking. If you ever tweaked/recompiled your kernel and you were using the RPM drivers, then you'd be stuffed.

Considering the ease with which you should be able to install the tar.gz drivers (make install for the kernel drivers, make install for the glx drivers), I'm amazed that people still use the RPM drivers! I had, a while ago, a situation where I tried to install the RPM drivers... and it was a nightmare - so much for 'easy to use'... the tar.gz ones went in with no hassle, though.

Now, to answer your questions.
1) There are several ways. Personally, my favourite is to force the issue... open a console and type init 3. This drops you down to run-level 3 and completely closes anything to do with X and it's many and varied environments.

2) Yes. All you should need to do is install the kernel source files. They may already be in, check the directory /usr/src/linux and see if there are any files. If the kernel has been installed already, then you should see hundreds of files... and I'm not kidding! There are loads! Check first, before you close X, because you can install the kernel by running rpmdrake (Mandrake Control Center --> Software Management --> Install Software).

3) No. All you (should) need to do is have the source files present. See step 2.

4) No. I would suggest you unpack them somewhere sensible. I have mine in /home/gsewell/files/nvidia. You do, however, need to be root when you type make install for both the kernel and glx drivers.

5) You don't need to touch your kernel, let alone modify it. However, you should not get nervous when talking about such matters. It is, actually, not as hard as it might first seem. Now, you don't need to do anything with your kernel now, but when you do need/decide to, I can only make one suggestion: read absolutely everything, regardless of whether you think you might not need it, still read about it.

Hope this helps.
 
Old 10-20-2002, 02:31 PM   #12
adas
Member
 
Registered: Oct 2002
Location: It's icy and cold and damn...
Distribution: Mandrake 9.0
Posts: 61

Rep: Reputation: 15
Thanks for your help Thymox, everything went fine until I tried to start X again. Screen blinked awhile and then it came up with this message:
XFree86 version 4.2.1/X Windows system
Build operating system: Linux 2.4.18-23mdkenterprise i686
Module loader present
Markers: (some meanings)
Using vt 7
Calling GLxExtensionInit
Fatal server error:
Caught signal 11, server aborting
I'm now writing with links, as I don't give up!
Just tell me how to remove the stupid kernel and glx drivers so I can run x again, and make backups of my cool, gimp edited pictures! Honestly, I just want to know is it true that you virtually never need to install linux again.
Let the gimp pictures go, if necessary
BTW, links is cool, gives me kinda matrix feeling, better than lynx!
cool
 
Old 10-20-2002, 10:02 PM   #13
cjorli
LQ Newbie
 
Registered: Oct 2002
Location: US
Distribution: Fedora FC1
Posts: 16

Original Poster
Rep: Reputation: 0
Nothing that was suggested on this site helped me install the nVidia drives for mandrake 9.0. I received multiple errors and headaches following everyone's "how-to's". The only thing that helped me was a post on the mandrake expert site. I thought I would post the replies and the rpm's that he told to download. I hope this helps out some other frustrated newbies.

cjorli : 09/10 07:57 : Incident created
IGNORE_CC_MISMATCH error in madrake 9.0, what is the name of the compiler to substitute for "CC"? Or give me a newbie tutorial on how to do it.
-----------------------------------------------------------------------------------

Nexus9 : 12/10 06:35 : Reply received
If you want you can download my NVidia drivers compiled with Mandrake 9.0
http://www.linuxauen.net/pedro/
----------------------------------------------------------------------------------

cjorli : 20/10 06:52 : More info provided
thanks, i'll give it a try
-----------------------------------------------------------------------------------

cjorli : 20/10 07:16 : More info provided
Thanks, that worked

cjorli
-----------------------------------------------------------------------------------
The drivers took about 3 min to install, started x and everything looks beautiful. here's the website again: http://www.linuxauen.net/pedro/. I hope this helps,

cjorli

http://www.linuxauen.net/pedro/
 
Old 10-25-2002, 01:26 AM   #14
AltF1
LQ Newbie
 
Registered: Oct 2002
Posts: 6

Rep: Reputation: 0
I just installed Mandrake 9.0 also and got the same error IGNORE_CC_MISMATCH using the 1.0-3123.tar.gz kernel and glx driver.

which of the drivers did u d/l to get Mandrake 9.0 to work from that website

also if

Thanks
 
Old 10-25-2002, 01:52 AM   #15
cjorli
LQ Newbie
 
Registered: Oct 2002
Location: US
Distribution: Fedora FC1
Posts: 16

Original Poster
Rep: Reputation: 0
The drivers that I downloaded were compiled for mand 9.0 by the guy who runs this site (he is also on the mandrake expert team). I couldn't get any other drivers to work. The two drivers I d/l were
http://www.linuxauen.net/pedro/NVIDI...-3123.i586.rpm
and
http://www.linuxauen.net/pedro/NVIDI...-3123.i586.rpm

I dropped out of x and followed nVidia's how-to for installing rpm's, which can be found here http://download.nvidia.com/XFree86_40/1.0-3123/README

Hope this helps,

cjorli
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mandrake and nvidia dink27 Linux - Software 9 06-21-2005 04:30 PM
Nvidia fx5500 mandrake 10.1 problem:Nvidia in /etc/modprobe.preload doesn't work eikeland Linux - Hardware 5 01-17-2005 02:09 PM
Mandrake and Nvidia... crash_zero Mandriva 3 04-21-2004 05:31 PM
Mandrake 8.1 NVIDIA kojo_chaos Mandriva 1 09-05-2003 10:36 AM
Mandrake 9.0, VS Nvidia cthe_artiste Linux - Hardware 1 12-27-2002 10:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration