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

Notices


Reply
  Search this Thread
Old 11-05-2004, 02:12 PM   #1
zexter
Member
 
Registered: Oct 2003
Location: Saint Louis, Missouri
Distribution: Mandrake 10 Official
Posts: 210

Rep: Reputation: 30
mandrake 10.1 and GeForce FX 5200 PROBLEM!!


im trying to install the driver for my GeForce FX 5200 but im having some problems...

first i couldnt install it because i didnt have the kernel source installed, then i got that installed and now im gettin these errors

"your kernel was configured to include rivafb support as a loadable kernel module"
and
"the ruvafb driver conflicts with the NVIDIA driver"

then it starts to install and right at around 83% it says
"unable to build the NVIDIA kernel module"


heres the log if itll help


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Nov 5 12:20:11 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: 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.6.8.1-10mdk/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.8.1-10mdk/b
uild SYSOUT=/lib/modules/2.6.8.1-10mdk/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.8.1-10mdk/build \
KBUILD_SRC=/usr/src/linux-2.6.8.1-10mdk KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-
pkg1/usr/src/nv" \
-f /usr/src/linux-2.6.8.1-10mdk/Makefile modules
mkdir -p /root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp
_versions
make -f /usr/src/linux-2.6.8.1-10mdk/scripts/Makefile.build obj=/root/tmp/se
lfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz492
4/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/
.nv.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/
usr/src/linux-2.6.8.1-10mdk/include -I/root/tmp/selfgz4924/NVIDIA-Linux-x86
-1.0-6111-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-stri
ct-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -fno
-unit-at-a-time -march=i686 -I/usr/src/linux-2.6.8.1-10mdk/include/asm-i386/
mach-default -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-after-stateme
nt -I/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -
Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -W
pointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-
error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LO
OSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSI
ON=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UD
EBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS
_SIMPLE_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.o /root/tm
p/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion `nv_acpi_event':
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
ror: `PM_SAVE_STATE' undeclared (first use in this function)
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
ror: (Each undeclared identifier is reported only once
/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
ror: for each function it appears in.)
make[4]: *** [/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
/nv.o] Error 1
make[3]: *** [_module_/root/tmp/selfgz4924/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv] 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.


-should i just install mandrake 10 instead of 10.1?

-thank you

Last edited by zexter; 11-05-2004 at 02:37 PM.
 
Old 11-05-2004, 05:05 PM   #2
Error1312
Member
 
Registered: Feb 2004
Location: Belgium
Distribution: Ubuntu 10.04 Lucid Lynx
Posts: 140

Rep: Reputation: 15
Maybe you should try uninstalling the ruvafb driver. Don't exactly know how to do that though. You can try a Google search for it.
 
Old 11-05-2004, 05:22 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
According to this post: http://www.nvnews.net/vbulletin/show...28&postcount=9
"PM_SAVE_STATE is no longer defined in kernels > 2.6.8"

Code:
There is a Nvidia kernel module problem with kernels later than 2.6.8.1
 it is easily fixed... It? a change in the PM_SAVE_STATE being removed or
 functionality swallowed. From newer kernels. The nvidia installer uses
 it for a little used power save. This is a quick dirty fix.
 
 This is tested with 6111 and 6110 for amd64
 
 Extract the nvidia.run package with -x option, then edit <nvidia
 source>/usr/src/nv/nv.c
 
 switch (state)
 {
 /* PM_SAVE_STATE is no longer defined in kernels > 2.6.8 needed
 to compile nvidia module so we nuke it. 
 case PM_SAVE_STATE:
 nv_printf(NV_DBG_INFO, "NVRM: ACPI: received standby
 event\n");
 status = rm_power_management(nv, 0, NV_PM_ACPI_STANDBY);
 break; */
 
Old 11-05-2004, 06:14 PM   #4
zexter
Member
 
Registered: Oct 2003
Location: Saint Louis, Missouri
Distribution: Mandrake 10 Official
Posts: 210

Original Poster
Rep: Reputation: 30
can someone please explain the above post and let me know what i need to do?




-thanks in advance
 
Old 11-05-2004, 07:23 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
run the nvidia installer program with the -x option. This will extract and keep the source code and then exit. Enter into the created directory and cd to usr/src/nv .
This is where the file you need to change, nv.c, is located. The author of the post I referred to in my original response (see link in above post) commented out the relevent section in the nv.c file. The '/* .. */' pair removes this code, by converting it into comments.
I printed the changes in bold type for you.

Make sure you are in run level 3 (not x-windows) when you run the installation. Now run the nvidia-install program inside the folder. Hopefully no other errors will pop up.

switch (state)
{
/* PM_SAVE_STATE is no longer defined in kernels > 2.6.8 needed
to compile nvidia module so we nuke it.

case PM_SAVE_STATE:
nv_printf(NV_DBG_INFO, "NVRM: ACPI: received standby
event\n");
status = rm_power_management(nv, 0, NV_PM_ACPI_STANDBY);
break; */
 
Old 11-05-2004, 08:48 PM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
As a side note, the Official release has a wonderful set of Mandrakified RPM's that fully support the Nvidia chipsets under 10.1.

Someone should post these to a repository or download site to help everyone out.

I can't imagine that there would be any conflicts doing so as Mandrake does not have any special arrangements with Nvidia AFAIK, and are merely patching and repacking the Nvidia release(s).
 
Old 11-08-2004, 02:25 PM   #7
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 255

Rep: Reputation: 79
Quote:
Originally posted by zexter
can someone please explain the above post and let me know what i need to do?




-thanks in advance
The best thing to do (maybe) is to go to Nvidia's web site and download the NEW linux driver, 1.0-6629. Just a little advance caution, however. It will compile and install cleanly, but some users are reporting seg faults trying to use it. I haven't tried to install it in my Mandrake 10.1CE yet, but it's running without so much as a burp in my Slackware 10.0 with the vanilla 2.6.9 kernel.
 
Old 11-08-2004, 03:29 PM   #8
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Which is why the Mandrakified RPM's should be posted!

They are completely stable for me.
 
Old 11-30-2004, 03:40 PM   #9
sir_jones
LQ Newbie
 
Registered: Nov 2004
Location: Italy
Distribution: Fedora Core
Posts: 4

Rep: Reputation: 0
I've just tried to install 6629 version on my Mandrake 10.1 CE: my screen get black and I was not able to enter runlevel 5, so I have to remove "nvidia" as a driver. Again, "rivafb" (module that seem not to be loaded, using lsmod!!!) was the incompatibility...
 
Old 11-30-2004, 03:42 PM   #10
sir_jones
LQ Newbie
 
Registered: Nov 2004
Location: Italy
Distribution: Fedora Core
Posts: 4

Rep: Reputation: 0
I forgot to say that the driver installation was "ok"...
 
Old 11-30-2004, 10:21 PM   #11
J.K
Member
 
Registered: Dec 2003
Location: Australia
Distribution: mandrake 10.1 Official
Posts: 218

Rep: Reputation: 30
Quote:
Originally posted by sir_jones
I've just tried to install 6629 version on my Mandrake 10.1 CE: my screen get black and I was not able to enter runlevel 5, so I have to remove "nvidia" as a driver. Again, "rivafb" (module that seem not to be loaded, using lsmod!!!) was the incompatibility...
Do not worry about the riva warning, it happens on every nvidia driver i have ever installed.

Now, down to business. I have just installed nvidia driver 6629 on mandrake 10.1 official with NO problems.

What you also have to do as well as editing your xorg.config file to say driver īnvidia'' Is to edit your /etc/modprobe.preload file.

All you have to do to that file is add nvidia at the bottom ....... Just nvidia NOTHING else

This will make sure that the new nvidia kernel module is loaded automatically.

After reading all the problems in the last couple of weeks that people were having i was very interested to see how the new driver would go on 10.1 official, and i am very pleasantly surprised, especially since i am using an mx440 card which was supposed to have compatibility problems with the new driver. But there are a couple of things i would like to say about the install

1) This was a new clean install of 10.1. NOT an upgrade.

2) I made sure I had the MATCHING kernel source installed

3) I made sure I had binutils installed


These are three things that i think may be causing people problems. If these things arenīt adhered to, your nvidia driver install is doomed before you even start.

If anyone wants the exact process, step by step. I will be happy to post it in a very straight forward and easy (read wont use terminology that you wont understand, and if i have to use that terminology i will explain what it is) to follow manner.

Cheers
 
Old 12-01-2004, 02:03 PM   #12
sir_jones
LQ Newbie
 
Registered: Nov 2004
Location: Italy
Distribution: Fedora Core
Posts: 4

Rep: Reputation: 0
Great! It works... Finally I installed NVidia driver on my Mandrake. Thank you!
 
Old 12-02-2004, 06:18 AM   #13
J.K
Member
 
Registered: Dec 2003
Location: Australia
Distribution: mandrake 10.1 Official
Posts: 218

Rep: Reputation: 30
Glad you got it going man.
 
  


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
Geforce FX 5200 whon't work on Mandrake 9 [FOF]Ryan[ENS] Linux - Hardware 5 01-13-2005 10:39 AM
Mandrake 10, GeForce FX 5200 AGP 8X issues dorsey Linux - Hardware 1 07-14-2004 07:53 PM
*NO TV* on Mandrake 10, kernel 2.6.3 with NVIDIA Geforce FX 5200 patkalolo Linux - Hardware 4 07-06-2004 05:45 PM
NVidia GeForce FX 5200 with Mandrake 10.0 kronikly_ill Linux - Laptop and Netbook 8 06-10-2004 04:32 PM
Mandrake 10 - Geforce 5200 - X Refuses to Start houston1981 Mandriva 3 06-09-2004 05:03 PM

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

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