LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 01-09-2010, 08:24 PM   #1
none_
LQ Newbie
 
Registered: Dec 2009
Posts: 5

Rep: Reputation: 0
Unhappy Slax - Nvidia driver won't install


I started slax in cli mode and tried to install nvidia driver before running X but it won't install. My log:

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Jan 10 04:21:14 2010

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : 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
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  force tls               : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  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.
-> 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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.27.27/source'
-> Kernel output path: '/lib/modules/2.6.27.27/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.27.27/sourc
   e SYSOUT=/lib/modules/2.6.27.27/build'...
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.27.27/build KBUILD_VERBOSE=1 -C /l
   ib/modules/2.6.27.27/source SUBDIRS=/tmp/selfgz5017/NVIDIA-Linux-x86-169.07-
   pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.27.27/build \
   	KBUILD_SRC=/usr/src/linux-2.6.27.27 \
   	KBUILD_EXTMOD="/tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv" -f 
   /usr/src/linux-2.6.27.27/Makefile \
   	modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
   	echo;								\
   	echo "  ERROR: Kernel configuration is invalid.";		\
   	echo "         include/linux/autoconf.h or include/config/auto.conf are mis
   sing.";	\
   	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";	\
   	echo;								\
   	/bin/false)
   mkdir -p /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/.tmp_versio
   ns ; rm -f /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/.tmp_vers
   ions/*
   
     WARNING: Symbol version dump /usr/src/linux-2.6.27.27/Module.symvers
              is missing; modules will have no dependencies and modversions.
   
   make -f /usr/src/linux-2.6.27.27/scripts/Makefile.build obj=/tmp/selfgz5017/
   NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/.nv.o.d
    -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.2.4/include -D__KERN
   EL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.27.27/include -I/usr/src/linu
   x-2.6.27.27/arch/x86/include -include include/linux/autoconf.h  -I/tmp/selfg
   z5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototy
   pes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-functio
   n-declaration -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregpar
   m=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i486 -mtune=gene
   ric -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -W
   no-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 
   -mno-3dnow -I/usr/src/linux-2.6.27.27/include/asm-x86/mach-default -Iinclude
   /asm-x86/mach-default -fno-stack-protector -fomi
   t-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-
   overflow  -I/tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv -Wall -W
   implicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wp
   ointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-e
   rror -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"169.07\" -UDEBUG -U_
   DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(n
   v)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz5017/NVIDIA-Linu
   x-x86-169.07-pkg1/usr/src/nv/nv.o /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pk
   g1/usr/src/nv/nv.c
   In file included from include/linux/bitops.h:17,
                    from include/linux/kernel.h:15,
                    from include/linux/sched.h:52,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/n
   v/nv-linux.h:19,
                    from /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/n
   v/nv.c:14:
   include/asm/bitops.h: In function 'set_bit':
   include/asm/bitops.h:60: warning: pointer of type 'void *' used in arithmeti
   c
   include/asm/bitops.h: In function 'clear_bit':
   include/asm/bitops.h:97: warning: pointer of type 'void *' used in arithmeti
   c
   In file included from include/linux/list.h:6,
                    from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:50,
                    from include/linux/seqlock.h:29,
                    from include/linux/time.h:8,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:54,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/n
   v/nv-linux.h:19,
                    from /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/n
   v/nv.c:14:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:57: warning: pointer of type 'void *' used in arith
   metic
   In file included from include/linux/utsname.h:35,
                    from /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/n
   v/nv-linux.h:19,
                    from /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/n
   v/nv.c:14:
   include/linux/sched.h: In function 'object_is_on_stack':
   include/linux/sched.h:1975: warning: pointer of type 'void *' used in arithm
   etic
   In file included from include/asm/dma-mapping.h:9,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:94,
                    from include/linux/pci.h:989,
                    from /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/n
   v/nv-linux.h:86,
                    from /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/n
   v/nv.c:14:
   include/linux/scatterlist.h: In function 'sg_virt':
   include/linux/scatterlist.h:199: warning: pointer of type 'void *' used in a
   rithmetic
   In file included from /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/n
   v/nv.c:14:
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv-linux.h:107:27: e
   rror: asm/semaphore.h: No such file or directory
   In file included from /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/n
   v/nv-linux.h:109,
                    from /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/n
   v/nv.c:14:
   include/linux/highmem.h: In function 'zero_user_segments':
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in arith
   metic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in arith
   metic
   In file included from /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/n
   v/nv.c:14:
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv-linux.h: In funct
   ion 'nv_execute_on_all_cpus':
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv-linux.h:667: erro
   r: too many arguments to function 'on_each_cpu'
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv.c: In function 'n
   vos_proc_create':
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv.c:616: error: 'pr
   oc_root_driver' undeclared (first use in this function)
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv.c:616: error: (Ea
   ch undeclared identifier is reported only once
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv.c:616: error: for
   each function it appears in.)
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv.c: In function 'n
   v_kern_cpu_callback':
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv.c:1286: error: to
   o many arguments to function 'smp_call_function'
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv.c:1293: error: to
   o many arguments to function 'smp_call_function'
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv.c: In function 'n
   v_kern_vma_nopage':
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv.c:1832: error: 'N
   OPAGE_SIGBUS' undeclared (first use in this function)
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv.c: At top level:
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv.c:1839: error: un
   known field 'nopage' specified in initializer
   /tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv.c:1839: warning: 
   initialization from incompatible pointer type
   make[4]: *** [/tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/nv/nv.o] 
   Error 1
   make[3]: *** [_module_/tmp/selfgz5017/NVIDIA-Linux-x86-169.07-pkg1/usr/src/n
   v] Error 2
   make[2]: *** [sub-make] 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 www.nvidia.com.
 
Old 01-09-2010, 08:48 PM   #2
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64® Current
Posts: 905

Rep: Reputation: 73
Not to familiar with Slax, I just use it to boot up to infected M$ boxes and remove viruses manually.

Have you taken a look at this?

http://www.slax.org/forum.php?action...ghlight=nvidia
 
Old 01-10-2010, 12:26 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,031

Rep: Reputation: Disabled
SLAX is not Slackware. You will be better off in a SLAX forum.

Eric
 
Old 01-10-2010, 02:26 PM   #4
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware
Posts: 3,308

Rep: Reputation: 270Reputation: 270Reputation: 270
Hello none,

We do not support Slackware derivatives like Slax or BT. If you do choose to install Slackware we will be happy to answer questions that you may have.
Welcome to the LQ forums. Good luck with your issues.
 
Old 01-10-2010, 02:32 PM   #5
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
It has been a while since I booted SLAX, but.. It would seem to me, that a small LiveCD distro like SLAX (which is still only available as a liveCD is it not?? Don't quote me, but last I checked it is a liveCD which IIRC didn't offer HDD installation) would not include the kernel source and related stuff required to build and install something like the nVidia driver.

Again, just to be sure you understand: If it's a liveCD you're running, and it has no kernel source on it, you can't install the nvidia driver. If you have installed SLAX to the HDD, please tell us so. But still, even if it is installed to the HDD, you STILL would need to make sure the kernel source is installed first, before building anything requiring it, such as the nvidia driver.

Sasha
 
Old 01-26-2010, 01:24 AM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia1 KDE openbox
Posts: 2,862
Blog Entries: 33

Rep: Reputation: 143Reputation: 143
Hi, came across this thread whilst searching for other nvidia probs.

I use slax, and as far as I know, slax does not have the dev packages to enable the install of
the nVidia proprietary drivers (from nVidia site)

Slax is a small, but very usefull, (does not recognise fs ext4! (damn!))

It's not meant to be installed, but there is no reason why you can't try.

But if you want to install the nVidia drivers from nVidia, you will need to find and install the appropriate dev packages.

Slax is like (IMHO) a frugal install, very small (Mb's) and all the usuall stuff to make other things work.

Like a command line, and "core utilities". A file and web browser (konqueror)

I love it! I fix windows machines with it heaps of times.

Check out the slax site for more info, you may be able to do what you want, I have not read that yet.

Cheers, and Regards Glenn (thank you too, Sasha)
 
  


Reply

Tags
slackware, slax


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[help]Could not install nvidia driver : ./nvidia-installer: No such file or directory anchunlei Debian 4 04-18-2008 05:30 AM
Nvidia Problem: can't install nvidia driver for FC6 Chuong Linux - Software 7 10-30-2006 04:43 AM
Nvidia Driver Install - rivafb driver conflicts rjcmi Debian 5 10-10-2004 11:58 PM
Nvidia Driver Installation on Live(Ram-based system, like slax/knoppix) drdroid Linux - General 3 06-17-2004 04:23 PM
nvidia driver wont install (suse 8.2_ftp install) splintah Linux - Newbie 1 10-06-2003 03:03 PM


All times are GMT -5. The time now is 07:14 PM.

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
Open Source Consulting | Domain Registration