Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-27-07, 11:22 AM   #1
SebKaine
Registered User
 
Join Date: Apr 2006
Posts: 17
Default [Resolve] 7900 GS + FC 6 32bits

Hi !

i've got this error ! ERROR: Unable to find the kernel source tree for the currently running kernel.

all the instruction from this post are Done ! http://www.nvnews.net/vbulletin/showthread.php?t=72490
- kernel-devel 2.6.19 install !
- xorg-x11-server-sdk install !
- pkgconfig install !
- SElinux disable !
- yum update done !

My specs are
- 7900 GS - pcie
- core 2 duo e6300
- gygabyte 965p - DS3

My distro is Fedora Core 6 32 bits

My nvidia Log :

Quote:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jan 27 16:59:04 2007

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: 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".
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' or 'kernel-devel' RPM
installed.
= I'm sure it is install If you know the correct kernel source files are installed,
you may specify the kernel source path with the '--kernel-source-path' = don't know about this , i enter "--kernel-source-path'" in the search engine with no reply
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 www.nvidia.com.
thanks for your help !

Last edited by SebKaine; 01-27-07 at 07:56 PM.
SebKaine is offline   Reply With Quote
Old 01-27-07, 12:13 PM   #2
SebKaine
Registered User
 
Join Date: Apr 2006
Posts: 17
Default Re: [PB] 7900 GS + FC 6 32bits

with this
Code:
sh NVIDIA-Linux-x86-1.0-9746-pkg1.run --kernel-source-path=/usr/src/kernels/2.6.19-1.2895.fc6-i686
the driver find the source ! it began to install ... until a new error : ERROR: Unable to load the kernel module 'nvidia.ko'. !

now my log file is kinda Mystical :

Quote:
-> 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".
-> Using the kernel source path '/usr/src/kernels/2.6.19-1.2895.fc6-i686' as
specified by the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/kernels/2.6.19-1.2895.fc6-i686'
-> Kernel output path: '/usr/src/kernels/2.6.19-1.2895.fc6-i686'
-> 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 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
rm -f Makefile
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/kernels/2.6.19-1.28
95.fc6-i686 SYSOUT=/usr/src/kernels/2.6.19-1.2895.fc6-i686'...
sh ./conftest.sh "cc" "cc" /usr/src/kernels/2.6.19-1.2895.fc6-i686 /usr/src/
kernels/2.6.19-1.2895.fc6-i686 cc_sanity_check full_output
sh ./conftest.sh "cc" "cc" /usr/src/kernels/2.6.19-1.2895.fc6-i686 /usr/src/
kernels/2.6.19-1.2895.fc6-i686 select_makefile full_output
make --no-print-directory -f Makefile module

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/kernels/2.6.19-1.2895.fc6-i686 SUBD
IRS=/tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv 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/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/.tmp_vers
ions
rm -f /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/.tmp_version
s/*
make -f scripts/Makefile.build obj=/tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz3344/NVI

....


In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
/nv/os-interface.c:26:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: attention : pointer of type ‘void *’ used i
n arithmetic
cc -Wp,-MD,/tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/.os-r
egistry.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Ws
trict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-pr
ototypes -Wundef -Werror-implicit-function-declaration -Os -pipe -msoft-floa
t -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stac
k-boundary=2 -march=i686 -mtune=generic -mtune=generic -mregparm=3 -ffreest
anding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_F
RAME=1 -Iin
clude/asm-i386/mach-generic -Iinclude/asm-i386/mach-default -fomit-frame-poi
nter -fasynchronous-unwind-tables -g -fno-stack-protector -Wdeclaration-aft
er-statement -Wno-pointer-sign -I/tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-p
kg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subsc
ripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common
-msoft-float -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_K
ERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VE
RSION=0 -DNV_PATCHLEVEL=9746 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_R
LIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYS
CTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PR
ESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_R
EMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -D
MODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)" -D"
KBUILD_MODNAME=KBUILD_STR(nvidia)"
-c -o /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/.tmp_os-regi
stry.o /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/os-registry
.c
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
/nv/os-registry.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: attention : pointer of type ‘void *’ used i
n arithmetic
cc -Wp,-MD,/tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/.nv-i
2c.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -D__
KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstric
t-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-comm
on -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os -pi
pe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -m
preferred-stack-boundary=2 -march=i686 -mtune=generic -mtune=generic -mregp
arm=3 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_A
S_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-generic -Iinclude/asm-i386/mach
-default -fomit-frame-pointer -fasynchronous-unwind-tables -g -fno-stack-pr
otector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz3344/NV
IDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswi
tch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar
-Werror -O -fno-common -msoft-float -MD -Wsign-compare -Wno-cast-q
ual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJO
R_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9746 -UDEBUG -U_DEBUG -DND
EBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_G
ET_CLASS_PRESENT -DNV_SYSCTL_MAX_MA
P_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV
_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_R
ANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"
KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=
KBUILD_STR(nvidia)" -c -o /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr
/src/nv/.tmp_nv-i2c.o /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
/nv/nv-i2c.c
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src
/nv/nv-i2c.c:8:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: attention : pointer of type ‘void *’ used i
n arithmetic
ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-974
6-pkg1/usr/src/nv/nvidia.o /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/us
r/src/nv/nv-kernel.o /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/
nv/nv.o /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv-vm.o /t
mp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/os-agp.o /tmp/selfgz
3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/os-interface.o /tmp/selfgz334
4/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/os-registry.o /tmp/selfgz3344/NV
IDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv-i2c.o
Building modules, stage 2.
make -f /usr/src/kernels/2.6.19-1.2895.fc6-i686/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/kernels/2.6.19-1.2895.fc6-i686/Modul
e.symvers -I /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/Modul
e.symvers -o /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/Modul
e.symvers -w /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nvid
ia.o
WARNING: could not find /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/s
rc/nv/.nv-kernel.o.cmd for /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/us
r/src/nv/nv-kernel.o
cc -Wp,-MD,/tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/.nvid
ia.mod.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Ws
trict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-pr
ototypes -Wundef -Werror-implicit-function-declaration -Os -pipe -msoft-floa
t -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stac
k-boundary=2 -march=i686 -mtune=generic -mtune=generic -mregparm=3 -ffreest
anding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_F
RAME=1 -Iinclude/asm-i386/mach-generic -Iinclude/asm-i386/mach-default -fomi
t-frame-pointer -fasynchronous-unwind-tables -g -fno-stack-protector -Wdecl
aration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_
BASENAME=KBUILD_STR(nvidi
a.mod)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -DMODULE -c -o /tmp/selfgz334
4/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nvidia.mod.o /tmp/selfgz3344/NVI
DIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nvidia.mod.c
ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746
-pkg1/usr/src/nv/nvidia.ko /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/us
r/src/nv/nvidia.o /tmp/selfgz3344/NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/
nvidia.mod.o
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Invalid module format
-> Kernel messages:
Mobile IPv6
ip6_tables: (C) 2000-2006 Netfilter Core Team
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (8183 buckets, 65464 max) - 232 bytes per conntrack
process `sysctl' is using deprecated sysctl (syscall)
net.ipv6.neigh.lo.base_reachable_time; Use
net.ipv6.neigh.lo.base_reachable_time_ms instead.
sky2 eth0: enabling interface
ADDRCONF(NETDEV_UP): eth0: link is not ready
sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Bluetooth: Core ver 2.11
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
eth0: no IPv6 routers present
hdf: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdf: drive_cmd: error=0x04 { DriveStatusError }
ide: failed opcode was: 0xb0
nvidia: version magic '2.6.19-1.2895.fc6 SMP mod_unload 686 REGPARM 4KSTACKS
' should be '2.6.19-1.2895.fc6 SMP mod_unload 586 REGPARM 4KSTACKS '
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.
SebKaine is offline   Reply With Quote
Old 01-27-07, 02:46 PM   #3
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: [PB] 7900 GS + FC 6 32bits

nvidia: version magic '2.6.19-1.2895.fc6 SMP mod_unload 686 REGPARM 4KSTACKS' should be '2.6.19-1.2895.fc6 SMP mod_unload 586 REGPARM 4KSTACKS '

The kernel development files you built the NVIDIA kernel module against do not match the running kernel; this and the fact that you had to use the --kernel-source-path command line option (which is very rarely needed) suggest that you don't have the correct kernel development files installed.
zander is offline   Reply With Quote
Old 01-27-07, 06:29 PM   #4
SebKaine
Registered User
 
Join Date: Apr 2006
Posts: 17
Default Re: [PB] 7900 GS + FC 6 32bits

Thanks for your help zander !

My god i finally make this crazy driver working. I completely reinstall Fedora , i've excatly follow the instruction. Then i had to install GCC. the big difference i think i that i don't make the link with the livna library for the yum update . Moreover i don't use the gnome default add /removes packages, i replace it by yumex.

Your answer give me the solution, cause i was sure that all was correctly install. So it was one of the package that i've install that NVIDIA drivers doesn't like.
SebKaine is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with drivers after 295.40 (OpenSuSE 12.1, GeFroce 7900 GS, Phenom II X4) alawa NVIDIA Linux 0 06-09-12 07:37 PM

All times are GMT -5. The time now is 10:27 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.