LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2004, 02:42 PM   #1
Icetec
Member
 
Registered: Oct 2004
Posts: 33

Rep: Reputation: 15
Are Nvidia drivers installable?


I have tried getting the Nvidia drivers working for about 2 hours now. They simply refuse. I use the bareacpi.i kernel from the Slackware 10 cd. The first thing the installer says is that it can't find a precompiled kernel image for my kernel and asks if it should download it. Of course, it can't find one to download either. Then it says that it will compile one. Then, it complains about gcc (the order might be messed up, can't remember). It asks if I should ignore the error. Answering "yes" will bring me to an error about /usr/src/nv/conftest.sh. Nothing I have found on the internet have been very helpful. I have tried modifying the conftest.sh, didn't work. I have tried with 2.6.8.1, wont work there either. I have tried older drivers. Won't work. Is there a way of installing drivers for Nvidia cards in Linux? The urge of throwing Linux in the wall and installing Windows again is rising.

Any help will be greatly appriciated.
 
Old 10-08-2004, 02:46 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
The gcc error is because you're using a different version compiler than the one your kernel is compiled with. For me the only thing that worked was downgrading to the gcc I compiled the kernel with or recompiling the kernel with your current gcc.

The kernel source is downloadable from www.kernel.org . Untar it in /usr/src and make a symbolic link linux to it. The driver should now recognize it.
 
Old 10-08-2004, 03:10 PM   #3
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
a couple of things to try. make sure your running kernel and kernel source versions are the same, if not just rename the source to match the running kernel(to avoid bogus error messages) do a 'make cloneconfig' and 'make prepare-all' from within /usr/src/linux. try running the nvidia installer with --kernel-source-path=/usr/src/linux appended to the normal sh. NVIDIA-Linux-blah-blah.run line.
 
Old 10-08-2004, 03:31 PM   #4
Icetec
Member
 
Registered: Oct 2004
Posts: 33

Original Poster
Rep: Reputation: 15
root@david:/usr/src/linux-2.6.8.1# make cloneconfig
bash: make: command not found
root@david:/usr/src/linux-2.6.8.1# make prepare-all
bash: make: command not found
root@david:/usr/src/linux-2.6.8.1#


I have installed the 2.6.8.1 kernel along with the source. I figured /usr/src/linux-2.6.8.1 would be the correct source path. Still not working.
How do I check what version of gcc the kernel is compiled with?
 
Old 10-08-2004, 03:34 PM   #5
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Did you make a symbolic link to you source folder like this:

Code:
ln -s linux-2.6.8.1 linux
It;s also useful for other programs.
 
Old 10-08-2004, 03:49 PM   #6
Icetec
Member
 
Registered: Oct 2004
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by darkleaf
Did you make a symbolic link to you source folder like this:

Code:
ln -s linux-2.6.8.1 linux
It;s also useful for other programs.
Exactly what does that do?
 
Old 10-08-2004, 04:31 PM   #7
Icetec
Member
 
Registered: Oct 2004
Posts: 33

Original Poster
Rep: Reputation: 15
Nothing has worked yet. I am beginning to think that there is something wrong with my hardware soon. Even though it works just fine in Windows XP. It can't be that hard to make drivers that actually work, can it?
 
Old 10-08-2004, 04:31 PM   #8
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
It's sort of a shortcut to the folder (if you do "cd linux" it will bring you to the linux-2.6.8.1 folder). It's easier to use cause programs search for /usr/src/linux as that one isn't dependent on versions but links to the proper kernel source.

Is that for an error you're getting or do you have another error?
 
Old 10-08-2004, 04:32 PM   #9
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
It's a software problem btw. Nothing wrong with your hardware . I think you're now having the error with the wrong gcc version isn't it?
 
Old 10-08-2004, 04:36 PM   #10
Icetec
Member
 
Registered: Oct 2004
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by darkleaf
It's a software problem btw. Nothing wrong with your hardware . I think you're now having the error with the wrong gcc version isn't it?
Yes. Is there anyway of checking what version the kernel was compiled with? I downloaded the packages for 2.6.8.1..
 
Old 10-08-2004, 04:37 PM   #11
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Did you install that kernel as well? Or do you only have the packages?
 
Old 10-08-2004, 04:40 PM   #12
Icetec
Member
 
Registered: Oct 2004
Posts: 33

Original Poster
Rep: Reputation: 15
I have installed it, and I am using it now. I have installed all the packages on mirror.pudas.net.
 
Old 10-08-2004, 05:51 PM   #13
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Quote:
Originally posted by Icetec
Yes. Is there anyway of checking what version the kernel was compiled with? I downloaded the packages for 2.6.8.1..
You can find the version of gcc the currently running kernel was compiled with using like so:

cat /proc/version
 
Old 10-08-2004, 05:55 PM   #14
Icetec
Member
 
Registered: Oct 2004
Posts: 33

Original Poster
Rep: Reputation: 15
It said gcc version 3.3. I could find 3.3.4 on swaret. Is it close enought, or do I keep looking for 3.3?
 
Old 10-08-2004, 06:36 PM   #15
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Ok, looking back through your other posts, I'm not sure you even have the required development tools installed to build the module:
Quote:
root@david:/usr/src/linux-2.6.8.1# make cloneconfig
bash: make: command not found
root@david:/usr/src/linux-2.6.8.1# make prepare-all
bash: make: command not found
root@david:/usr/src/linux-2.6.8.1#
You mention swaret, so I assume you're using Slackware? Anyway, what's your output for these commands?

gcc -v
ld -v
make -v

If you get command unknown, then most likely gcc, make and binutils aren't installed. If that's the case, then you'll need to install the them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing nvidia drivers from nvidia website on mepis 3.3 xbennyboy Linux - Hardware 4 04-23-2005 10:19 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 06:32 AM
Nvidia Drivers Graphics and motherboard drivers help sithyoda Linux - Newbie 4 10-01-2004 07:32 PM
mandrake 10 nvidia drivers and winmodem drivers mikeymouse Mandriva 6 08-28-2004 08:57 AM
nvidia drivers / nv vs nvidia & TNT2 trekk Fedora 0 01-26-2004 02:11 PM


All times are GMT -5. The time now is 02:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration