LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-08-2007, 07:05 PM   #1
vwr0527
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Rep: Reputation: 0
Installing nvidia drivers, *** Failed rivafb sanity check. Bailing out! ***


Hey guys. I have a Geforce440MX and i'm trying to install the nvidia drivers the DEBIAN WAY (woooooow).

some info:
Distro is Debian (etch)
Kernel:2.6.18-4-686


I'm trying to get the nvidia drivers to work, since the automatic installer doesn't do jack nor sh.t. Anyway, after downloading nvidia-kernel-source version 1.0.8776-4, and then installing my linux-headers or whatever thier called,
I'm following these directions from /usr/share/doc/nvidia-kernel-source/README.Debian, and i get to to the part where it says
Code:
blah blah...
5. Then build nvidia-kernel package:

   cd <YOUR BUILD LOCATION>/modules/nvidia-kernel
   debian/rules binary_modules
Then I go to a root terminal, and do that. DUN DUN DUUH
Code:
make[1]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
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.

*** Failed rivafb sanity check. Bailing out! ***

echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > nv_compiler.h
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpare ntheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -U_DEBUG  -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -DNVRM -DDYNAMI C_SLI  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8776  -DNV_CHAN GE_PAGE_ATTR_PRESENT  -I. -I/usr/src/linux-headrs-2.6.18-4-686/include -Wsign-co mpare -Wno-cast-qual -Wno-error nv.c
In file included from /usr/include/asm-generic/bitops/fls64.h:5,
                 from /usr/include/asm-i486/bitops.h:408,
                 from /usr/include/asm/bitops.h:8,
                 from /usr/include/linux/bitops.h:9,
                 from /usr/include/linux/kernel.h:15,
                 from nv-linux.h:50,
                 from nv.c:14:
/usr/include/asm-generic/bitops/fls.h:13: error: redefinition of ‘fls’

...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~HOLY CRAP MORE THAN 25000 LINES OF ERRORS~~~~~~~~~~
...

nv.c:3300: error: ‘CONFIG_PAGE_OFFSET’ undeclared (first use in this function)
nv.c: In function ‘nv_agp_init’:
nv.c:3714: error: too few arguments to function ‘agp_backend_acquire’
nv.c:3716: error: too few arguments to function ‘agp_backend_release’
nv.c: In function ‘nvos_count_devices’:
nv.c:3825: warning: assignment makes pointer from integer without a cast
nv.c:3831: warning: assignment makes pointer from integer without a cast
nv.c:3834: warning: assignment makes pointer from integer without a cast
nv.c:3840: warning: assignment makes pointer from integer without a cast
make[1]: *** [nv.o] Error 1
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
make: *** [build-stamp] Error 2
victor:/usr/src/modules/nvidia-kernel#
what now?

Last edited by vwr0527; 06-08-2007 at 07:10 PM.
 
Old 06-08-2007, 07:18 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Did you try doing it the "other" Debian way, using module-assistant? http://wiki.debian.org/NvidiaGraphicsDrivers
 
Old 06-08-2007, 07:27 PM   #3
vwr0527
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Yurp.
Tried that too. Didn't work.

EDIT: I got it to work, after about 4 weeks. Just remember, follow the instructions in the description box in synaptic for nvidia-kernel-source package, and in the end of your /etc/X11/xorg.conf add this block
Code:
Section "Extensions"
	Option "AllowGLXWithComposite" "true"
EndSection

Last edited by vwr0527; 06-08-2007 at 09:26 PM.
 
Old 06-15-2007, 06:04 AM   #4
Tomermory
Member
 
Registered: Mar 2007
Location: Amiens, France
Distribution: Debian Etch,
Posts: 181

Rep: Reputation: 30
Here is a page that I found very useful. Perhaps you could check it out:

http://wiki.debian.org/NvidiaGraphicsDrivers#Libraries
 
  


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
FC4 /lib/cpp failed sanity check cwynn Fedora 2 11-07-2005 12:35 PM
nvidia drivers, gcc-version-check failed Seiken Slackware 26 02-25-2005 09:50 PM
sanity check failed for g++ pablovschby Programming 2 11-08-2004 02:39 AM
Installing latest nVidia drivers in Mandrake 10. rivafb error? Pumaman Linux - Hardware 4 07-09-2004 07:04 PM
Failed sanity check in fluxbox ./configure scuzzman Linux - Newbie 6 06-20-2004 10:26 PM

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

All times are GMT -5. The time now is 04:01 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