LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Having trouble installing NVIDIA updates in Mandriva 2006.0 powerpack (https://www.linuxquestions.org/questions/linux-software-2/having-trouble-installing-nvidia-updates-in-mandriva-2006-0-powerpack-477088/)

DJNolz83 08-24-2006 06:22 PM

Having trouble installing NVIDIA updates in Mandriva 2006.0 powerpack
 
Hey there
I am not sure if this has been posted before, but if it has, I am sorry!:newbie:
Ok. I am running Mandriva Powerpack 2006.0, and have an Nvidia chipset videocard.
I want to install the latest, updated drivers for it, but seem to be having all sorts of troubles.
I manage to bypass booting to x (by setting default runlevel to 3, and then back again to 5 when finished) and thats cool. I manage to get to the location where I downloaded the file to, and run the shell script, but, after a while, it tells me that it is missing some files.
It mentions kernel.h and kernel-source RPM's, and goes no further with the installation.
I am as confused as all hell about this, and not quite sure where to go from there.
Just to go a bit further into this, I recently (as in yesterday/day before) updated my entire installation (all 800mb+) worth of updates, so I am assuming that part of that would have been the kernel source packages (as I saw them ticked in the list of updates to be installed).

Should I try and persevere with this method of installation, or should I resort to editing the conf file manually with the instructions that come in the README package (from NVIDIA)??
:confused: :confused: :confused:
I am hoping you are able to help. Thanks in advance!!!

rylan76 08-25-2006 08:48 AM

This happened to me too a while ago. You need to have an installed and configured kernel source tree - that's what the NVidia install script is complaining about.

I -never- use automatic updates (for some good reasons) so what I did was to download the kernel version that I wanted to use, unpack and configure the source, compile and install the kernel. Then, in runlevel 3, I installed the NVidia driver for my GeForce 6800LE by referring to the path where the configured kernel source was located. Here's the notes I made to my self (I use a 2.6.14.3 kernel, not 2.6.12 as indicated):

Install the NVidia driver for 2.6.12 kernel:

1. Unpack the kernel in /usr/src/linux
2. Make clean
3. Make mrproper
4. Make menuconfig (just exit and select to save parameters)
5. Configure to tase
6. Make all
7. Make modules_install
8. Make install.

Install the NVidia driver by running it with
--with-kernel-source=/usr/src/linux/linux-version.version

after rebooting into the new kernel.

Maybe (since you say you marked kernel packages to be updated) you already -have- the kernel source -somewhere- on your system (nobody knows where - THAT'S one reason not to -ever- use any form of Microsoft-like "auto update" cr*p) - all you need to do is to point the NVidia driver install script to it??

DJNolz83 08-25-2006 09:13 PM

Thank you Rylan
I shall take this on board and see how we go!


All times are GMT -5. The time now is 03:47 AM.