LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 09-21-2005, 10:52 AM   #1
nesor
LQ Newbie
 
Registered: Jul 2005
Location: New York City, USA
Distribution: Ubuntu, Slackware
Posts: 23

Rep: Reputation: 15
NVIDIA driver on Slackware 10.1


I am having trouble installing nvidia's driver. I'm running Slackware 10.1 with the stock 2.4 kernel.
When I run the installer, first it is unable to find a kernel interface for my kernel from NVIDIA's ftp site (I chose not to perform this step in my subsequent attempts). When I complie the module, it gives me an error saying it cannot load the module nvidia.o and tells me it was compiled using the wrong source. I made sure it was looking in the right place for the source by running the installer again with this option:
Code:
# sh NVIDIA-Linux-x86-1.0-7676-pkg.run --kernel-source-path=/usr/src/linux
and I still get the same error.
The symlink is pointing in the right place, I don't even have any other kernel sources besides the 2.4 source on my system.
I know this should work, I have succesfully installed this driver before on another box running the same version of Slackware with the same kernel. The only difference is that I am using Dropline Gnome on this machine.

Here is /var/log/nvidia-installer.log
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Sep 21 10:50:12 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
  ftp mirror              : ftp://download.nvidia.com
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
WARNING: The NVIDIA Vanta/Vanta LT GPU installed in this system is supported
         through the NVIDIA Legacy drivers. Please visit
         http://www.nvidia.com/object/unix.html for more information.  The
         1.0-7676 NVIDIA driver will ignore this GPU. 
-> 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.
-> 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.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o  nv-linux.o nv_comp
   iler.h *.d NVdriver nvidia.o
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux SYSOUT=/usr/s
   rc/linux'...
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
   cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
   arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -
   U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
   NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 
   -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676  -DNV_REMAP_PAGE_RANGE_4_PRESENT -
   DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRE
   SENT  -I. -I/usr/src/linux/include -Wsign-compare -Wno-cast-qual -Wno-error 
   nv.c
   cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
   arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -
   U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
   NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 
   -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676  -DNV_REMAP_PAGE_RANGE_4_PRESENT -
   DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_P
   CI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRESENT  -I. -I/usr/src/linux/include 
   -Wsign-compare -Wno-cast-qual -Wno-error nv-vm.c
   cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
   arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -
   U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
   NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 
   -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676  -DNV_REMAP_PAGE_RANGE_4_PRESENT -
   DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRE
   SENT  -I. -I/usr/src/linux/include -Wsign-compare -Wno-cast-qual -Wno-error 
   os-agp.c
   cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
   arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -
   U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
   NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 
   -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676  -DNV_REMAP_
   PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_P
   RESENT -DNV_VMAP_4_PRESENT  -I. -I/usr/src/linux/include -Wsign-compare -Wno
   -cast-qual -Wno-error os-interface.c
   cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
   arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -
   U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
   NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 
   -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676  -DNV_REMAP_PAGE_RANGE_4_PRESENT -
   DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRE
   SENT  -I. -I/usr/src/linux/include -Wsign-compare -Wno-cast-qual -Wno-error 
   os-registry.c
   ld -r -o nv-linux.o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o 
   ld -r -o nvidia.o nv-linux.o nv-kernel.o
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.o'.  This is most likely
       because the kernel module was built using the wrong kernel source files.
       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.
-> Kernel module load error: Warning: loading ./usr/src/nv/nvidia.o will taint
   the kernel: non-GPL license - NVIDIA
   See http://www.tux.org/lkml/#export-tainted for information about tainted
   modules
   ./usr/src/nv/nvidia.o: init_module: No such device
   ./usr/src/nv/nvidia.o: Hint: insmod errors can be caused by incorrect module
   parameters, including invalid IO or IRQ parameters.
   You may find more information in syslog or the output from dmesg
-> Kernel messages:
   NVRM:  information.  The 1.0-7676 NVIDIA driver will ignore
   NVRM:  this GPU.  Continuing probe...
   NVRM: No NVIDIA graphics adapter found!
   NVRM: The NVIDIA Vanta/Vanta LT GPU installed in this system is
   NVRM:  supported through the NVIDIA Legacy drivers. Please
   NVRM:  visit http://www.nvidia.com/object/unix.html for more
   NVRM:  information.  The 1.0-7676 NVIDIA driver will ignore
   NVRM:  this GPU.  Continuing probe...
   NVRM: No NVIDIA graphics adapter found!
   NVRM: The NVIDIA Vanta/Vanta LT GPU installed in this system is
   NVRM:  supported through the NVIDIA Legacy drivers. Please
   NVRM:  visit http://www.nvidia.com/object/unix.html for more
   NVRM:  information.  The 1.0-7676 NVIDIA driver will ignore
   NVRM:  this GPU.  Continuing probe...
   NVRM: No NVIDIA graphics adapter found!
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.
 
Old 09-21-2005, 02:16 PM   #2
clockout_x
LQ Newbie
 
Registered: Jul 2004
Location: Florida, Adirolf
Distribution: Slackware
Posts: 1

Rep: Reputation: 0
I recently had a similar problem with a vanilla 2.6.13.2 kernel.

Basically, the installer hiccups when you have conflicting drivers present. So you'll have to recompile your kernel. Make sure you put "No" in the kernel configuration menu for the Nvidia Framebuffer and the Nvidia Riva driver.

More details here.

Last edited by clockout_x; 09-21-2005 at 02:26 PM.
 
Old 09-22-2005, 09:19 AM   #3
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Which nVidia chipset/card do you have? The newer drivers do not work with legacy chips. It appears that the error in question indicates that you are using an nVidia Vanta. Is this the case? The newer nVidia drivers are incompatible with what they call "legacy hardware".

Most of the Dropline devs are using nVidia hardware (myself included), so I can verify that it is likely not part of the problem.
 
Old 09-23-2005, 09:01 AM   #4
nesor
LQ Newbie
 
Registered: Jul 2005
Location: New York City, USA
Distribution: Ubuntu, Slackware
Posts: 23

Original Poster
Rep: Reputation: 15
Sorry for my absence, I got food poisening.

clockout_x - I am pretty sure it is not my kernel that is the problem - I haven't compiled a new kernel on this machine and I have had success before with the standard 2.4 slack kernel.

zborgerd - You are right, it is a vanta. If that's not supported, guess I'm out of luck. Nvidia's vanta page linked me to the driver, so I just assumed it was supported.
Good to hear that Dropline is not the problem, I just started using it but I like it very much. Looks like it's time to start scavanging for a new video card.

Thanks!
 
Old 09-23-2005, 02:01 PM   #5
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
You should be able to use this driver (or older versions) with the Vanta:
http://www.nvidia.com/object/linux_d..._1.0-7174.html

Should be quite functional. If that doesn't work, you can try one of these custom patched nVidia drivers that was put together by one of the other Dropline guys.

http://amdg.no-ip.org/~scott/slackstuff/nvidia/
 
Old 09-23-2005, 02:15 PM   #6
nesor
LQ Newbie
 
Registered: Jul 2005
Location: New York City, USA
Distribution: Ubuntu, Slackware
Posts: 23

Original Poster
Rep: Reputation: 15
I used the old nvidia driver, and it works. It's flying.
Thanks!
 
Old 09-24-2005, 08:54 PM   #7
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Quote:
Originally posted by nesor
I used the old nvidia driver, and it works. It's flying.
Thanks!
Excellent! Glad it's working ffor you.
 
  


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 driver on slackware 10.1, nvidia.o not found azazel11998 Linux - General 3 09-02-2005 11:19 AM
Problem in slackware 10 with nvidia driver SlackwareMan Linux - Games 8 05-19-2005 04:31 PM
NVidia driver Probs with Slackware 9.1 chewysplace Slackware 7 11-01-2003 11:05 AM
Problems with Slackware 9.1 and Nvidia driver nomicon Linux - Software 5 10-18-2003 11:53 PM
nvidia driver in slackware 8.1 bynaar Slackware 2 07-16-2002 05:55 AM


All times are GMT -5. The time now is 01:37 AM.

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