LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 06-03-2005, 05:04 AM   #1
hoolie_v
LQ Newbie
 
Registered: Jul 2004
Location: the Netherlands
Distribution: Slackware newbie
Posts: 11

Rep: Reputation: 0
NVIDIA drivers on Slackware 10.1


I'm new into Slackware. (Came from SuSE.....)
Installation went fine, but obviously I needed the NVIDIA drivers due to a very poor graphic performance.
-Downloaded the NVIDIA drivers.
-Shutted down X
-Started the installation...
-Program returned that it had to compile the proper kernelmodule
-Could not find it on my system

To be sure I (re)installed the kernel source (wich I already did but you can never know)
2nd try:
-Same as above but started the Instalation with sh NVIDIA.....~~.run --kernel-source-path- /usr/src/linux-2.4.29/kernel
-Program returned with the same problem.

So my question is were is the kernel source code installed in Slackware, or did I make another mistake?
 
Old 06-03-2005, 05:09 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
in a terminal do:

Code:
ls -l /lib/modules/`uname -r`/build
and make sure it is a symlink ( has an arrow pointing back to /usr/src/linux-2.4.29 ).
your source directory is /usr/src/linux-2.4.29, not /usr/src/linux-2.4.29/kernel. you may need to ( I always do anyway) cd into /usr/src/linux-2.4.29 as root and run "make dep" then run the nvidia installer.
 
Old 06-03-2005, 05:58 AM   #3
hoolie_v
LQ Newbie
 
Registered: Jul 2004
Location: the Netherlands
Distribution: Slackware newbie
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the quick reply!

Symlink looks fine to me:
lrwxrwxrwx 1 root root 21 2005-06-02 13:01 /lib/modules/2.4.29/build -> /usr/src/linux-2.4.29

The make dep runned fine as well, but the same error keeps coming up..
(cannot load nvidia.o)

[EDIT] Searched a lot around, and the best thing I can do seems to recompile my kernel, cause NVIDIA seems to have a problem with pre-copiled kernels. So that's my objective before the weekend starts..

Last edited by hoolie_v; 06-03-2005 at 06:30 AM.
 
Old 06-03-2005, 08:55 AM   #4
Soulful93
Member
 
Registered: Dec 2003
Location: Denver, CO
Distribution: SuSE 9.2 Slackware 10.1
Posts: 137

Rep: Reputation: 15
To be honest I've run into that error myself. I just ignore it, everything functions as it should.
 
Old 06-03-2005, 02:20 PM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
sorry I mis-understood you, didn't know the module was building but not loading. look in /var/log for the nvidia-installer.log file, and post the relevant portion of that. are you still using the original 2.4.26 kernel that came with slack 10.1? if you are you cannot use the kernel-source you are using to build the nvidia module. what this error usually means is that the module built fine, but it wasn't built against the kernel sources of the kernel that is actually running. if that build symlink is good, then you shouldn't have to tell it what sources to use. if this is the case ( running 2.4.26 but have 2.4.29 sources ) remove the kernel-source package, go to a slackware mirror and get the kernel-source-2.4.26 package from the 10.1 directory ( it's under k/ ).
 
Old 06-04-2005, 12:31 AM   #6
hoolie_v
LQ Newbie
 
Registered: Jul 2004
Location: the Netherlands
Distribution: Slackware newbie
Posts: 11

Original Poster
Rep: Reputation: 0
That was indeed the problem. I compiled the source, and after that it works fine (it didn't solve my graphics problem, but that's another story )
What I read about the problem is the GCC version which builded the precompiled kernel causes the problem. The GCC version which is on the 10.1 ISO is a different version, then the version which was used to make the precompiled version. I compiled the source and now the driver compiled ok and loads fine!

Next challenge: solve the real graphics problem. (Still too fresh to open a new topic for... )

But tnx for the reply's!
 
Old 06-04-2005, 04:08 AM   #7
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
Have you edited xorg.conf to load the new nvidia driver and not the old one?
 
  


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
Problems with Nvidia drivers in slackware.. VrilDox Slackware 7 10-02-2004 12:15 AM
Installing nVidia drivers on slackware 9 gtgoku Slackware 2 10-16-2003 12:39 AM
NVIDIA drivers on slackware lax0r Slackware 6 06-10-2003 07:45 PM
nVidia drivers in Slackware 8 hecresper Slackware 7 12-23-2002 11:31 AM
slackware nvidia drivers? barazor Linux - General 1 12-20-2001 12:50 AM


All times are GMT -5. The time now is 07:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration