LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-20-2004, 08:58 AM   #1
fogcat
Member
 
Registered: May 2004
Location: Cortland County NY USA
Distribution: Mint
Posts: 60

Rep: Reputation: 15
Question NVIDIA driver error, why?


I have 10.0 official ,FX 5200 Ultra AGP, Athlon XP2500 w/1Gig RAM, dual installation XP & Mandrake on seprate drives(boot works just fine), kernel 2.6.3-9mdk-i686-up-4GB(including the proper source file). Now then........

Whenever I try to install the Nvidia driver (5336) I get an error message as follows:

Unable to determine the NVIDIA kernel module filename
make: ***[select_makefile] Error1




What am I doing wrong? The install log seems to give me no clue as it just has the saame info as above. I am sure this is something fundamental that I am missing as I have followed all the posts about driver problems that I can find and seem to have eliminated the flaws seen there.(Yea right!)

TIA for any response.

Dan Mac
 
Old 05-20-2004, 10:38 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
hmm...are you completely sure that the nvidia support is added in the kernel? one time in the past when I tried to install drivers for an old tnt2 I couldn't, because I didn't have the nvidia module added in the kernel when I compiled it. helped when I recompiled and added the right module, plus checked that I had everything else I need..
 
Old 05-20-2004, 01:21 PM   #3
fogcat
Member
 
Registered: May 2004
Location: Cortland County NY USA
Distribution: Mint
Posts: 60

Original Poster
Rep: Reputation: 15
I do not seem to have any Nvidia modules whatsoever. How can I fix this?

Dan Mac
 
Old 05-20-2004, 02:04 PM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
hmm..if neither of these give you any nvidia-related module:

lsmod
modprobe -l | grep nv

then I'd say it's perhaps best to surf to kernel.org and download kernel sources, make them and check that the nvidia module comes along and after compilation, run the new kernel..I'm not that familiar with kernel patching or adding some modules afterwards or anything like that, so if it's about missing module, I'd get and compile a new kernel..that's one option, and not as difficult as it might sound.
 
Old 05-21-2004, 04:36 PM   #5
fogcat
Member
 
Registered: May 2004
Location: Cortland County NY USA
Distribution: Mint
Posts: 60

Original Poster
Rep: Reputation: 15
Is it possible to patch the kernel to add a module? I did have the 2.6.3-7 and installed the newer 2.6.3-9 per security upgrade notice from MDK. I would sure hate to trash my setup now that it does work so well(except that I can't use my video properly). I will check out kernel.org and see whats there, but am hoping that an easier or safer? solution comes up. Thank you for such clear direction; it isn't always the case on these type of forums but there are always some who can!

Dan Mac
 
Old 05-22-2004, 06:08 AM   #6
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
yes, of course the patching would be the easiest way of course, if this problem is because of a missing kernel module like it seems. I just don't know if there is a patch for nvidia's driver...you could try googling for it, of course (with keywords like "nvidia kernel patch" or "nvidia patch")...

if you have kernel sources in /src/linux (where linux can be linux-2.6.xx or something else, depending on version..or then just linux), check out if the directory also contains a file called .configure (dot-configure). if it does (it does, if you've compiled a kernel yourself, but may contain otherwise too), that's a good thing - then you can just d/load new kernel sources, copy the .configure file to the new source directory (which copies your current kernel settings), make the kernel and only add the nvidia module leaving everything else as it is, and compile the new kernel. this enables you to keep your current kernel quite exactly as it is, so that nothing basically changes, except that you get the nvidia module too..

but before doing that, try to google for the nvidia patch, if one happens to exist already..if not, then I'm afraid I can't help for that much more because I haven't written any patches for kernel myself.

I wish the best of luck to you...
 
Old 05-28-2004, 12:04 PM   #7
fogcat
Member
 
Registered: May 2004
Location: Cortland County NY USA
Distribution: Mint
Posts: 60

Original Poster
Rep: Reputation: 15
Yesterday I had enough, with all the fooling around with module building, etc.. I trashed the X system, sooo; I reinstalled with a complete reformat. Guess what?? Everything works just fine now. I don't know why it didn't the first time around unless there were some dependencies error or something simple in that regard that wasn't clear. Anyhow the problem was resolved. thank you for your advise, it was very informative and I have learned some valuable lessons here.

Dan Mac
 
Old 06-22-2004, 08:29 PM   #8
gkurts
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
Had the same exact problem - had ran online update for mandrake and it updated my kernel sources from 2.6.3-7 to 2.6.3-13 --- I grabbed CD3 and did an "rpm -e kernel-source-2.6.3-13mdk" to remove the udpated kernel sources then did and "rpm -i /mnt/cdrom/Mandrake/RPMS3/kernel-source-2.6.3-7mdk.i586.rpm". After that I ran the installer and it worked great! If you previously had the nvidia drivers installed, you may have to do an "sh NVIDIA-Linux-x86-1.0-5336-pkg1.run --uninstall" to remove it first...

Hope this helps someone.
 
  


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
Error when installing nvidia driver. sdat1333 SUSE / openSUSE 2 12-12-2004 02:52 PM
Nvidia driver installation error. RoaCh Of DisCor Linux - Software 1 10-24-2004 01:31 AM
Nvidia Driver Error PLEASE HELP!!!! binny959 Linux - Games 6 08-28-2004 07:07 PM
nVidia driver install error carlosinfl Linux - Software 1 07-20-2004 04:18 AM
Nvidia Driver update error fzx1 Linux - Newbie 3 04-07-2004 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:14 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