Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I got serius problem with instalation NVIDIA driver. I downloaded driver form www.nvidia.com. Then i go to the init 3 and start instaling driver. Then i see this error:
WARNING: Your kernel was configured to include rivafb as a loadable kernel module.
The rivafb driver conflicts with the NVIDIA; the NVIDIA kernel module will still be bulit and instaled but be aware that NVIDIA driver will not be able to funcion propely if the rivafb module is loaded.
ERROR
Unable to bulid the NVIDIA kernel module.
Instalation has failed.
I really dont know how to deal with that . I think i need to uninstal rivafb module but im now sure . Pliz help.
You need to recompile the kernel without rivafb support. Theres a kernel compile sticky at top of forum. I recommend doing a make xconfig or make menuconfig if it's your first time.
*edit- the kernel compile sticky is in the slackware forum
the Warning is not the error
you need to show us /var/log/nvidia-installer.log
it said to look at that file
it's a good idea to at least try to figure it out on your own
You need to recompile the kernel without rivafb support.
I dont know how to do this im a newbie .
Here is the Nvida driver instaler log, take a look:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Mar 11 16:15:44 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 : false
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 : /root/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.
-> Kernel source path: '/lib/modules/2.6.12-12mdk/source'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
Having said that you should really know what hardware etc you have to compile properly or you could wreck the system and need a reinstall of the old kernel so be warned.
Hmm i got whole nvidia log now. Just past trought "wrong driver instalation" Pliz take a look:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Mar 13 14:12:35 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 : false
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 : /root/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.
-> Kernel source path: '/lib/modules/2.6.12-12mdk/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.12-12mdk/so
urce SYSOUT=/lib/modules/2.6.12-12mdk/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.12-12mdk/build KBUILD_VERBOSE=1 -C
/lib/modules/2.6.12-12mdk/source SUBDIRS=/root/tmp/selfgz7831/NVIDIA-Linux-x
86-1.0-6629-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.12-12mdk/build \
KBUILD_SRC=/usr/src/linux-2.6.12-12mdk KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/root/tmp/selfgz7831/NVIDIA-Linux-x86-1.0-6629-
pkg1/usr/src/nv" \
-f /usr/src/linux-2.6.12-12mdk/Makefile modules
mkdir -p /root/tmp/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp
_versions
WARNING: Symbol version dump /usr/src/linux-2.6.12-12mdk/Module.symvers
is missing; modules will have no dependencies and modversions.
make -f /usr/src/linux-2.6.12-12mdk/scripts/Makefile.build obj=/root/tmp/sel
fgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz783
1/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/root/tmp/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
.nv.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/inclu
de -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.12-12mdk/include
-I/root/tmp/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wstr
ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestandin
g -O2 -fno-omit-frame-pointer -pipe -mpreferred-stack-boundary=2 -fno-unit-a
t-a-time -march=i686 -I/usr/src/linux-2.6.12-12mdk/include/asm-i386/mach-def
ault -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-poin
ter-sign -I/root/tmp/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -
Wall -Wimplicit -Wreturn-type -W
switch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multich
ar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAME
S -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNE
L__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629
-DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DN
V_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEV
ICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DMO
DULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz7831
/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.o /root/tmp/selfgz7831/NVIDIA-
Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:864,
from /root/tmp/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/us
r/src/nv/nv-linux.h:75,
from /root/tmp/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/us
r/src/nv/nv.c:14:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:253: warning: wrong type argument to increment
/root/tmp/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In func
tion ‘nvidia_init_module’:
/root/tmp/selfgz7831/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/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In func
tion ‘nvidia_exit_module’:
/root/tmp/selfgz7831/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/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In func
tion ‘_get_phys_address’:
/root/tmp/selfgz7831/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/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In func
tion ‘nv_agp_init’:
/root/tmp/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2991: wa
rning: implicit declaration of function ‘inter_module_get’
/root/tmp/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2992: wa
rning: ‘inter_module_put’ is deprecated (declared at include/linux/modul
e.h:568)
make[4]: *** [/root/tmp/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv
/nv.o] Błąd 1
make[3]: *** [_module_/root/tmp/selfgz7831/NVIDIA-Linux-x86-1.0-6629-pkg1/us
r/src/nv] Błąd 2
make[2]: *** [modules] Błąd 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Błąd 1
make: *** [module] Błąd 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.