ulukaj Posted May 18, 2006 Report Share Posted May 18, 2006 Hi, i have mandriva 2006 installed. I cant install the nvidia driver for my geforce mx440.I followed the instructions posted here and I couldn`t install it.I`m new to linux.Here`s the installer`s log.Hope someone can help me.Thanks. nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Thu May 18 19:05:59 2006 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false no precompiled interface: false no ncurses color : false query latest driver ver : false OpenGL header files : true no questions : false silent : false no backup : false kernel module only : false sanity : false add this kernel : false no runlevel check : false no network : false no ABI note : false no RPMs : false force tls : (not specified) force compat32 tls : (not specified) X install prefix : /usr/X11R6 OpenGL install prefix : /usr compat32 install prefix : (not specified) installer install prefix: /usr utility install prefix : /usr kernel name : (not specified) kernel include path : (not specified) kernel source path : (not specified) kernel output path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /root/tmp ftp mirror : ftp://download.nvidia.com RPM file list : (not specified) Using: nvidia-installer ncurses user interface -> License accepted. -> No precompiled kernel interface was found to match your kernel; would you li ke the installer to attempt to download a kernel interface for your kernel f rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes) -> No matching precompiled kernel interface was found on the NVIDIA ftp site; this means that the installer will need to compile a kernel interface for your kernel. -> Performing CC test with CC="cc". ERROR: The kernel header file '/usr/src/linux-2.6.12-12mdk/include/linux/kernel.h' does not exist. The most likely reason for this is that the kernel source path '/usr/src/linux-2.6.12-12mdk' is incorrect. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com. :huh: Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted May 18, 2006 Report Share Posted May 18, 2006 You must install the kernel-source rpm in order to compile any type of software, including drivers. Install your kernel-source file. Be sure to match the file to the running kernel. Quote Link to comment Share on other sites More sharing options...
ulukaj Posted May 18, 2006 Author Report Share Posted May 18, 2006 (edited) I`m kinda doing everything with my eyes closed. Isn`t urpmi kernel-source supposed to do what you say?. If so i did it.I`m new to linux as you might guess. Edited May 18, 2006 by ulukaj Quote Link to comment Share on other sites More sharing options...
grendal Posted May 18, 2006 Report Share Posted May 18, 2006 try this: rpm -qa | grep kernel the results should tell you what kernel is installed and if you have the source installed. (if I remember correctly, I'm at work on a windows machine.) Or go to the MCC-remove software. Then search kernel. JUST DO NOY REMOVE ANYTHING. This will also tell you if the source is indeed installed. From there you could simply do the same in MCC-install software, then match the source to your kernel. Quote Link to comment Share on other sites More sharing options...
ulukaj Posted May 18, 2006 Author Report Share Posted May 18, 2006 (edited) I got this [ulukaj@localhost ~]$ rpm -qa| grep kernel kernel-2.6.12.12mdk-1-1mdk nvidia-kernel-2.6.12-12mdk-7676-1mdk kernel-source-2.6-2.6.12-18mdk I think i have the source installed.Now what? Edited May 18, 2006 by ulukaj Quote Link to comment Share on other sites More sharing options...
grendal Posted May 18, 2006 Report Share Posted May 18, 2006 ok, I may be wrong on this, I'm guessing that you probally boot into the nvidia kernel, which has no source installed. THIS IS JUST ME, but I think I would boot into the stock kernel, then try to install the drivers. I've never used the nvidia kernel so you may want to wait and see if anyone has ideas about that. That's the great thing about this place, help usually comes fairly fast. Don't worry your close. Quote Link to comment Share on other sites More sharing options...
grendal Posted May 18, 2006 Report Share Posted May 18, 2006 I found this : http://www.linuxloader.com/modules.php?nam...showpage&pid=25 Quote Link to comment Share on other sites More sharing options...
ulukaj Posted May 18, 2006 Author Report Share Posted May 18, 2006 Thanks I hope you`re right :) Quote Link to comment Share on other sites More sharing options...
Gul Dukat Posted May 18, 2006 Report Share Posted May 18, 2006 Your kernel and kernel-source don't match. You've got kernel 2.6.12-12mdk and kernel-source 2.6.12-18mdk. So you should upgrade your kernel first to kernel 2.6.12-18mdk. Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted May 18, 2006 Report Share Posted May 18, 2006 Yes, the problem is that your kernel source does not match your running kernel. Using urpmi configured to download the latest software will get you the newest sources rather then the ones on the cd's. In this case, the kernel has been updated and you have the sources for the new kernel. I would install the new kernel. After that, boot into the new kernel and install the nvidia software. Also, be sure that you are not in x at all. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted May 19, 2006 Report Share Posted May 19, 2006 You can upgrade the kernel with: urpmi kernel-2.6.12.18mdk and then reboot to use the new kernel, and try again with the nvidia install. You can once successfully rebooted, remove your old kernel with: urpme kernel-2.6.12.12mdk Quote Link to comment Share on other sites More sharing options...
ulukaj Posted May 19, 2006 Author Report Share Posted May 19, 2006 I got this [root@localhost ulukaj]# urpmi kernel-2.6.12.18mdk no package named kernel-2.6.12.18mdk I also tried the steps given on the site proposed by grendal I seem to have installed/uninstalled all but the driver Quote Link to comment Share on other sites More sharing options...
Gul Dukat Posted May 19, 2006 Report Share Posted May 19, 2006 How did you set urpmi? I mean, how did you configure it? Here you'll find how to configure it: http://www.mandrivausers.org/easyurpmi/index.php Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted May 19, 2006 Report Share Posted May 19, 2006 Kernel source link kernel link These are the latest released products. They work fine. Quote Link to comment Share on other sites More sharing options...
ulukaj Posted May 20, 2006 Author Report Share Posted May 20, 2006 Yes i installed them both,but I still cant install the nvidia driver Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.