LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-04-2005, 08:22 PM   #1
sasreg
LQ Newbie
 
Registered: Jul 2005
Posts: 2

Rep: Reputation: 0
Question nVidia 7667 Installation


Okay, well I have done multiple searches and have tried many different things, but I am a n00b so please be patient if this question has been asked before.

I finished my first install of a dual boot system the other day - I installed SuSE 9.2 (had it on a DVD). Most things I'm pretty competent with and have no real dramas, however the nVidia driver are beginning to be a real pain.

I have followed numerous tutorials, but with no luck. Is someone able to give me STEP-BY-STEP INSTRUCTIONS to follow.

Info:

DISTRO: SuSE 9.2 - Kernel 2.6.8-24.16-default - all updated with YOU - including nVidia drivers.

AMD64 3000+
1024Mb RAM
Soundblaster Audigy
Leadtek GeForce 6600GT PCi Express
Asus SLI Mobo

I am unable to install both of the nVidia AGP drivers and nForce4 Chipset/Network drivers.

I follow the instructions as follows:

logged as root

'init 3'
'rmmod nvidia' = ERROR: nvidia module does not exist in proc/modules

'sh NVIDIA-Linux-x86_641.0-7667-pkg2.run' (have also tried with '--kernel-source-path=usr/src/linux' added)
The following is added from the nvidiainstaller.log

Quote:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Jul 5 10:48:09 2005

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 : true
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 : (not specified)
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 : usr/src/linux
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
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-7667), 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? (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.
-> Using the kernel source path 'usr/src/linux' as specified by the
'--kernel-source-path' commandline option.
ERROR: The kernel source path 'usr/src/linux' does not exist. Please make sure
you have installed the kernel source files for your kernel; on Red Hat
Linux systems, for example, be sure you have the 'kernel-source' rpm
installed. If you know the correct kernel source files are installed,
you may specify the kernel source path with the '--kernel-source-path'
commandline 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 nvidia.
This is basically the same message with the nForce Chipset drivers aswell.

Any help is much appreciated.

Regards,
 
Old 07-04-2005, 08:49 PM   #2
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,042

Rep: Reputation: 54
Try to use "--kernel-source-path=/usr/src/linux" instead of --kernel-source-path=usr/src/linux (add the / infront of use).
And I suppose you have the kernel source installed as well....(most distros don't include kernel source by default)
 
Old 07-04-2005, 09:00 PM   #3
sasreg
LQ Newbie
 
Registered: Jul 2005
Posts: 2

Original Poster
Rep: Reputation: 0
mmm.... thanks for the fast reply... I got further,but the install still failed.

Quote:
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-7667), 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: 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.
-> Using the kernel source path '/usr/src/linux' as specified by the
'--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing change_page_attr() check.
WARNING: Your Linux kernel has problems in its implementation of
the change_page_attr kernel interface. The NVIDIA kernel
module will attempt to work around these problems, but
system stability may be affected. It is recommended that
you update to a 2.6.11 or newer kernel.

Please see APPENDIX N: KNOWN ISSUES in NVIDIA's README for
more details.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.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 *~
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux SYSOUT=/usr/s
rc/linux'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/tmp/selfgz7832/NVIDI
A-Linux-x86_64-1.0-7667-pkg2/usr/src/nv modules
Makefile:465: .config: No such file or directory
mkdir -p /tmp/selfgz7832/NVIDIA-Linux-x86_64-1.0-7667-pkg2/usr/src/nv/.tmp_v
ersions

WARNING: Symbol version dump /usr/src/linux-2.6.8-24/Module.symvers is miss
ing, modules will have CONFIG_MODVERSIONS disabled.

make -f scripts/Makefile.build obj=/tmp/selfgz7832/NVIDIA-Linux-x86_64-1.0-7
667-pkg2/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz7832/NVI
DIA-Linux-x86_64-1.0-7667-pkg2/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz7832/NVIDIA-Linux-x86_64-1.0-7667-pkg2/usr/src/nv/.n
v.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-
prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-
pointer -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign
-compare -fno-asynchronous-unwind-tables -funit-at-a-time -I/tmp/selfgz7832/
N
VIDIA-Linux-x86_64-1.0-7667-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -
Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multi
char -Werror -O -fno-common -mno-red-zone -minline-all-stringops -MD -Wsi
gn-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMO
DULE -mcmodel=kernel -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL_
_ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7667
-UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5_PRESENT -DNV_CHANGE_PAGE_A
TTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D
KBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz7832/NVIDIA-Linu
x-x86_64-1.0-7667-pkg2/usr/src/nv/nv.o /tmp/selfgz7832/NVIDIA-Linux-x86_64-1
.0-7667-pkg2/usr/src/nv/nv.c
In file included from include/linux/sched.h:15,
from include/linux/module.h:10,
from /tmp/selfgz7832/NVIDIA-Linux-x86_64-1.0-7667-pkg2/usr/
src/nv/nv-linux.h:46,
from /tmp/selfgz7832/NVIDIA-Linux-x86_64-1.0-7667-pkg2/usr/
src/nv/nv.c:14:
include/linux/cpumask.h: In function `__first_cpu':
include/linux/cpumask.h:211: warning: signed and unsigned type in conditiona
l expression
include/linux/cpumask.h: In function `__next_cpu':
include/linux/cpumask.h:217: warning: signed and unsigned type in conditiona
l expression
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from /tmp/selfgz7832/NVIDIA-Linux-x86_64-1.0-7667-pkg2/usr/
src/nv/nv-linux.h:46,
from /tmp/selfgz7832/NVIDIA-Linux-x86_64-1.0-7667-pkg2/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
In file included from include/asm/pci.h:95,
from include/linux/pci.h:861,
from /tmp/selfgz7832/NVIDIA-Linux-x86_64-1.0-7667-pkg2/usr/
src/nv/nv-linux.h:69,
from /tmp/selfgz7832/NVIDIA-Linux-x86_64-1.0-7667-pkg2/usr/
src/nv/nv.c:14:
include/asm-generic/pci-dma-compat.h: In function `pci_map_page':
include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' u
sed in arithmetic
/bin/sh: scripts/basic/fixdep: No such file or directory
make[3]: *** [/tmp/selfgz7832/NVIDIA-Linux-x86_64-1.0-7667-pkg2/usr/src/nv/n
v.o] Error 1
make[2]: *** [_module_/tmp/selfgz7832/NVIDIA-Linux-x86_64-1.0-7667-pkg2/usr/
src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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 nvidia.
Any ideas on this?
 
Old 07-07-2005, 02:49 PM   #4
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,042

Rep: Reputation: 54
This goes beyond my skills. I suggest you to post in the nVidia forums and attach the nvidia-installer.log, so devs can see what's wrong and give you an answer.
 
Old 07-14-2005, 08:03 PM   #5
darklinux
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
dear sasreg!

had the same problem, after some hours of internet research i figured out that before i can install the nvidia driver i had to

# cd /usr/src/linux
# make cloneconfig
# make prepare

an then i could

# sh NVIDIA-Linux-x86_64-1.0-7667-pkg2.run --kernel-source-path=/usr/src/linux

I am a total linux-noob and i donīt understand much of what is beeing done with "make prepare" but it solved my problem.
The "make cloneconfig" just saves your original config.

It is very annoying that nothing about the "make prepare" is in the nvidia readme!!

Hope I could help

PS: I am running exactly the same system (including the pci-express card)
 
Old 07-21-2005, 06:02 AM   #6
tzibo
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
Thumbs up

thanks darklinux - that make prepare command sorted out my issues - thought I was going mad
 
Old 08-03-2005, 02:31 AM   #7
patek
LQ Newbie
 
Registered: Aug 2005
Distribution: Mdk 10.2
Posts: 4

Rep: Reputation: 0
I am an newbie as well and I had a similar problem.
I have tried any solutions I could think of and I discovered that installing kernel-source-stripped is not enough and I installed kernel-source (not "stripped") from the system CD. Everything went OK then.
Hope it will help anyone
Mdk10.2 (2005 LE) kernel: 2.6.11-6mdk
 
  


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 (NVIDIA-Linux-x86-1.0-7667-pkg1.run) undef00 Linux - Hardware 8 08-21-2005 02:35 PM
Cant get Nvidia 7667 drivers to install! agentdunken SUSE / openSUSE 1 07-29-2005 08:08 PM
Nvidia 1.0-7667 SuSE 9.3 Problem Lord_Azeroth Linux - Hardware 2 07-29-2005 06:19 AM
Suse 9.3 nvidia-7667 install on dell insiron 8100 GeForce2 Go tkmbe SUSE / openSUSE 1 07-27-2005 06:28 PM
Nvidia Kernel Rel. 7667 webterractive Mandriva 12 07-19-2005 10:43 AM


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