LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-10-2005, 12:17 AM   #1
midian666
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora / Mandrake
Posts: 3

Rep: Reputation: 0
Unhappy nvidia problem


Hi there.

I'm trying to install the nvidia drivers (NVIDIA-Linux-x86-1.0-6106-pkg1.run) to my new fresh slackware with kernel 2.6.11.2, but with no success...

This is the log (nvidia_installer.log):

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Mar 10 08:12:15 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
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  Installer install prefix: /usr
  kernel source path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp site                : ***

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 (***)? (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.11.2/build'
-> Performing cc_version_check with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
-> 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.11.2/build'
   ...
   
   NVIDIA: calling KBUILD...
   mkdir -p /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.tmp_vers
   ions
   make -f scripts/Makefile.build obj=/tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106
   -pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz2850/NVI
   DIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.nv.o
   .d -nostdinc -isystem /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include -D
   __KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-a
   liasing -fno-common -ffreestanding -O2     -fomit-frame-pointer -pipe -msoft
   -float -mpreferred-stack-boundary=2  -march=athlon -Iinclude/asm-i386/mach-d
   efault   -I/tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv -Wall -
   Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -W
   pointer-arith  -Wno-multichar  -Werror -O -fno-common -MD   -Wno-cast-qual -
   Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -D_GNU_SOURCE 
   -D_LOOSE_
   KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=
   0 -DNV_PATCHLEVEL=6106  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86
         -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT  -DMODULE -DKB
   UILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz2850/NVIDIA-Linux-
   x86-1.0-6106-pkg1/usr/src/nv/nv.o /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-
   pkg1/usr/src/nv/nv.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:23,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:19,
                    from include/linux/module.h:10,
                    from /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src
   /nv/nv-linux.h:52,
                    from /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-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
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:863,
                    from /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src
   /nv/nv-linux.h:75,
                    from /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src
   /nv/nv.c:14:
   include/asm/io.h: In function `check_signature':
   include/asm/io.h:242: warning: wrong type argument to increment
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function 
   `nvos_find_agp_by_class':
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:642: warning:
   implicit declaration of function `pci_find_class'
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:642: warning:
   assignment makes pointer from integer without a cast
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:653: warning:
   assignment makes pointer from integer without a cast
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function 
   `nv_kern_mmap':
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:1764: warning
   : implicit declaration of function `remap_page_range'
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function 
   `_get_phys_address':
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:2732: warning
   : passing arg 1 of `pmd_offset' from incompatible pointer type
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function 
   `nv_agp_init':
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3324: warning
   : `inter_module_put' is deprecated (declared at include/linux/module.h:578)
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function 
   `nvos_count_devices':
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3474: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3479: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function 
   `nv_acpi_event':
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3677: error: 
   `PM_SAVE_STATE' undeclared (first use in this function)
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3677: error: 
   (Each undeclared identifier is reported only once
   /tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3677: error: 
   for each function it appears in.)
   make[3]: *** [/tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.o
   ] Error 1
   make[2]: *** [_module_/tmp/selfgz2850/NVIDIA-Linux-x86-1.0-6106-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 ***
...any ideas? I've also tried newer nvidia drivers but almost the same errors (was something about agp)...
 
Old 03-10-2005, 02:41 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
This driver version does not work with the 2.6.11 kernels. Only the latest one (NVIDIA 1.0-6629) is known to work, but with some patches.
Take a look at nvnews forum and especially at this post to see what patches you may need.

Regards
 
Old 03-11-2005, 02:21 AM   #3
henno
Member
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: slackware-current
Posts: 30

Rep: Reputation: 15
http://www.linuxquestions.org/questi...62#post1510362
 
Old 03-11-2005, 10:31 PM   #4
henno
Member
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: slackware-current
Posts: 30

Rep: Reputation: 15
nVidia have updated their drivers

http://www.nvidia.com/object/linux_d..._1.0-7167.html

They now work with kernels 2.6.11.x

I also got a decent 150FPS increase (from 1825 to 1975) on my dodgy mx440, which is an added bonus.
 
  


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
nvidia problem derobonson Linux - Games 6 10-05-2005 03:25 PM
Nvidia fx5500 mandrake 10.1 problem:Nvidia in /etc/modprobe.preload doesn't work eikeland Linux - Hardware 5 01-17-2005 02:09 PM
nvidia problem mm3000 Slackware 18 12-03-2004 09:14 AM
nvidia problem bjwbell Linux - General 4 01-02-2003 11:30 AM
Nvidia Problem Config Linux - Hardware 4 04-25-2002 07:49 AM

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

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