Installing nVidia drivers on FC10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a test box which has been showing some corruption of the display from time to time.
Since it doesn't matter if I play, I thought I would try installing the latest support for the graphics card from the nVidia website.
The package is a self-extracting archive, which checks for the kernel support, then eventually decides that I need to have the specific kernel support built for my particular platform, which is fine.
I finally installed all the headers and compiler that it asked for, and it goes ahead and attempts to build the package.
The attached file is a copy of the build log.
Bottom line, Build fails.
What I think I understand so far is that the semaphore.h header file is missing, odd since I expect it as a standard header. This causes an error in the compile.
Next, there are a couple of calls to smp_call_function which cause compile errors because of a parameter mismatch.
I assume, the call is to a function declared in semaphore.h
Since there are now three errors in total, the installer aborts.
So, I think the first big question is where is the semaphore.h header file?
I have only found an asm directory in /usr/lib/perl5 tree.
I did find an archive file containing a semaphore.h file. The archive is semaphore.h.0p.gz in /usr/share/man/man0p but the contained file does not have the definition of smp_call_function.
Getting confused at this point :)
Any help?
Thanks
Dave
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Feb 28 23:57:19 2009
installer version: 1.0.7

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
  no cc version 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
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> License accepted.
-> Installing NVIDIA driver version 96.43.07.
-> 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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.27.15-170.2.24.fc10.i686/source'
-> Kernel output path: '/lib/modules/2.6.27.15-170.2.24.fc10.i686/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.15-170.2
   .24.fc10.i686/source SYSOUT=/lib/modules/2.6.27.15-170.2.24.fc10.i686/build'
   ...
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.27.15-170.2.24.fc10.i686/build KBU
   ILD_VERBOSE=1 -C /lib/modules/2.6.27.15-170.2.24.fc10.i686/source SUBDIRS=/t
   mp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.27.15-170.2.24.fc10.i686/build \
   	KBUILD_SRC=/usr/src/kernels/2.6.27.15-170.2.24.fc10.i686 \
   	KBUILD_EXTMOD="/tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv" -
   f /usr/src/kernels/2.6.27.15-170.2.24.fc10.i686/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/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/.tmp_vers
   ions ; rm -f /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/.tmp_
   versions/*
   make -f /usr/src/kernels/2.6.27.15-170.2.24.fc10.i686/scripts/Makefile.build
   obj=/tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.3.2/include -D__KERN
   EL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.27.15-170.2.24.fc10.i686/in
   clude -I/usr/src/kernels/2.6.27.15-170.2.24.fc10.i686/arch/x86/include -incl
   ude include/linux/autoconf.h  -I/tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pk
   g1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-a
   liasing -fno-common -Werror-implicit-function-declaration -Os -m32 -msoft-fl
   oat -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686
   -mtune=generic -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME
   =1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx
   -mno-sse2 -mno-3dnow -I/usr/src/kernels/2.6.27.15-170.2.24.fc10.i686/include
   /asm-x86/mach-generic -Iinclude/asm-x86/mach-generic -I/usr/src/
   kernels/2.6.27.15-170.2.24.fc10.i686/include/asm-x86/mach-default -Iinclude/
   asm-x86/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optim
   ize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign  -I/tmp
   /selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv -Wall -Wimplicit -Wret
   urn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -
   Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_
   KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.07\" -
   UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KB
   UILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6718/N
   VIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.o /tmp/selfgz6718/NVIDIA-Linux-x
   86-96.43.07-pkg1/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/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   include/asm/bitops.h: In function 'set_bit':
   include/asm/bitops.h:60: warning: pointer of type 'void *' used in arith
   metic
   include/asm/bitops.h: In function 'clear_bit':
   include/asm/bitops.h:97: warning: pointer of type 'void *' used in arith
   metic
   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/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:57: warning: pointer of type 'void *' used in a
   rithmetic
   In file included from include/linux/utsname.h:35,
                    from /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/sched.h: In function 'object_is_on_stack':
   include/linux/sched.h:1988: warning: pointer of type 'void *' used in ar
   ithmetic
   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/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv-linux.h:85,
                    from /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/scatterlist.h: In function 'sg_virt':
   include/linux/scatterlist.h:199: warning: pointer of type 'void *' used 
   in arithmetic
   In file included from /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv-linux.h:106:27:
   error: asm/semaphore.h: No such file or directory
   In file included from /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv-linux.h:108,
                    from /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/highmem.h: In function 'zero_user_segments':
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type 'void *' used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type 'void *' used in a
   rithmetic
   In file included from /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv-linux.h: In fun
   ction 'nv_execute_on_all_cpus':
   /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv-linux.h:627: er
   ror: too many arguments to function 'on_each_cpu'
   /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c: In function 
   '__nv_setup_pat_entries':
   /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:836: warning:
   comparison between signed and unsigned
   /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c: In function 
   '__nv_restore_pat_entries':
   /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:862: warning:
   comparison between signed and unsigned
   /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c: In function 
   'nv_kern_cpu_callback':
   /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:1188: warning
   : comparison between signed and unsigned
   /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:1191: error: 
   too many arguments to function 'smp_call_function'
   /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:1195: warning
   : comparison between signed and unsigned
   /tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:1198: error: 
   too many arguments to function 'smp_call_function'
   make[4]: *** [/tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.o
   ] Error 1
   make[3]: *** [_module_/tmp/selfgz6718/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv] 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.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux