Results 1 to 5 of 5

Thread: problem in installing nvidia driver

  1. #1

    Default problem in installing nvidia driver

    I use geforce 8400gs and opensuse 11.2
    I have not Internet connection in suse
    When I try to install the driver I have problems:

    HTML Code:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Tue Jan 19 23:08:06 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: 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.31.5-0.1-default/source'
    -> Kernel output path: '/lib/modules/2.6.31.5-0.1-default/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Performing Xen 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 nvacpi.
       o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi.o nvidi
       a.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 Modules.symvers
       rm -f -rf .tmp_versions
       rm -f Makefile
    -> Building kernel module:
       executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.31.5-0.1-de
       fault/source SYSOUT=/lib/modules/2.6.31.5-0.1-default/build'...
       sh ./conftest.sh "cc" "cc" /lib/modules/2.6.31.5-0.1-default/source /lib/mod
       ules/2.6.31.5-0.1-default/build cc_sanity_check full_output
       sh ./conftest.sh "cc" "cc" /lib/modules/2.6.31.5-0.1-default/source /lib/mod
       ules/2.6.31.5-0.1-default/build select_makefile full_output
       make --no-print-directory -f Makefile module
       
       NVIDIA: calling KBUILD...
       make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.31.5-0.1-default/build KBUILD_VERB
       OSE=1 -C /lib/modules/2.6.31.5-0.1-default/source SUBDIRS=/tmp/selfgz11894/N
       VIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv modules
       make -C /lib/modules/2.6.31.5-0.1-default/build \
       	KBUILD_SRC=/usr/src/linux-2.6.31.5-0.1 \
       	KBUILD_EXTMOD="/tmp/selfgz11894/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv"
       -f /usr/src/linux-2.6.31.5-0.1/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/selfgz11894/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.tmp_ve
       rsions ; rm -f /tmp/selfgz11894/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.
       tmp_versions/*
       make -f /usr/src/linux-2.6.31.5-0.1/scripts/Makefile.build obj=/tmp/selfgz11
       894/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv
       (cat /dev/null; ) > /tmp/selfgz11894/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src
       /nv/modules.order
       make -f /usr/src/linux-2.6.31.5-0.1/scripts/Makefile.modpost
         scripts/mod/modpost -m -a -i /usr/src/linux-2.6.31.5-0.1-obj/i386/default/
       Module.symvers -I /tmp/selfgz11894/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/n
       v/Module.symvers  -o /tmp/selfgz11894/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr
       c/nv/Module.symvers -S -K /usr/src/linux-2.6.31.5-0.1-obj/i386/default/Modul
       e.markers -M /tmp/selfgz11894/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/Mod
       ule.markers -w   -s
       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.

    what I should do?

    Thanks

  2. #2
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,574
    Blog Entries
    38

    Default Re: problem in installing nvidia driver

    If it is the proprietary nVidia Linux driver, ensure you have kernel-source and kernel-syms consistent with your kernel version installed. Also ensure you have linux-headers installed.

    For very general (non-proprietary) graphic driver theory, I put in place some information here: openSUSE Graphic Card Practical Theory Guide for Users - openSUSE Forums

  3. #3

    Default Re: problem in installing nvidia driver

    I download the driver from nvidia official site.
    When I installed suse the kernel sources installed too but
    /usr/src/linux-2.6.31.5-0.1/include/linux/autoconf.h
    and
    usr/src/linux-2.6.31.5-0.1/include/include/config/auto.conf

    was not exists
    Should I download a kernel source?

  4. #4
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,574
    Blog Entries
    38

    Default Re: problem in installing nvidia driver

    Quote Originally Posted by Ashkan_s View Post
    I download the driver from nvidia official site.
    When I installed suse the kernel sources installed too but
    /usr/src/linux-2.6.31.5-0.1/include/linux/autoconf.h
    and
    usr/src/linux-2.6.31.5-0.1/include/include/config/auto.conf

    was not exists
    Should I download a kernel source?
    I do not understand the quote. For a proprietary driver build, under YaST > Software > Software Management, I always ensure that I have the pattern "Base development" selected and the associated applications installed.

    Yes, if one has the 2.6.31.5 kernel, then one needs kernel-source and kernel-syms for the 2.6.31.5 kernel. If one has the 2.6.31.8 kernel, then one needs the kernel-source and kernel-syms for the 2.6.31.8 kernel.

  5. #5

    Default Re: problem in installing nvidia driver

    Quote Originally Posted by Ashkan_s View Post
    I download the driver from nvidia official site.
    When I installed suse the kernel sources installed too but
    /usr/src/linux-2.6.31.5-0.1/include/linux/autoconf.h
    and
    usr/src/linux-2.6.31.5-0.1/include/include/config/auto.conf

    was not exists
    Should I download a kernel source?
    What about adding the Nvidia repository and installing the driver from there with :

    zypper in x11-video-nvidiaG02 ?

    That will install kernel headers by dependencies if not there and compile the kernel module.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •