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 |
For starters, try getting the latest ones (at the top of the page) and see if you get the same errors.
|
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 |
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 |
I have installed the old drivers fine, but not got around to doing the new ones yet. I will get back to you shortly...
|
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. |
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 |
Yeah... well, I've done it a fair few times, so I just did it from memory, but yeah.
|
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 |
Quote:
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??? :eek: 4. Does it matter where I unpack glx and kernel files? Talking of kernel modifying makes me allways nervous. |
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. |
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 |
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/ |
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 |
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 |
All times are GMT -5. The time now is 01:43 AM. |