LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-29-2006, 12:43 AM   #1
pytheas22
LQ Newbie
 
Registered: Oct 2006
Location: Ithaca, New York; Paris
Distribution: Fedora, Mandriva
Posts: 7

Rep: Reputation: 0
can't install nvidia beta driver in Fedora Core 6


Hi all. I installed Zod, the final release of Fedora Core 6, and would like to install the nvidia 1.0.9625 beta driver, since it's the only one that will support AIGLX. I installed all the packages necessary to compile the driver, and I can start the installer program, and have it get to the point where it says it's building the driver, without a problem. However, after it gets to 100% on building the driver, it tells me, "ERROR: Unable to build the NVIDIA kernel module" and nothing else. I've disabled SELinux and rebooted, but the same thing happens. I also get the same error if I try to manually compile and install the latest stable driver from nvidia, 1.0.8776.

I can, however, install the precompiled stable driver through yum (via the livna repositories) without a problem. However, there's no prebuilt package that I know of for the beta driver, and since I really want to run AIGLX, I would really like to be able to use the beta driver.

I was able to install the beta driver on the same system in Fedora Core 5 without a problem (I wiped that install clean; this is a fresh install of FC6).

I don't understand why the installer program will get to the point where it appears to have already built the driver, and then give me a vague error message without any details. I'm posting the nvidia-installer log below. If anyone might be able to suggest what I can do in order to be able to install the beta driver, I'd appreciate it greatly. Thanks for your help.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Oct 29 01:15:14 2006

Code:
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
  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: 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=/tmp/selfgz3983/NVIDIA-L
   inux-x86-1.0-8776-pkg1/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-i686 \
   	KBUILD_EXTMOD="/tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv" -
   f /usr/src/kernels/2.6.18-1.2798.fc6-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/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/.tmp_vers
   ions
   rm -f /tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/.tmp_version
   s/*
   make -f /usr/src/kernels/2.6.18-1.2798.fc6-i686/scripts/Makefile.build obj=/
   tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz3983/NVI
   DIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -D__KERN
   EL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.18-1.2798.fc6-i686/include 
   -include include/linux/autoconf.h   -I/tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8
   776-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-st
   rict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-funct
   ion-declaration -Os -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log
   2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=generic 
   -mtune=generic -mregparm=3 -ffreestanding -I/usr/src/kernels/2.6.18-1.2798.f
   c6-i686/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/usr
   /src/kernels/2.6.18-1.2798.fc6-i686/include/asm-i386/mach-default -I
   include/asm-i386/mach-default -fomit-frame-pointer -fasynchronous-unwind-tab
   les -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign 
   -I/tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv -Wall -Wimplicit
   -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
   ith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual 
   -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAM
   IC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8776 -UDEBU
   G -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRE
   SENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_ME
   SSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -D
   NV_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_
   MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-
   pkg1/usr/src/nv/.tmp_nv.o /tmp/se
   lfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c
   In file included from /tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src
   /nv/nv.c:14:
   /tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/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 /tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src
   /nv/nv-linux.h:51,
                    from /tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/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/dmapool.h:14,
                    from include/linux/pci.h:564,
                    from /tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src
   /nv/nv-linux.h:76,
                    from /tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src
   /nv/nv.c:14:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:245: warning: wrong type argument to increment
   make[4]: *** [/tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.o
   ] Error 1
   make[3]: *** [_module_/tmp/selfgz3983/NVIDIA-Linux-x86-1.0-8776-pkg1/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.
 
Old 10-29-2006, 12:50 AM   #2
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Rep: Reputation: 31
http://www.nvnews.net/vbulletin/showthread.php?t=78847

http://rpm.livna.org/fedora/testing/6/i386/
 
Old 10-29-2006, 09:41 AM   #3
pytheas22
LQ Newbie
 
Registered: Oct 2006
Location: Ithaca, New York; Paris
Distribution: Fedora, Mandriva
Posts: 7

Original Poster
Rep: Reputation: 0
thanks...I looked around and couldn't find these things; I apologize for the redundant post.
 
Old 11-06-2006, 10:47 PM   #4
drkmessiah
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Rep: Reputation: 0
I'm still realatively new to linux. When I tried intalling kmod-nvidia-1.0.9626-1.2.6.18_1.2798.fc6.i586.rpm it came up with this message....
Missing Dependency: nvidia-kmod-common >= 1.0.9626 is needed by package kmod-nvidia

I've looked for that file and it's nowhere to be found am I missing something obvious?
 
Old 11-07-2006, 01:35 PM   #5
pytheas22
LQ Newbie
 
Registered: Oct 2006
Location: Ithaca, New York; Paris
Distribution: Fedora, Mandriva
Posts: 7

Original Poster
Rep: Reputation: 0
Follow these steps and you should be able to install the driver with no problem:

1. If you don't have yumex (the graphical version of yum) installed, install it from the terminal by running:

yum install yumex

2. open yumex (Applications>>System Tools>>Yum Extender). When it gets done updating things, select Repos in the tool bar on the left (if you're not already at that screen by default). Then right click on one of the respository names, select "New," enter a repository name (like livna-testing-fc6, or whatever you want), and press ok. Then enter http://rpm.livna.org/fedora/testing/6/i386/ in the "URLs" field and press ok. Finally, scroll down to the new repository that you just added, checkmark it, and press the Refresh button.

3. Once it finishes updating the lists again, you should be able to switch to the Install screen and do a search for "nvidia" to find the package you need (be sure to select the one appropriate for your architecture and kernel). Then just select the package, tell it to install it (it will figure out what else it needs and find it in one of the repos), and you should be all set. Restart X, obviously, for the new driver to take effect (if everything worked, you should have a really nice NVIDIA configuration utility under Applications>>System Tools, as the 1.0-9xxx utility is much better than the old 1.0.8xxx one).

Note that if you're installing this driver in order to use AIGLX, I'm not positive, but I think that it won't work until you modify your xorg.conf file a little bit. You should be able to find directions for doing that without much trouble.

Also note that you can obviously access the repository needed to install this driver through the command-line version of yum, but I don't know how to configure that very well since I prefer to use yumex. If you know how to add repos to yum without using yumex, feel free to do that; at least you won't have to have your computer feel like it's dying while yumex is starting up.
 
Old 11-10-2006, 01:18 AM   #6
drkmessiah
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Rep: Reputation: 0
Is there anyway to get yumex to download and install the older drivers. I've messed with the beta's and I just can't get it set to the right resolution. The resolution is either 1280x720 and it's larger than the actual screen or it's 1280x1024 and it looks bad. I know they are beta's and that's to be expected but I'd rather just have my screen set to 1440x900 like it can be with the nv drivers.
 
Old 11-10-2006, 02:19 AM   #7
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
The latest drivers (1.0-9629) install and work well with kernel 2.6.18-1.2798.fc6.
 
Old 11-11-2006, 12:05 AM   #8
pytheas22
LQ Newbie
 
Registered: Oct 2006
Location: Ithaca, New York; Paris
Distribution: Fedora, Mandriva
Posts: 7

Original Poster
Rep: Reputation: 0
In my experience as well, the beta driver works without any major issues. Maybe you could try playing with the hardware settings of your monitor, and make sure your xorg.conf is set up ok. How are you trying to change resolution--with the nvidia configuration utility (Applications>>System Tools>>nvidia display settings) or with the generic gnome screen resolution one? The nvidia utility includes lots of options for fine-tuning screen quality and appearance; play around and see if it helps. If you're using 3d desktop effects, try disabling them and see if the problems persist.

But if you really want to switch back to the old driver (with which you cannot run AIGLX under any circumstances, of course, although I hear that XGL should work) you should be able to easily do it by going to Add/Remove Software, searching for nvidia, uninstalling the 1.0.9xxx driver package, and then using yum to reinstall the 1.0.8xxx driver (be absolutely sure that you have the 1.0.8xxx driver installed properly before you log out of X in order for it to take effect, or X won't start again and it will be a hassle to take care of it). The 1.0.8xxx driver should be in the livna stable repository; I would make sure it's there (search that repository for it in yumex) before you delete the beta driver. See http://www.fedorafaq.org/#nvidia for details on installing the stable driver, if this is what you really want to do.

But again, I would encourage you to try to get the beta driver to work before you give up on it. The only thing that the stable driver does that the default open source "nv" one doesn't is provide 3d acceleration; unless you play games in Linux, you may as well be using the open source driver instead of the 1.0.8xxx one, since neither supports AIGLX. If you still can't get the beta driver to work properly, you can post your /etc/X11/xorg.conf file here with a specific description of your problems and maybe someone can figure out what's wrong.
 
Old 11-12-2006, 01:36 PM   #9
drkmessiah
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Rep: Reputation: 0
I'm sure they do. It's just the combination of an MSI NX7600GS graphics card and a Sceptre X9w lcd monitor doesn't seem to work. I've tried using the Nvidia configuration utility and the display manager in administration>display. The GNOME dispaly manager has the resolution of 1440x900 listed but it never seems to take. The nvidia configuration application only lists 1280x720, 1440x900 isn't even available. I'd settle for the 1280x 720 resolution if it didn't create a large virtual desktop that makes me scroll to see the top or the bottom.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't install nVidia Driver on Fedora Core 5 tron_thomas Linux - Software 1 09-17-2006 10:14 PM
How to install nVidia driver in Fedora core 1 sirius57 Fedora 13 11-12-2005 05:48 PM
Re: Fedora Core 4 beta 1 and NVIDIA drivers MunCH Fedora 2 03-29-2005 04:13 PM
nvidia driver and Fedora Core 2 j0Vian Linux - Newbie 2 11-15-2004 04:18 PM
NVIDIA driver install - Fedora Core 1 Brian of Gep Fedora - Installation 1 03-13-2004 03:41 PM


All times are GMT -5. The time now is 05:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration