LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-08-2007, 12:30 PM   #1
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Rep: Reputation: 45
Kernel 2.6.20.5-smp and nVidia


I've been trying to install nVidia drivers on my Slackware 11, but without any luck so far.

As far as I can see, it should be fairly simple, but the nVidia installer bombs out on me very early on in the process. Here's a tidbit from the log:
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.
-> Kernel source path: '/lib/modules/2.6.20.5-smp/build'
-> Performing cc_version_check with CC="cc".
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
ce.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.20.5-smp/bu
ild'...
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4390/NVI
DIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv_compiler.h
CC [M] /tmp/selfgz4390/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o
In file included from /tmp/selfgz4390/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz4390/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv-linux.h:17:26:
linux/config.h: No such file or directory
In file included from include/linux/list.h:8,
from include/linux/module.h:10,
from /tmp/selfgz4390/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz4390/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
From here on out it's just error upon error, until the very end where I get this:
make[3]: *** [/tmp/selfgz4390/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o
] Error 1
make[2]: *** [_module_/tmp/selfgz4390/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv] Error 2
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
I'm fairly certain it's me who is doing something wrong, I just can't put my finger on exactly what. Perhaps someone could point me in the right direction?

Perhaps it's an issue with the 2.6.20.5 kernel?

Regards
Thomas
 
Old 04-08-2007, 12:52 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104
Quote:
NVIDIA-Linux-x86-1.0-5336-pkg1
This version of the Nvidia driver is just too old for a modern kernel. Go for a more recent version of that driver; the newest is 1.0-9755 while the latest for old hardware (legacy driver) is 1.0-7184

Eric
 
Old 04-08-2007, 04:33 PM   #3
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by Alien Bob
This version of the Nvidia driver is just too old for a modern kernel. Go for a more recent version of that driver; the newest is 1.0-9755 while the latest for old hardware (legacy driver) is 1.0-7184

Eric
It's a looong time ago since I last felt as embarrased as I do now..

Everything is working like a charm now Eric. I downloaded the LATEST driver, instead of some years old piece of software, and it's humming along like a champ.

Thanks a bunch!

Thomas
 
  


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
NVIDIA Drivers + Slack 11 SMP kernel mogunus Slackware 40 02-01-2007 02:42 PM
Hyperthread server goes to kernel panic with SMP kernic, boots ok with non SMP kernel abefroman Linux - Kernel 1 09-15-2006 05:43 PM
Any reason to keep a non-smp kernel installed on a smp FC3 machine? jim-j Fedora 2 03-12-2006 07:06 AM
nVidia with SMP Kernel Lord C Linux - Hardware 6 02-21-2005 11:54 PM
how to get Nvidia drivers working with RH9 kernel-smp-2.4.20-20.9 debaucher Linux - Software 10 10-02-2003 01:26 PM

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

All times are GMT -5. The time now is 03:41 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
Open Source Consulting | Domain Registration