LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2008, 12:20 PM   #1
sirusx69
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Rep: Reputation: 15
Nvidia drivers? Though i had everything?


Current kernel-2.6.23.9-85.fc8
Im pretty sure Yum installed the kernel source and the headers are diffidently there...Yet when i attempt to install nvidia drivers


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jan 19 02:22:46 2008

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
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> 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)
ERROR: Unable to connect to download.nvidia.com (temporary DNS error (try again
later))
-> 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.23.9-85.fc8/source'
-> Kernel output path: '/lib/modules/2.6.23.9-85.fc8/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 Modules.symvers
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.23.9-85.fc8
/source SYSOUT=/lib/modules/2.6.23.9-85.fc8/build'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.23.9-85.fc8/build KBUILD_VERBOSE=1
-C /lib/modules/2.6.23.9-85.fc8/source SUBDIRS=/tmp/selfgz2680/NVIDIA-Linux-
x86-1.0-9629-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.23.9-85.fc8/build \
KBUILD_SRC=/usr/src/kernels/2.6.23.9-85.fc8-i686 \
KBUILD_EXTMOD="/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv" -
f /usr/src/kernels/2.6.23.9-85.fc8-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/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/.tmp_vers
ions
rm -f /tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/.tmp_version
s/*
make -f /usr/src/kernels/2.6.23.9-85.fc8-i686/scripts/Makefile.build obj=/tm
p/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz2680/NVI
DIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -D__KERN
EL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.23.9-85.fc8-i686/include -i
nclude include/linux/autoconf.h -I/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629
-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stric
t-aliasing -fno-common -Werror-implicit-function-declaration -Os -pipe -msof
t-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=
i586 -mtune=generic -mtune=generic -ffreestanding -maccumulate-outgoing-args
-DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/kernels/2.6.23.9
-85.fc8-i686/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -
I/usr/src/kernels/2.6.23.9-85.fc8-i686/include/asm-i386/mach-default -Iinclu
de/
asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclara
tion-after-statement -Wno-pointer-sign -I/tmp/selfgz2680/NVIDIA-Linux-x86-1
.0-9629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wc
har-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-
common -msoft-float -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KE
RNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERS
ION=0 -DNV_PATCHLEVEL=9629 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM
-DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_
MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESEN
T -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP
_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODUL
E -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME
=KBUILD_STR(nvidia)" -c -o /tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/us
r/src/nv/nv.o /tmp/selfgz2680/NVIDI
A-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c
In file included from include/linux/list.h:9,
from include/linux/preempt.h:12,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:30,
from include/linux/time.h:9,
from include/linux/timex.h:58,
from include/linux/sched.h:54,
from include/linux/utsname.h:36,
from /tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src
/nv/nv-linux.h:20,
from /tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src
/nv/nv.c:15:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c:110: error: e
xpected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before â
€˜*’ token
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c: In function
‘nvos_create_alloc’:
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c:454: error: â
€˜nv_pte_t_cache’ undeclared (first use in this function)
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c:454: error: (
Each undeclared identifier is reported only once
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c:454: error: f
or each function it appears in.)
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c: In function
‘nvos_free_alloc’:
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c:486: error: â
€˜nv_pte_t_cache’ undeclared (first use in this function)
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c: In function
‘nvidia_init_module’:
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c:1372: error:
‘nv_pte_t_cache’ undeclared (first use in this function)
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c:1372: error:
too many arguments to function ‘kmem_cache_create’
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c:1493: error:
void value not ignored as it ought to be
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c: In function
‘nvidia_exit_module’:
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c:1520: error:
void value not ignored as it ought to be
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c:1621: error:
‘nv_pte_t_cache’ undeclared (first use in this function)
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_open’:
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c:1848: warning
: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interru
pt.h:64)
/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.c:1848: warning
: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interru
pt.h:64)
make[4]: *** [/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src/nv/nv.o
] Error 1
make[3]: *** [_module_/tmp/selfgz2680/NVIDIA-Linux-x86-1.0-9629-pkg1/usr/src
/nv] Error 2
make[2]: *** [modules] Error 2
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.



Suggestions?
 
Old 01-19-2008, 01:54 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
To verify post output of this command.
rpm -qa | grep kernel

Brian
 
Old 01-19-2008, 07:04 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
It is a lot easier and safer just to use the Livna rpms or Freshrpms dkms modules. The dkms modules auto rebuild after each kernel update(needs the associated kernelversion-devel).
 
  


Reply



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
Difference between NVIDIA source drivers & KMOD-NVIDIA mrkawphy Fedora 1 01-23-2007 12:51 AM
Nvidia 9746 Drivers - startx freezes machine when using nvidia module Astro Slackware 17 01-21-2007 07:36 PM
UNinstalling proprietry mandriva nVidia drivers and installing new nVidia drivers deathman Linux - Hardware 3 11-18-2006 05:10 AM
Nvidia GeForce 4 MX 440 poor performance nvidia glx drivers jollyjoice Linux - Hardware 7 06-07-2006 09:02 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration