View Single Post
Old 11-07-06, 08:08 PM   #15
Registered User
Join Date: Nov 2006
Posts: 14
Default Re: NVIDIA kernel module doesn't be built in kernel-2.6.19rc1

Thanks. I tried that and it worked great, then I reformatted and went to do it again but it had a problem. Here's the log file it told me to go to:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Nov  7 19:48:59 2006

option status:
  license pre-accepted    : true
  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            : true
  silent                  : true
  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
  force tls               : (not specified)
  force compat32 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)
  compat32 install chroot : (not specified)
  compat32 install prefix : (not specified)
  compat32 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                      : none
  tmpdir                  : /tmp
  ftp mirror              :
  RPM file list           : (not specified)

Using built-in stream user interface
-> License accepted by command line option.
-> 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: 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.18-1.2798.fc6/source'
-> Kernel output path: '/lib/modules/2.6.18-1.2798.fc6/build'
-> Performing rivafb check.
-> Performing nvidiafb 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-i2c.o nv.o nv
   -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.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 -f stprof stprof.o symtab.h
   rm -f -rf .tmp_versions
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.18-1.2798.f
   c6/source SYSOUT=/lib/modules/2.6.18-1.2798.fc6/build'...
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.18-1.2798.fc6/build KBUILD_VERBOSE
   =1 -C /lib/modules/2.6.18-1.2798.fc6/source SUBDIRS=/home/tnunamak/Desktop/N
   VIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv modules
   make -C /lib/modules/2.6.18-1.2798.fc6/build \
   	KBUILD_SRC=/usr/src/kernels/2.6.18-1.2798.fc6-x86_64 \
   /src/nv" -f /usr/src/kernels/2.6.18-1.2798.fc6-x86_64/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;								\
   mkdir -p /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv
   rm -f /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.t
   make -f /usr/src/kernels/2.6.18-1.2798.fc6-x86_64/scripts/ obj
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /home/tnunamak/Desk
     cc -Wp,-MD,/home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/sr
   c/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.1/incl
   ude -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.18-1.2798.fc6-x
   86_64/include -include include/linux/autoconf.h   -I/home/tnunamak/Desktop/N
   VIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototype
   s -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wunde
   f -Werror-implicit-function-declaration -Os -mtune=generic -m64 -mno-red-zon
   e -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -funit-at-a-ti
   me -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -fasynchronou
   s-unwind-tables -g -fno-stack-protector -Wdeclaration-after-statement -Wno-p
   nter-sign  -I/home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/sr
   c/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpa
   rentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -mno-red-zon
   e -minline-all-stringops -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOO
   ODNAME=KBUILD_STR(nvidia)" -c -o /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-
   1.0-8776-pkg2/usr/src/nv/.tmp_nv.o /home/tnunamak/Desktop/NVIDIA-Linux-x86_6
   In file included from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
   .h:17:26: error: linux/config.h: No such file or directory
   In file included from include/linux/list.h:8,
                    from include/linux/lockdep.h:12,
                    from include/linux/spinlock_types.h:12,
                    from include/linux/spinlock.h:78,
                    from include/linux/capability.h:45,
                    from include/linux/sched.h:44,
                    from include/linux/module.h:9,
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
   include/linux/prefetch.h: In function ‚€˜prefetch_range‚€™:
   include/linux/prefetch.h:62: warning: pointer of type ‚€˜void *‚€™ used in a
   In file included from include/linux/sched.h:54,
                    from include/linux/module.h:9,
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
   include/linux/nodemask.h: In function ‚€˜__first_node‚€™:
   include/linux/nodemask.h:229: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‚€˜__next_node‚€™:
   include/linux/nodemask.h:235: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‚€˜__first_unset_node‚€™:
   include/linux/nodemask.h:253: warning: signed and unsigned type in condition
   al expression
   In file included from include/asm/elf.h:48,
                    from include/linux/elf.h:7,
                    from include/linux/module.h:16,
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
   include/asm/compat.h: In function ‚€˜compat_alloc_user_space‚€™:
   include/asm/compat.h:202: warning: pointer of type ‚€˜void *‚€™ used in arit
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:564,
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
   include/asm/io.h: In function ‚€˜check_signature‚€™:
   include/asm/io.h:275: warning: wrong type argument to increment
   In file included from include/asm/pci.h:92,
                    from include/linux/pci.h:691,
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
   include/asm-generic/pci-dma-compat.h: In function ‚€˜pci_map_page‚€™:
   include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ‚€˜void *‚
   €™ used in arithmetic
   make[4]: *** [/home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/s
   rc/nv/nv.o] Error 1
   make[3]: *** [_module_/home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
   g2/usr/src/nv] Error 2
   make[2]: *** [modules] Error 2
   nvidia.ko failed to build!
   make[1]: *** [mdl] 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?
tnunamak is offline   Reply With Quote