LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-05-2004, 11:51 AM   #1
zexter
Member
 
Registered: Oct 2003
Location: Saint Louis, Missouri
Distribution: Mandrake 10 Official
Posts: 210

Rep: Reputation: 30
installing GeForce Fx5200 driver


when i try to install this driver it says " your kernel was configured to include rivafb support as a loadable kernel module"

it also says "the rivafb driver conflicts with the NVIDIA driver"

and then it trys to install but says "unable to build the NVIDIA kernel module"

can someone please help me out here??!!


if this will help here is the nvidia installer log file


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Nov 5 12:20:11 2004

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 : false
no questions : false
silent : false
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /root/tmp
ftp site : ftp://download.nvidia.com

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.
-> Kernel source path: '/lib/modules/2.6.8.1-10mdk/build'
-> Performing cc_version_check with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING: Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
ce.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 *~
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.8.1-10mdk/b
uild SYSOUT=/lib/modules/2.6.8.1-10mdk/build'...
Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!

*** Failed rivafb module sanity check, but continuing! ***


NVIDIA: calling KBUILD...
make -C /lib/modules/2.6.8.1-10mdk/build \
KBUILD_SRC=/usr/src/linux-2.6.8.1-10mdk KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-
pkg1/usr/src/nv" \
-f /usr/src/linux-2.6.8.1-10mdk/Makefile modules
mkdir -p /root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp
_versions
make -f /usr/src/linux-2.6.8.1-10mdk/scripts/Makefile.build obj=/root/tmp/se
lfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz492
4/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/
.nv.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/
usr/src/linux-2.6.8.1-10mdk/include -I/root/tmp/selfgz4924/NVIDIA-Linux-x86
-1.0-6111-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-stri
ct-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -fno
-unit-at-a-time -march=i686 -I/usr/src/linux-2.6.8.1-10mdk/include/asm-i386/
mach-default -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-after-stateme
nt -I/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -
Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -W
pointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-
error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LO
OSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSI
ON=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UD
EBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS
_SIMPLE_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.o /root/tm
p/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion `nv_acpi_event':
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
ror: `PM_SAVE_STATE' undeclared (first use in this function)
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
ror: (Each undeclared identifier is reported only once
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
ror: for each function it appears in.)
make[4]: *** [/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
/nv.o] Error 1
make[3]: *** [_module_/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/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.

Last edited by zexter; 11-05-2004 at 12:26 PM.
 
Old 11-05-2004, 05:28 PM   #2
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Do lsmod as root and see if you have a module called rivafb loaded. If it's in the output of lsmod, remove it with this (as root):
rmmod rivafb
Then try the installer again.

PS: I suggest you keep your messages in the original thread, it helps people keep track of them better.
 
Old 11-06-2004, 12:00 AM   #3
KohlyKohl
Member
 
Registered: Aug 2004
Location: Wausau, WI
Distribution: SuSE Linux Enterprise Desktop 10
Posts: 193

Rep: Reputation: 30
The Rivafb module won't prevent installation and usually doesn't hurt the nvidia drivers when both are being used, its only a sometimes kind of thing. essentially the last lines of your log file show that your source code probley needs to be built or you need to point the nvidia installer to the correct source directory.
p/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion `nv_acpi_event':
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
ror: `PM_SAVE_STATE' undeclared (first use in this function)
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
ror: (Each undeclared identifier is reported only once
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
ror: for each function it appears in.)
make[4]: *** [/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
/nv.o] Error 1
make[3]: *** [_module_/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv] Error 2
Did you install updates and choose not to uninstall the old packages? If so the nvidia installer could be pointing to the wrong kernel source which would cause all those fun errors you see linking the libraries. try pointing to the kernel source that you found previously
nvidia.run -q --kernel-source=/path/to
 
  


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
GeForce FX5200 & VIA Vt8377 - soft lockups with any agp driver ciotog Linux - Hardware 3 09-25-2005 11:45 PM
Nvidia GeForce FX5200 Xserver not starting pinkyponky Linux - Hardware 3 03-17-2005 05:20 PM
geforce fx5200 in suse 9.2 personal Trollop Linux - Newbie 2 02-08-2005 12:38 PM
GeForce FX5200 20 times slower that GeForce4 Ti4200 crack Linux - Hardware 7 12-28-2004 05:47 PM
RADEON 9200 vs GeForce FX5200 bleachie Linux - Hardware 5 03-04-2004 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:56 PM.

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