LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-08-2006, 11:59 PM   #1
waggy401
LQ Newbie
 
Registered: Jan 2005
Location: Merced, CA
Distribution: Red Hat Fedora
Posts: 8

Rep: Reputation: 0
Cool Problem installing nvidia driver on FC5


I have read many FAQs and forums trying to figure this out, but I can't seem to find an answer to my question.

I am trying to install the NVidia driver for core 5 test 3. When I run the .run package, this is the error I get:

ERROR: Unable to find the kernel source tree for the currently running kernel.
Please make sure you have installed the kernel source files for your
kernel and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' RPM installed. If you
know the correct kernel source files are installed, you may specify the
kernel source path with the '--kernel-source-path' command line option.
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 <nvidia.com>

Well, I'm a newbie and don't know exactly what this means. I thought I had the source files installed. How do I find out? Where are they? If I don't, where can I get them? If I do have them, how do I use the '--kernel-source-path' command line option?

I know, lots of questions, but I'm frustrated now and really want to get this working. Thanks in advance.

Last edited by waggy401; 03-16-2006 at 12:01 AM. Reason: Problem solved - I'm happy now.
 
Old 03-09-2006, 12:40 AM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
What you need are the kernel headers. Unless this changed (again), they come with the kernel-devel package.
 
Old 03-09-2006, 01:25 AM   #3
waggy401
LQ Newbie
 
Registered: Jan 2005
Location: Merced, CA
Distribution: Red Hat Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
Problem. . .

Ok. How do I install that?

I did find /usr/src/kernels/2.6. . .etc. There were two folders - one said FC5-spm-i686 while the other said FC5spm-i686. I tried both. I ran the installer and got further, but this is what the log file says:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Mar 8 23:06:06 2006

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 : /usr/src/kernels/2.6.15-1.1955_FC5smp-i686/
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 test with CC="cc".
-> Using the kernel source path '/usr/src/kernels/2.6.15-1.1955_FC5smp-i686/'
as specified by the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/kernels/2.6.15-1.1955_FC5smp-i686/'
-> Kernel output path: '/usr/src/kernels/2.6.15-1.1955_FC5smp-i686/'
-> 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.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 -f stprof stprof.o symtab.h
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/kernels/2.6.15-1.19
55_FC5smp-i686/ SYSOUT=/usr/src/kernels/2.6.15-1.1955_FC5smp-i686/'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/kernels/2.6.15-1.1955_FC5smp-i686/
SUBDIRS=/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv modules
mkdir -p /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_vers
ions
make -f scripts/Makefile.build obj=/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz3003/NVI
DIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.0/include -D__KERN
EL__ -Iinclude -include include/linux/autoconf.h -Iinclude/asm-i386/mach-ge
neric -Iinclude/asm-i386/mach-default -Wall -Wundef -Wstrict-prototypes -Wno
-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-fr
ame-pointer -g -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fn
o-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4 -m
regparm=3 -
Iinclude/asm-i386/mach-generic -Iinclude/asm-i386/mach-default -Wdeclaration
-after-statement -Wno-pointer-sign -I/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-81
78-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-s
ubscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-com
mon -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D_
_KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_M
INOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE
_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_ST
R(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nv
idia)" -c -o /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_
nv.o /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-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:522,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv.c:14:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:228: warning: wrong type argument to increment
In file included from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:296: warning:
initialization from incompatible pointer type
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
‘nvos_get_agp_device_by_class’:
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502: warning:
implicit declaration of function ‘pci_find_class’
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:516: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
‘nvidia_init_module’:
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305: warning
: implicit declaration of function ‘pm_register’
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1423: warning
: implicit declaration of function ‘pm_unregister’
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_mmap’:
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1979: warning
: implicit declaration of function ‘remap_page_range’
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
‘nvos_count_devices’:
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3641: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3647: warning
: assignment makes pointer from integer without a cast
cc -Wp,-MD,/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.0/include -D__K
ERNEL__ -Iinclude -include include/linux/autoconf.h -Iinclude/asm-i386/mach
-generic -Iinclude/asm-i386/mach-default -Wall
-Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -Os -fomit-frame-pointer -g -pipe -msoft-float -fno-built
in-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2
-march=i686 -mtune=pentium4 -mregparm=3 -Iinclude/asm-i386/mach-generic -Ii
nclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign
-I/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-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-q
ual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -D
DYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178
-UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_P
AGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_ST
R(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3003/NVIDI
A-Linux-x86-1.0-8178-pkg1/usr/s
rc/nv/.tmp_nv-vm.o /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv
/nv-vm.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-vm.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:522,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-vm.c:14:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:228: warning: wrong type argument to increment
In file included from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-vm.c:14:
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
cc -Wp,-MD,/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.0/include -D__
KERNEL__ -Iinclude -include include/linux/autoconf.h -Iinclude/asm-i386/mac
h-generic -Iinclude/asm-i386/mach-default -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os -fomi
t-frame-pointer -g -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2
-fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4
-mregparm=3 -Iinclude/asm-i386/mach-generic -Iinclude/asm-i386/mach-default
-Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz3003/NVIDIA-Lin
ux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -W
switch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multic
har -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -
D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DN
V_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBU
G -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESEN
T -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"
KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3003/NVIDIA-Linux-x86-1.
0-8178-pkg1/usr/src/nv/.tmp_os-agp.o /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-81
78-pkg1/usr/src/nv/os-agp.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-agp.c:24:
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:522,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-agp.c:24:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:228: warning: wrong type argument to increment
In file included from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-agp.c:24:
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
cc -Wp,-MD,/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.os-i
nterface.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.0/includ
e -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Iinclude/asm-i3
86/mach-generic -Iinclude/asm-i386/mach-default -Wall -Wundef -Wstrict-proto
types -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -g -pipe -msoft-float -fno-builtin-sprintf -fno-builtin
-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=pe
ntium4 -mregparm=3 -Iinclude/asm-i386/mach-generic -Iinclude/asm-i386/mach-d
efault -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz3003/NVI
DIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswit
ch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar
-Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOO
SE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJ
OR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DN
DEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -D
MODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D
"KB
UILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-
8178-pkg1/usr/src/nv/.tmp_os-interface.o /tmp/selfgz3003/NVIDIA-Linux-x86-1.
0-8178-pkg1/usr/src/nv/os-interface.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-interface.c:26:
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:522,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-interface.c:26:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:228: warning: wrong type argument to increment
In file included from /tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-interface.c:26:
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c: In
function ‘os_set_mlock_capability’:
/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c:137
5: error: ‘struct task_struct’ has no member named ‘rlim’
make[3]: *** [/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-i
nterface.o] Error 1
make[2]: *** [_module_/tmp/selfgz3003/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv] 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.
 
Old 03-09-2006, 01:46 AM   #4
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
Just install the kernel-devel RPM package (rpm -i kernel-devel*.rpm) that matches your kernel version (should be included with your distro).
 
Old 03-09-2006, 02:10 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639

Rep: Reputation: Disabled
You get your kernel version by typing
Code:
uname -a
Just amend jens' suggestion with that. You might also want to use
Code:
rpm -ihv kernel-devel*.rpm
to get more information while running the command.
 
Old 03-09-2006, 07:40 PM   #6
waggy401
LQ Newbie
 
Registered: Jan 2005
Location: Merced, CA
Distribution: Red Hat Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
Problem installing nvidia driver on FC5

Ok, I gave that a try. Didn't work. This is the response:

Code:
[root@localhost RPMS]# rpm -ihv kernel-devel*.rpm
warning: package kernel-devel = 2.6.15-1.1955_FC5 was alread y added, skipping kernel-devel < 2.6.15-1.1955_FC5
error: error reading from file kernel-devel-2.6.15-1.1955_FC 5.i686.rpm
If I try installing via the GUI file manager, this is what I get:

Code:
A newer version than /media/disk/Fedora/RPMS/kernel-devel-2.6.15-1.1955_FC5.i686.rpm is already installed
I did use yum update a couple times. This is the result of uname -a:

Code:
Linux localhost.localdomain 2.6.15-1.1955_FC5 #1 Wed Feb 15 15:45:39 EST 2006 i686 i686 i386 GNU/Linux
 
Old 03-10-2006, 02:28 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639

Rep: Reputation: Disabled
Well. So you have it installed. Well, well.

Find out, where on your disk the kernel-devel directory resides. Then look inside to see whether it contains the headers, which have the extension ".h", like "my-routine.h" -- if they are there, its something else.

Also, do exactly what the nVidia error said in your original post: in particular, look for the kernel-source directory and specify the kernel source path with the '--kernel-source-path' on the command line.

Last edited by JZL240I-U; 03-10-2006 at 02:35 AM.
 
Old 03-11-2006, 05:48 PM   #8
waggy401
LQ Newbie
 
Registered: Jan 2005
Location: Merced, CA
Distribution: Red Hat Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
Problem installing nvidia driver on FC5

I finally found the .h files under directory /usr/include/linux/. So, I tried running the installer with the --kernel-source-path, but that didn't work because it had already found the correct path and me adding one just messed it up. I ran the nvidia installer once more without any options, and it got to the part where it said "building kernel," which went all the way to 100%. Then it crashed. Here's the log file:

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Mar 11 15:23:52 2006

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
 
  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? (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 test with CC="cc".
-> Kernel source path: '/lib/modules/2.6.15-1.2032_FC5/source'
-> Kernel output path: '/lib/modules/2.6.15-1.2032_FC5/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.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 -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.15-1.2032_F
   C5/source SYSOUT=/lib/modules/2.6.15-1.2032_FC5/build'...
   
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.15-1.2032_FC5/build KBUILD_VERBOSE
   =1 -C /lib/modules/2.6.15-1.2032_FC5/source SUBDIRS=/tmp/selfgz2054/NVIDIA-L
   inux-x86-1.0-8178-pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.15-1.2032_FC5/build \
   KBUILD_SRC=/usr/src/kernels/2.6.15-1.2032_FC5-i686 \
   KBUILD_EXTMOD="/tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv" -f
   /usr/src/kernels/2.6.15-1.2032_FC5-i686/Makefile modules
   mkdir -p /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_vers
   ions
   make -f /usr/src/kernels/2.6.15-1.2032_FC5-i686/scripts/Makefile.build obj=/
   tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz2054/NVI
   DIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.0/include -D__KERN
   EL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.15-1.2032_FC5-i686/include 
   -include include/linux/autoconf.h  -I/tmp/selfgz2054/NVIDIA-Linux-x86-1.0-81
   78-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-str
   ict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -g -pipe -m
   soft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mprefer
   red-stack-boundary=2 -march=i686 -mtune=pentium4 -mregparm=3 -I/usr/src/kern
   els/2.6.15-1.2032_FC5-i686/include/asm-i386/mach-default -Iinclude/asm-i386/
   mach-default -Wdeclaration-after-statement -Wno-pointer-sign  -I/tmp/selfgz2
   054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type
   -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multi
   char -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_
   LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MA
   JOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DN
   DEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DM
   ODULE -D"KBUILD_STR(s)=#s" -D"KB
   UILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /
   tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_nv.o /tmp/self
   gz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:23,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:20,
                    from include/linux/module.h:10,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv-linux.h:47,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-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:522,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv-linux.h:71,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv.c:14:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:258: warning: wrong type argument to increment
   In file included from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv.c:14:
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2: 
   warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: At top level
   :
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:296: warning:
   initialization from incompatible pointer type
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function 
   ‘nvos_get_agp_device_by_class’:
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502: warning:
   implicit declaration of function ‘pci_find_class’
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502: warning:
   assignment makes pointer from integer without a cast
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:516: warning:
   assignment makes pointer from integer without a cast
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function 
   ‘nvidia_init_module’:
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305: warning
   : implicit declaration of function ‘pm_register’
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1423: warning
   : implicit declaration of function ‘pm_unregister’
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function 
   ‘nv_kern_mmap’:
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1979: warning
   : implicit declaration of function ‘remap_page_range’
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function 
   ‘nvos_count_devices’:
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3641: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3647: warning
   : assignment makes pointer from integer without a cast
     cc -Wp,-MD,/tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.nv-v
   m.o.d  -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.0/include -D__K
   ERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.15-1.2032_FC5-i686/inclu
   de -include include/linux/autoconf.h  -I/tmp/selfgz2054/NVIDIA-Linux-x86-1.0
   -8178-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-
   strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -g -pipe
   -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpref
   erred-stack-boundary=2 -march=i686 -mtune=pentium4 -mregparm=3 -I/usr/src/ke
   rnels/2.6.15-1.2032_FC5-i686/include/asm-i386/mach-default -Iinclude/asm-i38
   6/mach-default -Wdeclaration-after-statement -Wno-pointer-sign  -I/tmp/selfg
   z2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-ty
   pe -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoin
   ter-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast
   -qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -
   DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 
   -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_P
   AGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR
   (nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz2054/NVIDIA
   -Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_nv-vm.o /tmp/selfgz2054/NVIDIA-Linu
   x-x86-1.0-8178-pkg1/usr/src/nv/nv-vm.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:23,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:20,
                    from include/linux/module.h:10,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv-linux.h:47,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv-vm.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:522,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv-linux.h:71,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv-vm.c:14:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:258: warning: wrong type argument to increment
   In file included from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv-vm.c:14:
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2: 
   warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
     cc -Wp,-MD,/tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.os-a
   gp.o.d  -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.0/include -D__
   KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.15-1.2032_FC5-i686/incl
   ude -include include/linux/autoconf.h
     -I/tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wundef 
   -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreest
   anding -Os -fomit-frame-pointer -g -pipe -msoft-float -fno-builtin-sprintf -
   fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 
   -mtune=pentium4 -mregparm=3 -I/usr/src/kernels/2.6.15-1.2032_FC5-i686/includ
   e/asm-i386/mach-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-
   statement -Wno-pointer-sign  -I/tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg
   1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscri
   pts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD 
   -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ 
   -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION
   =0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGA
   RT_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KB
   UILD_BASENAME=KBUILD_STR(os_agp)"  -
   D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz2054/NVIDIA-Linux-x86-
   1.0-8178-pkg1/usr/src/nv/.tmp_os-agp.o /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-
   8178-pkg1/usr/src/nv/os-agp.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:23,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:20,
                    from include/linux/module.h:10,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv-linux.h:47,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/os-agp.c:24:
   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:522,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv-linux.h:71,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/os-agp.c:24:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:258: warning: wrong type argument to increment
   In file included from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/os-agp.c:24:
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2: 
   warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
     cc -Wp,-MD,/tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.os-i
   nterface.o.d  -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.0/includ
   e -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.15-1.2032_FC5-i68
   6/include -include include/linux/autoconf.h  -I/tmp/selfgz2054/NVIDIA-Linux-
   x86-1.0-8178-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraph
   s -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -
   g -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-put
   s -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4 -mregparm=3 -I/us
   r/src/kernels/2.6.15-1.2032_FC5-i686/includ
   e/asm-i386/mach-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-
   statement -Wno-pointer-sign  -I/tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg
   1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscri
   pts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD 
   -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ 
   -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION
   =0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGA
   RT_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KB
   UILD_BASENAME=KBUILD_STR(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia
   )" -c -o /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_os-i
   nterface.o /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-inte
   rface.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:23,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:20,
                    from include/linux/module.h:10,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv-linux.h:47,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/os-interface.c:26:
   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:522,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv-linux.h:71,
                    from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/os-interface.c:26:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:258: warning: wrong type argument to increment
   In file included from /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/os-interface.c:26:
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2: 
   warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c: In
   function ‘os_set_mlock_capability’:
   /tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c:137
   5: error: ‘struct task_struct’ has no member named ‘rlim’
   make[4]: *** [/tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-i
   nterface.o] Error 1
   make[3]: *** [_module_/tmp/selfgz2054/NVIDIA-Linux-x86-1.0-8178-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 nvidia.com.
I read through the log, and it was using the same directory that I had found. I'm beginning to wonder if that NVIDIA driver is compatible with FC5. Or maybe the driver is already built in. When I installed Fedora, it did detect my card as a GeForce FX 5200, whereas the previous versions only showed it as GeForce FX (generic).
 
Old 03-12-2006, 10:10 AM   #9
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
It seems to be a well known kernel problem.
Here a way to install it using some Livna packages (I'm no Livna fan, but their nvidia packages can be usefull.):
http://clunixchit.blogspot.com/2006/...uccessful.html

Last edited by jens; 03-12-2006 at 10:19 AM.
 
Old 03-15-2006, 11:59 PM   #10
waggy401
LQ Newbie
 
Registered: Jan 2005
Location: Merced, CA
Distribution: Red Hat Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
Hey, that worked! Thank you. Fedora just keeps getting better. I can't wait until the final Core 5 comes out and everybody starts supporting it.
 
Old 03-18-2006, 07:55 PM   #11
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
Fedore4 install problem

I like to try Fedora4 but I have problems on installation, media test on the 1st core CD can not pass. I try download few times and burn the iso image in slow speed but still not work.

Bty, where I can download Fedore 5?
 
Old 03-18-2006, 09:21 PM   #12
waggy401
LQ Newbie
 
Registered: Jan 2005
Location: Merced, CA
Distribution: Red Hat Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
Problem installing nvidia driver on FC5

Well, you probably should have started a new thread for this question, but here you go. I don't know why you can't get that CD to burn properly. Use the checksum to verify that it was downloaded properly before burning.

This is where I went to download core 5:
http://mirrors.kernel.org/fedora/cor...4.92/i386/iso/

Check out this web site for other mirrors:
http://fedora.redhat.com/download/mirrors.html
 
Old 03-23-2006, 07:28 PM   #13
Thermodynamic
Member
 
Registered: Apr 2003
Posts: 63

Rep: Reputation: 15
Quote:
Originally Posted by jens
Just install the kernel-devel RPM package (rpm -i kernel-devel*.rpm) that matches your kernel version (should be included with your distro).
I had upgraded to FC5. And ensured kenel-devel was upgraded as well. It will not install for me either.

I've heard some people have had problems.

http://www.nvnews.net/vbulletin/showthread.php?t=62021

Is such a site.

Problem is, going by their instructions, I still can't compile as it claims nvidia.ko is for a different version. (what a joke. And a waste of good ink...)

I'm waiting for nvidia's next official release and not twiddle-twaddle with this nonsense. 2D is good enough.
 
Old 03-23-2006, 08:35 PM   #14
bouchecl
Member
 
Registered: Nov 2005
Location: Quebec
Distribution: Fedora Core / Ubuntu
Posts: 37

Rep: Reputation: 15
Quote:
Originally Posted by Thermodynamic
I had upgraded to FC5. And ensured kenel-devel was upgraded as well. It will not install for me either.

[...]

I'm waiting for nvidia's next official release and not twiddle-twaddle with this nonsense. 2D is good enough.
I hear the kernel gurus have a new kernel in the wings which should be released "real soon now". It should fix the problem with vendor-supplied drivers. In the meantime, have you considered trying the stock nVidia drivers, supplied with the distro?
 
Old 03-23-2006, 09:58 PM   #15
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Quote:
Originally Posted by Thermodynamic
I had upgraded to FC5. And ensured kenel-devel was upgraded as well. It will not install for me either.
I have my nvidia driver working properly with FC5's default kernel.
http://www.mjmwired.net/resources/mj...c5.html#nvidia
 
  


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
FC5 64 Test 3 mouse pointer Nvidia Drivers garbo73 Fedora 7 03-29-2006 04:47 AM
Problem installing nvidia driver! stofferthebest Linux - General 10 03-18-2006 11:54 PM
Shutdown problem after installing nVidia driver Gaspar SUSE / openSUSE 2 02-03-2006 04:47 PM
Problem installing NVidia driver 6629 on linux 2.6.11 punx120 Debian 2 03-03-2005 05:52 AM
Problem after installing nvidia driver RobertoBech Mandriva 3 12-17-2003 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:56 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