LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-16-2005, 08:58 PM   #1
revoloco
LQ Newbie
 
Registered: Nov 2003
Location: Mexico
Distribution: Slackware, Gentoo
Posts: 7

Rep: Reputation: 0
Problems with nvidia driver and rivafb


I was trying to install the nvidia driver, and during the installation i was told that my kernel is configured to include rivafb support so i cant install the driver. i've been checking some threads and some say to simply ignore the warning, but i cant, after that warning an error appears and the installation is terminated.

Hope you can help me, Thanks!
Here i show you the log:

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Mar 16 20:33:37 2005

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 ? (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.4.29/build'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
ERROR: Your kernel was configured to include rivafb support!
       
       The rivafb driver conflicts with the NVIDIA driver, please
       reconfigure your kernel and *disable* rivafb support, then
       try installing the NVIDIA kernel module again.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.

Last edited by revoloco; 03-21-2005 at 03:14 PM.
 
Old 03-17-2005, 12:15 AM   #2
mio_carpe
Member
 
Registered: Jan 2005
Location: FL, USA
Distribution: Minislack & Gentoo
Posts: 32

Rep: Reputation: 15
you have to compile your kernel and unmark rivafb.o


That's the only safe thing to do. I compile my NVIDIA with it some time ago and it gave me some problems playing dvds and with the flash plugin.

good luck
 
Old 03-17-2005, 12:24 AM   #3
krisealv
Member
 
Registered: Jan 2004
Location: Hareid, Norway
Distribution: Ubuntu
Posts: 111

Rep: Reputation: 15
Red face well..

I've got a couple of unpopular suggestions. Recompile your kernel, this might have something to do with rivafb perhaps beeing compiled into the kernel, either remove it or use it as a module. Get a new precompiled kernel image for your distroeither a newer 2.4 image or a 2.6 image (this might bea waste of time if the configuration is the same) or get a newer distro ;p 2.6 kernels are not that bad, but who am I to judge.

but before you do anything, lsmod for the rivafb module, if it is there, then remove it with modprobe -r rivafb, this is the only quickfix xolution I can see.
 
Old 03-17-2005, 06:30 AM   #4
mio_carpe
Member
 
Registered: Jan 2005
Location: FL, USA
Distribution: Minislack & Gentoo
Posts: 32

Rep: Reputation: 15
krisealv: the conflict is hapenning with rivafb compile as a module. The only way revoloco can install
the NVIDIA driver without any post=problem is taking the module away.
 
Old 03-17-2005, 07:07 AM   #5
krisealv
Member
 
Registered: Jan 2004
Location: Hareid, Norway
Distribution: Ubuntu
Posts: 111

Rep: Reputation: 15
I wonder

wouldn't it bepossible to simply delete the module?

or would nvidia know the diffference?
 
Old 03-17-2005, 07:46 AM   #6
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Re: I wonder

Quote:
Originally posted by krisealv
wouldn't it bepossible to simply delete the module?

or would nvidia know the diffference?
I was thinking about the same thing. To remove the module and then do "depmod -a"
 
Old 03-17-2005, 09:15 AM   #7
revoloco
LQ Newbie
 
Registered: Nov 2003
Location: Mexico
Distribution: Slackware, Gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
I did lsmod but the rivafb module isnt there, so recompile the kernel is the only option?


Code:
Module                  Size  Used by    Not tainted
snd-pcm-oss            36704   0
snd-mixer-oss          12152   0  [snd-pcm-oss]
parport_pc             15044   0
parport                22824   0  [parport_pc]
uhci                   24284   0  (unused)
snd-ens1371            11392   0
gameport                1420   0  [snd-ens1371]
snd-rawmidi            12320   0  [snd-ens1371]
snd-seq-device          3812   0  [snd-rawmidi]
snd-ac97-codec         52472   0  [snd-ens1371]
snd-pcm                54504   0  [snd-pcm-oss snd-ens1371 snd-ac97-codec]
snd-timer              13412   0  [snd-pcm]
snd                    31268   0  [snd-pcm-oss snd-mixer-oss snd-ens1371 snd-rawmidi snd-seq-device snd-ac97-codec snd-pcm snd-timer]
snd-page-alloc          4712   0  [snd-mixer-oss snd-rawmidi snd-seq-device snd-pcm snd-timer snd]
soundcore               3396   6  [snd]
via-rhine              12368   1
mii                     2272   0  [via-rhine]
crc32                   2880   0  [via-rhine]
pcmcia_core            39172   0
ide-scsi                9392   0
usbmouse                1880   0  (unused)
keybdev                 1892   0  (unused)
mousedev                4020   1
hid                    20804   0  (unused)
input                   3200   0  [usbmouse keybdev mousedev hid]
usbcore                58860   1  [uhci usbmouse hid]
agpgart                45092   0  (unused)
 
Old 03-17-2005, 12:28 PM   #8
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
I've installed nvidia many times. I did not recompile the kernel. The riva support is compiled as module in the default kernel, but this should be just a warning, since it's never loaded. I can't think of a reason why you got the problem. Do you have a riva card? Have you recompiled the kernel, with riva support inside the kernel?
Why don't you try to delete the module. The riva module in 10.1 2.4.29 is in:
/lib/modules/2.4.29/kernel/drivers/video/riva/rivafb.o.gz
Remove the whole folder and do /sbin/depmod -a

If something goes wrong, you can still just remove the modules package,
remove /lib/modules/2.4.29 if still present, reinstall the modules package from the cd and do /sbin/depmod -a again.
 
Old 03-17-2005, 01:09 PM   #9
mio_carpe
Member
 
Registered: Jan 2005
Location: FL, USA
Distribution: Minislack & Gentoo
Posts: 32

Rep: Reputation: 15
I been checking around. The new NVIDIA driver have fix the problem:

http://www.nvidia.com/object/linux_d..._1.0-7167.html
 
Old 03-17-2005, 04:01 PM   #10
krisealv
Member
 
Registered: Jan 2004
Location: Hareid, Norway
Distribution: Ubuntu
Posts: 111

Rep: Reputation: 15
aah

this is the reason why I love Linuxquestions and linux

Keep us posted on your progress will you?
 
Old 03-17-2005, 05:14 PM   #11
revoloco
LQ Newbie
 
Registered: Nov 2003
Location: Mexico
Distribution: Slackware, Gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
So I did what perfect_circle said, erased the whole folder in /lib/modules/2.4.29/kernel/drivers/video/riva and the /sbin/depmod -a, the tried again to install the nvidia driver but the same problem appeared, i dont have a riva card, i think that recompiling the kernel will be the only option.
 
Old 03-17-2005, 10:45 PM   #12
mio_carpe
Member
 
Registered: Jan 2005
Location: FL, USA
Distribution: Minislack & Gentoo
Posts: 32

Rep: Reputation: 15
did you try the new driver?
 
Old 03-18-2005, 10:17 AM   #13
revoloco
LQ Newbie
 
Registered: Nov 2003
Location: Mexico
Distribution: Slackware, Gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
Yes i did try the new driver, that is the one that i've been using since the beginning.

Last edited by revoloco; 03-18-2005 at 10:18 AM.
 
Old 03-21-2005, 02:05 PM   #14
revoloco
LQ Newbie
 
Registered: Nov 2003
Location: Mexico
Distribution: Slackware, Gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
So finally i did it, recompiled the kernel, now i have the 2.6.10, and got two problems, i lost sound and tried again to install the nvidia driver, everything was going fine but at the end it says that the nvida module couldnt be built, here is the log file.

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Mar 21 13:51:53 2005

   make[4]: *** No rule to make target `.config'.  Stop.
   make[3]: *** [modules] 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 revoloco; 03-21-2005 at 03:12 PM.
 
Old 03-21-2005, 02:30 PM   #15
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
.config: No such file or directory
Did you make a backup of your kernel configuration file somewhere ?
 
  


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
Nvidia-kernel conflicts with rivafb driver?? LeftyAce Debian 7 11-08-2005 02:41 PM
rivafb error with nvidia howlatnight Linux - Newbie 18 01-14-2005 04:18 PM
rivafb & nvidia drivers in 2.4.26 aje Linux - Software 6 12-05-2004 06:01 PM
Nvidia Driver Install - rivafb driver conflicts rjcmi Debian 5 10-10-2004 11:58 PM
Nvidia driver and Rivafb? sganarelle Slackware 4 08-15-2004 01:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:13 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
Open Source Consulting | Domain Registration