View Single Post
Old 11-07-06, 08:08 PM   #15
tnunamak
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:

Code:
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              : ftp://download.nvidia.com
  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 (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.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 \
   	KBUILD_EXTMOD="/home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr
   /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;								\
   	/bin/false)
   mkdir -p /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv
   /.tmp_versions
   rm -f /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.t
   mp_versions/*
   make -f /usr/src/kernels/2.6.18-1.2798.fc6-x86_64/scripts/Makefile.build obj
   =/home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /home/tnunamak/Desk
   top/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv_compiler.h
     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
   oi
   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
   SE_KERNEL_NAMES -D__KERNEL__ -DMODULE -mcmodel=kernel -DNTRM -DNVRM -DDYNAMI
   C_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8776 -UDEBUG
   -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESE
   NT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESS
   AGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV
   _REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -
   DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_M
   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
   4-1.0-8776-pkg2/usr/src/nv/nv.c
   In file included from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
   g2/usr/src/nv/nv.c:14:
   /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv-linux
   .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
   g2/usr/src/nv/nv-linux.h:51,
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
   g2/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 a
   rithmetic
   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
   g2/usr/src/nv/nv-linux.h:51,
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
   g2/usr/src/nv/nv.c:14:
   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
   g2/usr/src/nv/nv-linux.h:51,
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
   g2/usr/src/nv/nv.c:14:
   include/asm/compat.h: In function ‚€˜compat_alloc_user_space‚€™:
   include/asm/compat.h:202: warning: pointer of type ‚€˜void *‚€™ used in arit
   hmetic
   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
   g2/usr/src/nv/nv-linux.h:76,
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
   g2/usr/src/nv/nv.c:14:
   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
   g2/usr/src/nv/nv-linux.h:76,
                    from /home/tnunamak/Desktop/NVIDIA-Linux-x86_64-1.0-8776-pk
   g2/usr/src/nv/nv.c:14:
   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: left KBUILD.
   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 www.nvidia.com.
Any ideas?
tnunamak is offline   Reply With Quote