Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
Ok so Im tryin to install this nvidia driver that I have. I successfully installed it on fc12, but im running fc 13 now. after doing init 3 to close ...
  1. #1
    Just Joined! VanHalenMan's Avatar
    Join Date
    Aug 2008
    Posts
    49

    Nvidia can't build kernel source.

    Ok so Im tryin to install this nvidia driver that I have. I successfully installed it on fc12, but im running fc 13 now. after doing init 3 to close the x server, and sh NVIDIA* it says that no precompiled kernel interface was found. Obviously it is unable to automatically download one, but then it says its building on. I see a percentage bar get to about...75% give or take. Then I get an error message. Heres the log:
    Code:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Sat Nov 13 12:11:45 2010
    
    option status:
      license pre-accepted    : false
      update                  : false
      force update            : false
      expert                  : false
      uninstall               : false
      driver info             : false
      no precompiled interface: false
      no ncurses color        : false
      query latest driver ver : false
      OpenGL header files     : true
      no questions            : false
      silent                  : 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
      force tls               : (not specified)
      force compat32 tls      : (not specified)
      X install prefix        : /usr/X11R6
      OpenGL install prefix   : /usr
      compat32 install prefix : (not specified)
      installer install prefix: /usr
      utility install prefix  : /usr
      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.
    -> Kernel source path: '/lib/modules/2.6.34.7-61.fc13.i686/source'
    -> Performing CC test with CC="cc".
    -> Performing rivafb 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.o nv-vm.o os-
       agp.o os-interface.o os-registry.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 -rf .tmp_versions
    -> Building kernel module:
       executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.34.7-61.fc1
       3.i686/source SYSOUT=/lib/modules/2.6.34.7-61.fc13.i686/build'...
       
       NVIDIA: calling KBUILD...
       make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.34.7-61.fc13.i686/build KBUILD_VER
       BOSE=1 -C /lib/modules/2.6.34.7-61.fc13.i686/source SUBDIRS=/tmp/selfgz2956/
       NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv modules
       make -C /lib/modules/2.6.34.7-61.fc13.i686/build \
       	KBUILD_SRC=/usr/src/kernels/2.6.34.7-61.fc13.i686 \
       	KBUILD_EXTMOD="/tmp/selfgz2956/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv" -
       f /usr/src/kernels/2.6.34.7-61.fc13.i686/Makefile \
       	modules
       test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
       	echo;								\
       	echo "  ERROR: Kernel configuration is invalid.";		\
       	echo "         include/generated/autoconf.h or include/config/auto.conf are
       missing.";\
       	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
       .";	\
       	echo;								\
       	/bin/false)
       mkdir -p /tmp/selfgz2956/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/.tmp_vers
       ions ; rm -f /tmp/selfgz2956/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/.tmp_
       versions/*
       make -f /usr/src/kernels/2.6.34.7-61.fc13.i686/scripts/Makefile.build obj=/t
       mp/selfgz2956/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv
       (cat /dev/null; ) > /tmp/selfgz2956/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/n
       v/modules.order
       make -f /usr/src/kernels/2.6.34.7-61.fc13.i686/scripts/Makefile.modpost
         scripts/mod/modpost  -a -i /usr/src/kernels/2.6.34.7-61.fc13.i686/Module.s
       ymvers -I /tmp/selfgz2956/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/Module.s
       ymvers  -o /tmp/selfgz2956/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/Module.
       symvers -S -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.
    I already installed kernel-headers. I think its 2.6.34.7 something. My kernel is the same version. I also installed kernel-devel just to see if it would help. Before I installed devel I dont think it would even start building..
    I looked all over to figure out whats up. I found a site with the same error, but no solution. Thanks.

  2. #2
    Just Joined!
    Join Date
    Apr 2010
    Location
    saudia arabia
    Posts
    2
    hi
    I want to help you
    you must download Extender when open terminal
    you write
    yum install extender after finsh go extender you find in system tool
    open extender and wirte nvidia you see all nvidia for extender you Choose nvidia for your system after you go System administrator and you find nvidia and open and Put a check mark all after keep Save after log out after login on

  3. #3
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Try installing kernel-headers, I believe this will solve your problem.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  4. #4
    Just Joined! VanHalenMan's Avatar
    Join Date
    Aug 2008
    Posts
    49
    I had already installed the headers. But I think I got the same error. It wasnt until I installed kernel-devel that that atleast got a percentage bar when it started "building"

  5. #5
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    kernel-devel IS the kernel headers.

    Fedora 13 (I think 12 had the same problem, but I don't recall) did not allow you to easily install the nvidia headers. you had to manually blacklist the nouveau kernel module, and reboot into initlevel 3 before it would compile.

    I don't remember the process off the top of my head, but I remember having to add "rdblacklist=nouveau" to the end of my grub kernel line. I installed through rpmfusion though, so I don't know the full instructions. You may be able to find it through googling.


    ######### EDIT ##########

    looking at it now, I guess kernel-devel isn't the same as kernel-headers. I always installed kernel-devel before doing nvidia, so I assumed that's what it is. I've never manually installed kernel-headers.
    Last edited by meton_magis; 11-15-2010 at 07:43 AM. Reason: bad information
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  6. #6
    Just Joined! VanHalenMan's Avatar
    Join Date
    Aug 2008
    Posts
    49
    Yeah, they aren't the same thing. I installed them both separetely. But I've done lots of searches and can't find the exact solution. I find people with problems similar, but not quite the same.

  7. #7
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Have you tried booting into runlevel 3 instead of running init or telinit before running the installation script? Also, what video hardware do you have, and which driver did you try to install?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  8. #8
    Just Joined! VanHalenMan's Avatar
    Join Date
    Aug 2008
    Posts
    49
    I have not tried booting into runlevel 3, I didn't know how. I guess I can look it up and give it a shot. As for the card and the driver. I believe the card is an nvidia geforce 5200. Its 512mb agp 8x. The driver is a the driver I got from nvidias site, dont remember the exact name, but it worked like a charm on fc11, so it has to be the right one.

  9. #9
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    To boot into runlevel 3, edit the /etc/inittab file and change the line:

    id:5:initdefault:

    to

    id:3:initdefault:
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  10. #10
    Just Joined! VanHalenMan's Avatar
    Join Date
    Aug 2008
    Posts
    49
    Didn't work :/
    Same error.

Page 1 of 2 1 2 LastLast

Posting Permissions

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