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


                    

Sponsored Ad

Reply
 
Thread Tools
Old 03-21-06, 07:11 AM   #1
duardito
Registered User
 
Join Date: Dec 2004
Posts: 5
Default problems fedora 5 kernel 2.6.16

hi, I have fedora 5 and kernel 2.6.16, I can install latest driver with latest patch, here you can see my log.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Mar 21 12:06:36 2006

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: true
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.
-> Not probing for precompiled kernel interfaces.
-> Performing CC test with CC="cc".
-> Kernel source path: '/lib/modules/2.6.16/source'
-> Kernel output path: '/lib/modules/2.6.16/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.16/source S
YSOUT=/lib/modules/2.6.16/build'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.16/build KBUILD_VERBOSE=1 -C /lib/
modules/2.6.16/source SUBDIRS=/root/nvidia/usr/src/nv modules
make -C /lib/modules/2.6.16/build \
KBUILD_SRC=/usr/src/linux-2.6.16 \
KBUILD_EXTMOD="/root/nvidia/usr/src/nv" -f /usr/src/linux-2.6.16/Makefile mo
dules
mkdir -p /root/nvidia/usr/src/nv/.tmp_versions
make -f /usr/src/linux-2.6.16/scripts/Makefile.build obj=/root/nvidia/usr/sr
c/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/nvidia/usr/sr
c/nv/nv_compiler.h
cc -Wp,-MD,/root/nvidia/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gc
c/x86_64-redhat-linux/4.1.0/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr
/src/linux-2.6.16/include -include include/linux/autoconf.h -I/root/nvidia/
usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-alia
sing -fno-common -ffreestanding -Os -fomit-frame-pointer -g -march=k8 -m64 -
mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fn
o-asynchronous-unwind-tabl
es -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wdeclaration-aft
er-statement -Wno-pointer-sign -I/root/nvidia/usr/src/nv -Wall -Wimplicit -
Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ari
th -Wno-multichar -Werror -O -fno-common -mno-red-zone -minline-all-stringop
s -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KER
NEL__ -DMODULE -mcmodel=kernel -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSIO
N=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV
_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"K
BUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUIL
D_STR(nvidia)" -c -o /root/nvidia/usr/src/nv/.tmp_nv.o /root/nvidia/usr/src/
nv/nv.c
In file included from include/linux/sched.h:15,
from include/linux/module.h:10,
from /root/nvidia/usr/src/nv/nv-linux.h:47,
from /root/nvidia/usr/src/nv/nv.c:14:
include/linux/cpumask.h: En la función ‘__first_cpu’:
include/linux/cpumask.h:218: aviso: tipos signed y unsigned en la expresión
condicional
include/linux/cpumask.h: En la función ‘__next_cpu’:
include/linux/cpumask.h:224: aviso: tipos signed y unsigned en la expresión
condicional
In file included from include/linux/sched.h:17,
from include/linux/module.h:10,
from /root/nvidia/usr/src/nv/nv-linux.h:47,
from /root/nvidia/usr/src/nv/nv.c:14:
include/linux/nodemask.h: En la función ‘__first_node’:
include/linux/nodemask.h:229: aviso: tipos signed y unsigned en la expresió
n condicional
include/linux/nodemask.h: En la función ‘__next_node’:
include/linux/nodemask.h:235: aviso: tipos signed y unsigned en la expresió
n condicional
include/linux/nodemask.h: En la función ‘__first_unset_node’:
include/linux/nodemask.h:253: aviso: tipos signed y unsigned en la expresió
n condicional
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /root/nvidia/usr/src/nv/nv-linux.h:47,
from /root/nvidia/usr/src/nv/nv.c:14:
include/linux/prefetch.h: En la función ‘prefetch_range’:
include/linux/prefetch.h:62: aviso: se usó un puntero de tipo ‘void *’
en la aritmética
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /root/nvidia/usr/src/nv/nv-linux.h:71,
from /root/nvidia/usr/src/nv/nv.c:14:
include/asm/io.h: En la función ‘check_signature’:
include/asm/io.h:308: aviso: argumento de tipo erróneo para el incremento
In file included from include/asm/pci.h:93,
from include/linux/pci.h:648,
from /root/nvidia/usr/src/nv/nv-linux.h:71,
from /root/nvidia/usr/src/nv/nv.c:14:
include/asm-generic/pci-dma-compat.h: En la función ‘pci_map_page’:
include/asm-generic/pci-dma-compat.h:49: aviso: se usó un puntero de tipo � void *’ en la aritmética
In file included from include/linux/compat.h:15,
from include/asm/mtrr.h:28,
from /root/nvidia/usr/src/nv/nv-linux.h:103,
from /root/nvidia/usr/src/nv/nv.c:14:
include/asm/compat.h: En la función ‘compat_alloc_user_space’:
include/asm/compat.h:202: aviso: se usó un puntero de tipo ‘void *’ en
la aritmética
En el fichero incluído de /root/nvidia/usr/src/nv/nv.c:14:
/root/nvidia/usr/src/nv/nv-linux.h:535:2: error: #error "vmap() appears to b
e unavailable in this kernel!"
/root/nvidia/usr/src/nv/nv-linux.h:677:2: aviso: #warning "conftest.sh faile
d, assuming remap_page_range(4)!"
/root/nvidia/usr/src/nv/nv.c: En el nivel principal:
/root/nvidia/usr/src/nv/nv.c:296: aviso: inicialización desde un tipo de pu
ntero incompatible
/root/nvidia/usr/src/nv/nv.c: En la función ‘nvos_get_agp_device_by_class
’:
/root/nvidia/usr/src/nv/nv.c:502: aviso: declaración implícita de la funci
ón ‘pci_find_class’
/root/nvidia/usr/src/nv/nv.c:502: aviso: la asignación crea un puntero desd
e un entero sin una conversión
/root/nvidia/usr/src/nv/nv.c:516: aviso: la asignación crea un puntero desd
e un entero sin una conversión
/root/nvidia/usr/src/nv/nv.c: En la función ‘nv_kern_vma_nopage’:
/root/nvidia/usr/src/nv/nv.c:1640: error: ‘mem_map’ undeclared (first us
e in this function)
/root/nvidia/usr/src/nv/nv.c:1640: error: (Each undeclared identifier is rep
orted only once
/root/nvidia/usr/src/nv/nv.c:1640: error: for each function it appears in.)
/root/nvidia/usr/src/nv/nv.c: En la función ‘nv_kern_mmap’:
/root/nvidia/usr/src/nv/nv.c:2014: aviso: declaración implícita de la func
ión ‘remap_page_range’
/root/nvidia/usr/src/nv/nv.c: En la función ‘nvos_count_devices’:
/root/nvidia/usr/src/nv/nv.c:3676: aviso: la asignación crea un puntero des
de un entero sin una conversión
/root/nvidia/usr/src/nv/nv.c:3682: aviso: la asignación crea un puntero des
de un entero sin una conversión
make[4]: *** [/root/nvidia/usr/src/nv/nv.o] Error 1
make[3]: *** [_module_/root/nvidia/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.
duardito is offline   Reply With Quote
Old 03-21-06, 12:51 PM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: problems fedora 5 kernel 2.6.16

See:
http://www.nvnews.net/vbulletin/showthread.php?t=66690
and
http://www.nvnews.net/vbulletin/showthread.php?t=62021
netllama is offline   Reply With Quote

Sponsored Ads - Guests Only

Old 03-21-06, 02:07 PM   #3
loening
loening
 
Join Date: Mar 2006
Location: California, USA
Posts: 1
Default Re: problems fedora 5 kernel 2.6.16

You should be able to get things working by following the threads that netllama posted to.

In brief:

1) The initial kernel supplied by FC5 has a known problem in the build. You'll need to update your kernel. I used kernel-2.6.16-1.2064_FC5 (and the corresponding kernel-devel), available at http://people.redhat.com/davej/kernels/Fedora/FC5/

2) You'll need to patch the NVIDIA 8178 package (at least if you're running x86_64 like I am). Go to the thread at http://www.nvnews.net/vbulletin/showthread.php?t=62021. The first patch in the thread (NVIDIA_kernel-1.0-8178-U012206.diff.txt) is a summation of all the rest of the patches in the thread, so you'll only need that one. Follow the directions in the thread, and you should be done.

Last edited by loening; 03-21-06 at 06:06 PM.
loening is offline   Reply With Quote
Old 03-21-06, 05:27 PM   #4
dwill525
Registered User
 
Join Date: Feb 2006
Posts: 1
Default Re: problems fedora 5 kernel 2.6.16

I have the 2.6 kernel running and have installed the .src RPM but the install still tells me 'unable to find kernel source tree' any ideas or pointers appreciated!
dwill525 is offline   Reply With Quote
Old 03-21-06, 05:33 PM   #5
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: problems fedora 5 kernel 2.6.16

You need the kernel-devel RPM.

-Lonni
netllama is offline   Reply With Quote
Old 03-22-06, 04:31 AM   #6
duardito
Registered User
 
Join Date: Dec 2004
Posts: 5
Default Re: problems fedora 5 kernel 2.6.16

nothing, I have applied first patch to driver and it finish to compile drivers, and when I try to startx, it says" unable to load nvidia and glx , failed to load submodule.

I still use kernek 2.6.16 compiled by me and driver 8178
duardito is offline   Reply With Quote
Old 03-22-06, 04:40 AM   #7
Spyke
Foxie
 
Spyke's Avatar
 
Join Date: Aug 2004
Location: Canada
Posts: 568
Send a message via AIM to Spyke Send a message via MSN to Spyke Send a message via Yahoo to Spyke
Default Re: problems fedora 5 kernel 2.6.16

Quote:
Originally Posted by duardito
nothing, I have applied first patch to driver and it finish to compile drivers, and when I try to startx, it says" unable to load nvidia and glx , failed to load submodule.

I still use kernek 2.6.16 compiled by me and driver 8178
Submodule? Sounds like an XOrg issue to me....

Edit: just reading another thread with a post from kremit that nvidia installer wont know about the paths of the installed X server if your missing some package config file (.pc) so you have to tell it where it is...

./nvidia-installer -n --x-prefix=/usr --x-module-path=/usr/lib/xorg/modules
__________________
Desktop:
Intel I7 920 D0 @ 4GHz | ASUS Rampage II Extreme | EVGA GTX 280 HC16 @ 700/2430 | Lian-Li V1200B | Corsair HX1000W
EK NB ASUS HC-AC | Watercool HeatKiller 3.0 | Feser Extreme X-360 | 2x300GB Velociraptor RAID1 | 4x1000GB ES.2 RAID10
12GB Corsair Dominator @ 8-8-8-24-1T DDR3-1600 | Auzentech X-Fi Forte | Pioneer DVR-212D | Gentoo Linux
Dell 3008WFP | JohnBlue JB3 | CityPulse DA2.03e II DAC | KingRex T20U w/ Modded Auricaps & PSU
Server:
4x Opteron 8356 (16 cores) @ 2.3GHz | Supermicro H8QMi-2 | Supermicro 2U Chassis | Dual 1200W PSU's
32GB 2GBx16 DDR2-667 ECC | 4x 300GB Cheetah RAID10 HardRAID | 1GbE Cogent Uplink | Colocated | Gentoo
Spyke is offline   Reply With Quote
Old 03-22-06, 08:02 AM   #8
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,573
Default Re: problems fedora 5 kernel 2.6.16

I believe Fedora Core 5 ships with an xorg-x11-server-sdk package that, when installed, will provile the .pc file `nvidia-installer` needs to determine where to install the NVIDIA X driver modules.
zander is online now   Reply With Quote
Old 03-22-06, 12:15 PM   #9
nigham
Registered User
 
Join Date: Mar 2006
Posts: 3
Default Re: problems fedora 5 kernel 2.6.16

I still can't manage to get the driver installed. Followed the following steps:

1. Installed xorg-x11-server-sdk through yum.
2. Download and installed kernel-2.6.16-1.2069_FC5 and kernel-devel-2.6.16-1.2069_FC5 (these are the only kernel in my system now, rpm -qa | grep kernel only gives these two)
3. Patched the nvidia driver and ran ./nvidia-installer -n
4. The driver installation ran fine and told me the driver was installed and configuration file made.

X how ever refuses to startup. Says refuses to load glx, nvidia modules. Xorg.0.log attached.

Output of...

$ modprobe nvidia
FATAL: Module nvidia_1_0_8178 not found.

$dmesg | grep nvidia
nvidia: module license 'NVIDIA' taints kernel.

$find /lib/modules/2.6.16-1.2069_FC5/ -type f -iname nvidia.ko
/lib/modules/2.6.16-1.2069_FC5/kernel/drivers/video/nvidia.ko
Attached Files
File Type: log Xorg.0.log (11.3 KB, 322 views)
nigham is offline   Reply With Quote
Old 03-22-06, 12:24 PM   #10
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,573
Default Re: problems fedora 5 kernel 2.6.16

$ modprobe nvidia
FATAL: Module nvidia_1_0_8178 not found.


The NVIDIA installer neither installs nor requires such an alias, chances are you inherited from distribution specific NVIDIA graphics driver packages; removing this alias from your `modprobe` configuration file should resolve this module load failure.
zander is online now   Reply With Quote
Old 03-22-06, 07:36 PM   #11
duardito
Registered User
 
Join Date: Dec 2004
Posts: 5
Default Re: problems fedora 5 kernel 2.6.16

problem solved, thanks to all.

solution:
kernel 2.6.16 compiled by me

driver 8178 with first patch of this link.

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

you must have xorg-x11-server-sdk.

and then install like always.
that´s all.

thanks.
duardito is offline   Reply With Quote
Old 03-23-06, 12:03 AM   #12
nigham
Registered User
 
Join Date: Mar 2006
Posts: 3
Default Re: problems fedora 5 kernel 2.6.16

Quote:
Originally Posted by zander
$ modprobe nvidia
FATAL: Module nvidia_1_0_8178 not found.


The NVIDIA installer neither installs nor requires such an alias, chances are you inherited from distribution specific NVIDIA graphics driver packages; removing this alias from your `modprobe` configuration file should resolve this module load failure.
OK, the module load failure is resolved using this, but X still fails to start. I still get the "taints kernel" in dmesg, and pretty much the same X errors.
nigham is offline   Reply With Quote
Reply




Shop Online


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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




All times are GMT -4. The time now is 02:48 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
nV News - Copyright ©1998-2010. All rights reserved.