LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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



Reply
 
Search this Thread
Old 10-02-2004, 03:58 PM   #1
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 223

Rep: Reputation: 30
nvidia installer fails to create nvidia module


I've managed to install the kernel sources now. However the nvidia installer cannot create the nvidia module: this is the error message;

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Oct 2 17:17:33 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: 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.3-4mdkcustom/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.3-4mdkcusto
m/build SYSOUT=/lib/modules/2.6.3-4mdkcustom/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.3-4mdkcustom/build \
KBUILD_SRC=/usr/src/linux-2.6.3-4mdk KBUILD_VERBOSE=1 \
KBUILD_CHECK= -f /usr/src/linux-2.6.3-4mdk/Makefile modules
Using /usr/src/linux-2.6.3-4mdk as source for kernel
if [ -h /usr/src/linux-2.6.3-4mdk/include/asm -o -f /usr/src/linux-2.6.3-4md
k/.config ]; then \
echo " /usr/src/linux-2.6.3-4mdk is not clean, please run 'make mrproper'"
;\
echo " in the '/usr/src/linux-2.6.3-4mdk' directory.";\
/bin/false; \
fi;
/usr/src/linux-2.6.3-4mdk is not clean, please run 'make mrproper'
in the '/usr/src/linux-2.6.3-4mdk' directory.
make[3]: *** [prepare1] Erreur 1
make[2]: *** [modules] Erreur 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Erreur 1
make: *** [module] Erreur 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.

So does the nvidia module exist or not? Startx says it does'nt!

locate nvidia
/home/quenet/NVIDIA-Linux-x86-1.0-4349/usr/X11R6/lib/modules/drivers/nvidia_drv.o
/usr/src/linux-2.6.3-4mdk/.tmp_versions/nvidia-agp.mod
/usr/src/linux-2.6.3-4mdk/drivers/char/agp/nvidia-agp.c
/usr/src/linux-2.6.3-4mdk/drivers/char/agp/nvidia-agp.o
/usr/src/linux-2.6.3-4mdk/drivers/char/agp/.nvidia-agp.o.cmd
/usr/src/linux-2.6.3-4mdk/drivers/char/agp/nvidia-agp.mod.c
/usr/src/linux-2.6.3-4mdk/drivers/char/agp/nvidia-agp.mod.o
/usr/src/linux-2.6.3-4mdk/drivers/char/agp/nvidia-agp.ko
/usr/src/linux-2.6.3-4mdk/drivers/char/agp/.nvidia-agp.ko.cmd
/usr/src/linux-2.6.3-4mdk/drivers/char/agp/.nvidia-agp.mod.o.cmd
/usr/src/linux-2.6.3-4mdk/include/config/agp/nvidia
/usr/src/linux-2.6.3-4mdk/include/config/agp/nvidia/module.h
/lib/modules/2.6.3-4mdk/kernel/drivers/char/agp/nvidia-agp.ko.gz
/lib/modules/2.6.3-4mdkcustom/kernel/drivers/char/agp/nvidia-agp.ko

It goes without saying that I cannot start the nvidia driver...
 
Old 10-02-2004, 04:48 PM   #2
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Try doing these things (as root, and do all of them):
Go to /usr/src/linux-2.6.5-4mdk and do this command:
make mrproper
Do this command:
rmmod rivafb
Then, if rivafb is in /etc/modules or /etc/modprobe.preload, get rid of it.
Then try the installer again.
 
Old 10-03-2004, 02:25 PM   #3
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 223

Original Poster
Rep: Reputation: 30
Thanks, seen that idea elsewhere, did'nt work. Got another suggestion however to append --add-this-kernel to the run file then reexecute the created file...
 
Old 10-04-2004, 04:39 AM   #4
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 223

Original Poster
Rep: Reputation: 30
Installation nvidia okay!

Confirmation of a successful installation;

2.6.3-4mdk Mandrake 10 Ge Force 5600 NVIDIAxxx.~.60111.run

Having installed the kernel sources, somebody noticed that the new kernel had "custom" appended to it's name...

So running the nvidia installation .run file with "--add-this-kernel" appended (no colons) creates a new installation file with the word "custom" inserted. Be patient, it took so long I thought my box had crashed!

Running the newly created file worked for me...
 
  


Reply


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
(EE) NVIDIA(0): Failed to initialize the nvidia kernel module necbrownie Slackware 18 06-16-2006 03:20 AM
Nvidia installer fails Slinky Mandriva 1 03-12-2005 07:24 PM
Nvidia problem - module loads but fails to initialise the adapter MadCactus Mandriva 3 12-14-2004 03:48 PM
'nvidia' module doesn't persist for nVidia GeForce2 DDR card dude_a_b_c Mandriva 8 05-19-2004 03:50 PM
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Stan the caddy Linux - Hardware 8 01-18-2004 05:21 PM


All times are GMT -5. The time now is 04:00 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration