LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-02-2004, 06:29 AM   #1
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Rep: Reputation: 30
Can not install Nvidia driver


Hi, i always typed sh driverNvidia to install graphic driver.
This time i am having this problem:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Dec 2 10:54:00 2004

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 : false
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 : elf-tls
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 : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
6111). As part of installing this driver (version: 1.0-6629), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.9/source'
-> Performing CC test with CC="cc".
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the appropriate nvidia-installer 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.

In an italian forum i found this suggest :

ln -s /usr/src/linux-2.6.9/include/asm /usr/include/asm
ln -s /usr/src/linux-2.6.9/include/asm-generic /usr/include/asm-generic
ln -s /usr/src/linux-2.6.9/include/linux /usr/include/linux

but the log file is still the same.
Thank you in advance.
Harp.
 
Old 12-02-2004, 07:42 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Is the symbolic link in place pointing from /lib/modules/2.6.9/build to /usr/src/linux-2.6.9? If not then
su
password
cd /lib/modules/2.6.9
rm -rf build
ln -s /usr/src/linux-2.6.9 build
 
Old 12-02-2004, 08:05 AM   #3
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
root@Hell:/lib/modules/2.6.9# ls -l build
lrwxrwxrwx 1 root root 20 Nov 1 17:58 build -> /usr/src/linux-2.6.9

Yes, it is.
 
Old 12-02-2004, 09:27 AM   #4
vonzeppelin
LQ Newbie
 
Registered: Nov 2004
Location: ireland
Posts: 4

Rep: Reputation: 0
i am having a problem with the same driver .save mine has curropted my kernal.see laptop section i managed to get it to work though

i had problems installing it with gcc had to sym link it to cc for some reason
 
Old 12-02-2004, 10:07 AM   #5
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
slack 10 is 2.6 kernel ready, so do NOT change the headers in /usr/include!!
The chances are that you need to link /usr/src/linux-2.6.9 to /usr/src/linux.
Also make sure you did make modules_install and that /lib/modules/linux-2.6.9 exists.
According to the documentation you should not compile the kernel in /usr/src, instead I compile it in my sources directory and link to that from /usr/src:

lrwxrwxrwx 1 root root 29 2004-10-29 14:45 linux-2.6.9 -> /mnt/hda9/sources/linux-2.6.9
lrwxrwxrwx 1 root root 29 2004-11-26 19:26 linux -> /mnt/hda9/sources/linux-2.6.9

this way you only need to be root to make install and make modules_install

Last edited by Tuttle; 12-02-2004 at 10:08 AM.
 
Old 12-15-2004, 03:19 PM   #6
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Quote:
Originally posted by Tuttle
slack 10 is 2.6 kernel ready, so do NOT change the headers in /usr/include!!
The chances are that you need to link /usr/src/linux-2.6.9 to /usr/src/linux.
Also make sure you did make modules_install and that /lib/modules/linux-2.6.9 exists.
According to the documentation you should not compile the kernel in /usr/src, instead I compile it in my sources directory and link to that from /usr/src:

lrwxrwxrwx 1 root root 29 2004-10-29 14:45 linux-2.6.9 -> /mnt/hda9/sources/linux-2.6.9
lrwxrwxrwx 1 root root 29 2004-11-26 19:26 linux -> /mnt/hda9/sources/linux-2.6.9

this way you only need to be root to make install and make modules_install
1. I have since updated the way I install my kernel to the conventios in the README which comes with it: ie. copy source to /usr/src, make mrproper and compile with the O=/home/user/kernel/version/ option.
2. I read this on an faq for my ov511 cam driver:
Quote:
Installation Questions:

Q: I tried to rebuild my kernel with your driver and I get many errors related to header (.h) files.
A: If you installed the official tar.gz kernel sources in a recent linux distribution (RedHat 7.0+ and maybe some others) that previously had a kernel or kernel headers RPM installed, your kernel include files are probably not matched to your kernel. If /usr/include/asm or /usr/include/linux are directories rather than symlinks, do the following:

* Check that the /usr/src/linux symlink points to the directory of the kernel that you are building
* cd /usr/include
* mv asm asm-orig
* ln -s /usr/src/linux/include/asm asm
* mv linux linux-orig
* ln -s /usr/src/linux/include/linux linux
So maybe I am wrong then!!! sorry.

Last edited by Tuttle; 12-15-2004 at 03:22 PM.
 
Old 12-15-2004, 05:06 PM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
well... i have nvidia running, and did not make any symlinks/name-changes at all.
and about the " /usr/src/linux " link: it's not needed. see this :

http://uwsg.iu.edu/hypermail/linux/k...07.3/0587.html

when i read the first post, the installer is looking for kernel sources in :
-> Kernel source path: '/lib/modules/2.6.9/source'

so ...check that link.

egag
 
  


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
How to Install nVIDIA driver??? flowerman Solaris / OpenSolaris 4 09-28-2005 06:46 AM
Nvidia driver install emojetplane Linux - Hardware 11 08-19-2005 02:26 PM
nVidia driver install MooCows Linux - Hardware 1 12-30-2004 08:52 AM
Nvidia Driver Install - rivafb driver conflicts rjcmi Debian 5 10-10-2004 11:58 PM
nvidia driver wont install (suse 8.2_ftp install) splintah Linux - Newbie 1 10-06-2003 03:03 PM

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

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