LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-23-2005, 04:50 PM   #1
Anhaedra
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
Problems installing Geforce drivers


Hi, I'm having problems installing drivers for my Geforce 6800 GT on SUSE 9.1 personal. The error message I get when I try to install them is "ERROR: unable to build NVIDIA kernel module". Here is the log from the installation.



How can I fix this? Thanks.
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Apr 23 14:19:46 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     : 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               : (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      : (not specified)
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : *removed*
  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-
   5336).  As part of installing this driver (version: 1.0-7167), 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 (*removed*)? (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: '/usr/src/linux'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> 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/selfgz318/NVIDIA
   -Linux-x86-1.0-7167-pkg1/usr/src/nv modules
   Makefile:438: .config: No such file or directory
   mkdir -p /tmp/selfgz318/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/.tmp_versi
   ons
   
   WARNING: Symbol version dump /usr/src/linux-2.6.5-7.151/Module.symvers is  m
   issing, modules will have CONFIG_MODVERSIONS disabled.
   
   make -f scripts/Makefile.build obj=/tmp/selfgz318/NVIDIA-Linux-x86-1.0-7167-
   pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz318/NVID
   IA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz318/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/.nv.o.
   d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prot
   otypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -m
   preferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time  -Iinclude/asm-
   i386/mach-default -O2 -fomit-frame-pointer  -I/tmp/selfgz318/NVIDIA-Linux-x8
   6-1.0-7167-pkg
   1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscri
   pts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -M
   D   -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNE
   L__ -DMODULE  -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODU
   LE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7167  -DNV_UNI
   X   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -UDEBUG -U_DEBUG -DNDEBUG 
   -DNV_REMAP_PAGE_RANGE_5_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISAB
   LE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_VMAP_4_PRESENT  -DMO
   DULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz318/NVIDI
   A-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.o /tmp/selfgz318/NVIDIA-Linux-x86-1.
   0-7167-pkg1/usr/src/nv/nv.c
   /bin/sh: line 1: scripts/basic/fixdep: No such file or directory
   make[3]: *** [/tmp/selfgz318/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.o]
   Error 1
   make[2]: *** [_module_/tmp/selfgz318/NVIDIA-Linux-x86-1.0-7167-pkg1/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 *removed*.
 
Old 04-23-2005, 05:13 PM   #2
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
First of all read the file '/var/log/nvidia-installer.log'. You can post it here so we can take a look at it together. MAybe we find the solution there. I had problems installing this driver too so i decided to change to a different distro since i found out that there was a distro problem when having this module to work. But your make is complainning that a file is missing.
"/bin/sh: line 1: scripts/basic/fixdep: No such file or directory".
Where should it be? Under the module's source tree? Another question. Have you tried to install it from RPM?
 
Old 04-23-2005, 05:23 PM   #3
Anhaedra
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
The log I posted was from the file you mentioned, and I didn't know there was an RPM version of the drivers, do you mean installing through YaST? I think those drivers on YaST are RPMs. It that is what you meant, then yes, I tried installing them from YaST, but when I did, nothing changed. I'm new to linux, I don't really understand what you mean when you say "Under the module's source tree"... Is fixdep something I need to install?
 
Old 04-24-2005, 08:05 PM   #4
rsuchy
LQ Newbie
 
Registered: Apr 2005
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
I had the same problem. fixdep is located in /usr/src/linux/scripts/basic. But if haven't got compiled kernel or you haven't kernel source you can't compile nvidia-kernel. In this folder there is fixdep.c. I didn't compile kernel, just I did make menuconfig. At the beginning it created file fixdep. Then I could compile nvidia-kernel. I hope it will help you.
 
Old 04-25-2005, 06:50 AM   #5
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
I dont know if yast uses RPM but it doesnt look like. Try to find out about "yum" or "apt" both are different ways to keep your system updated. You downloaded the source for the drivers from nvidia's website, right? The folder it created is what i mean by "module source tree". I read your post again and this message "Makefile:438: .config: No such file or directory" means that it couldnt find the ".config" file under your kernel source tree. That file holds your kernel configuration options. You probably dont have the kernel source or yours is precompiled... you need it to be configured. Try to follow rsuchy's post and see if it helps you. If it doesnt post the new messages back.
 
  


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
Installing Nvidia GeForce 3 Drivers on Mandrake 10.0 Thomas_Swanicke Linux - Newbie 2 05-07-2004 10:24 PM
Installing Geforce FX 5600 drivers DragonCat Linux - Software 5 02-16-2004 10:08 AM
having Problems installing the Drivers for Geforce FX 5200 Ultra from Nvidia's site Poo Martial Art Linux - Hardware 6 01-28-2004 04:23 PM
geforce (black screen) after installing drivers flump Linux - Hardware 2 08-17-2003 05:56 AM
installing NVIDIA drivers for Geforce 4 and Redhat 9.0 Armand Linux - Hardware 7 07-20-2003 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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