Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 06-07-2005, 05:00 AM   #1
LQ Newbie
Registered: Jun 2005
Distribution: Mandriva LE2005
Posts: 5

Rep: Reputation: 0
NVIDIA Mandriva LE 2005 Make Errors +log Please help

Hello guys and girls. I have a nvidia build problem, hopefully someone can help. I followed all the steps in the nVidia documentation all to see a make error. Take a look at my log file and please help!

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
-> 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.11-6mdk/source'
-> Performing CC test 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 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 -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.11-6mdk/sou
rce SYSOUT=/lib/modules/2.6.11-6mdk/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 CC=cc KBUILD_OUTPUT=/lib/modules/2.6.11-6mdk/build KBUILD_VERBOSE=1 -C
/lib/modules/2.6.11-6mdk/source SUBDIRS=/root/tmp/selfgz8469/NVIDIA-Linux-x8
6-1.0-6629-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.11-6mdk/build \
KBUILD_SRC=/usr/src/linux-2.6.11-6mdk KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-
pkg1/usr/src/nv" \
-f /usr/src/linux-2.6.11-6mdk/Makefile modules
mkdir -p /root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp
make -f /usr/src/linux-2.6.11-6mdk/scripts/ obj=/root/tmp/self
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz846
cc -Wp,-MD,/root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
.nv.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/includ
e -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/include -I
/root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wstric
t-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding
-O2 -fno-omit-frame-pointer -pipe -mpreferred-stack-boundary=2 -fno-unit-at-
a-time -march=i686 -I/usr/src/linux-2.6.11-6mdk/include/asm-i386/mach-defaul
t -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -I/root/tmp
/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wret
urn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -
Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_
-DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629
-pkg1/usr/src/nv/nv.o /root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/us
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/us
from /root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/us
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
/root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In func
tion `nvidia_init_module':
/root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:930: war
ning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In func
tion `nvidia_exit_module':
/root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:1051: wa
rning: `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
/root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In func
tion `_get_phys_address':
/root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2509: er
ror: request for member `pgd' in something not a structure or union
/root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In func
tion `nv_agp_init':
/root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2992: wa
rning: `inter_module_put' is deprecated (declared at include/linux/module.h:
make[4]: *** [/root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv
/nv.o] Error 1
make[3]: *** [_module_/root/tmp/selfgz8469/NVIDIA-Linux-x86-1.0-6629-pkg1/us
r/src/nv] Error 2
make[2]: *** [modules] Error 2
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

Last edited by Damatie; 06-07-2005 at 07:07 PM.
Old 06-08-2005, 01:58 PM   #2
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
from a brief look it says that rivafb (module) is loaded and will conflict with your new driver your trying to install. use 'lsmod' to list the modules currently loaded and look for rivafb. then look at the man page for rmmod and/or modprobe to see how to it works to remove it
# modprobe -r <moduleName>
# rmmod <moduleName>
try the modprobe one first, im under the impression that this command is the safer route.
maybe more problems will arise, or maybe there already is more in the log, i didnt read it. i just briefly glanced and saw problems with rivafb many times. so, try to remove it and install the nvidia one. if it works, youll have to prevent rivafb from being loaded on boot.. which can probably be done by commenting out (putting a '#' at the beginning of a line) the line that loads it in one of the /etc/rc.d/ files... check them out and search for rivafb and try and comment it out, or post the sections that have rivafb in it.


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
Unusual Boot errors on Mandriva 2005 LE. duffmckagan Mandriva 4 10-20-2005 03:53 AM
Mandriva 2005,cannot install nvidia driver with geforce 6200 idagon Mandriva 1 09-23-2005 11:43 PM
Errors with BitTornado on Mandriva 2005 DDRfreak2 Mandriva 8 08-12-2005 10:44 PM
Kernel Ooops with Nvidia Drivers on Mandriva LE 2005 Aaack Mandriva 15 07-25-2005 02:38 AM
installing nvidia driver in mandriva 2005? greythorne Mandriva 4 05-23-2005 06:10 AM

All times are GMT -5. The time now is 04:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration