LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-01-2004, 04:25 AM   #1
greythorne
Member
 
Registered: Apr 2004
Posts: 363

Rep: Reputation: 30
installing Nvidia drivers for mandrake-10.1CE?


hi there, im trying to install nvidia driver for mandrake-10.1CE i know that you need the kernel-source install but the problem is after installing the kernel-source i still couldn't install nvidia driver.

any help on this?

thank you.

below is the entire details found on the nvidia-installer.log file.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Sep 30 20:03:04 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/selfgz6474/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/selfgz6474/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
lfgz6474/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz647
4/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/root/tmp/selfgz6474/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/selfgz6474/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/selfgz6474/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/selfgz6474/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.o /root/tm
p/selfgz6474/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c
/root/tmp/selfgz6474/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion `nv_acpi_event':
/root/tmp/selfgz6474/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/selfgz6474/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
ror: (Each undeclared identifier is reported only once
/root/tmp/selfgz6474/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/selfgz6474/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
/nv.o] Error 1
make[3]: *** [_module_/root/tmp/selfgz6474/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.
 
Old 10-01-2004, 08:01 AM   #2
Fnurr
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: Mandriva 2005 LE
Posts: 45

Rep: Reputation: 15
In a forum (don't remember which) I saw the following guide posted:

Installing NVIDIA 6111 with 2.6.8mdk kernel ( post #1)

These directions are simple instructions for installing your NVIDIA 6111 drivers if you are using the Mandrake 10.0 2.6.8.mdk kernel or the "new" Mandrake beta version:


First: Download NVIDIA-Linux-x86-1.0-6111-pkg1.run. (remember where you saved it when running init 3)


Second: do the following outlined below;


1. Alt+F2 kdesu konqueror
2. open file:/usr/src/linux/include/linux/pm.h with kwrite
3. In the part of the file:
{
PM_SUSPEND, /* enter D1-D3 */
PM_RESUME, _/* enter D0 */
} pm_request_t;


Add the line: PM_SAVE_STATE, /* save device's state */
so it will look like this:
{
PM_SUSPEND, /* enter D1-D3 */
PM_RESUME, _/* enter D0 */
PM_SAVE_STATE, /* save device's state */
} pm_request_t;

4. save

5. In the file: /etc/modprobe.preload
add the line:
nvidia

6. Save

7. Run init 3 from konsole and install nvidia driver as usualy


I've havn't tested it but maybe it will help
/Fnurr
 
Old 10-01-2004, 08:30 AM   #3
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Quote:
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!
I would take that warning seriously and at least rmmod the rivafb module before trying to compile nvidia drivers. Even better, disable it in the kernel.
 
Old 10-01-2004, 12:14 PM   #4
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
where in the kernel do you disable rivafb from please?

Thanks
 
Old 10-01-2004, 12:25 PM   #5
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
First do lsmod in a terminal. If the rivafb module is listed, do (as root) "rmmod rivafb". If you don't get any errors, install the nvidia drivers. If you do get errors, or if the nvidia module won't work, you'll need to configure and recompile the kernel.

In the 2.6 kernel, rivafb is in Device Drivers > Graphics support > nVidia Riva support
 
Old 10-01-2004, 05:13 PM   #6
mrGee
Member
 
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344

Rep: Reputation: 30
Hi all

I had the same problem with Nvidia and Mandrake 10.1 CE, just as greythorne described.

I followed Fnurr's instructions and, bingo installed flawless and X runs well,
only minor thing was; a telinit 5, back to X failed,
after rebooting my box thingy worked.

Regards
 
  


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
help installing NVIDIA drivers on mandrake dragon_fire04 Linux - Hardware 1 02-21-2005 08:01 PM
I'm having trouble installing the NVIDIA drivers on Mandrake 10.1. JakeMH Linux - Software 17 02-07-2005 06:25 PM
Installing new NVIDIA drivers on Mandrake 10.0 Rathien Linux - Newbie 3 05-13-2004 01:08 PM
Installing Nvidia Drivers on mandrake 10 Baldrick Mandriva 12 05-03-2004 04:38 PM
Diff. Installing nVidia drivers in Mandrake 10.0 johnnytaco Linux - Hardware 4 03-16-2004 01:44 PM

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

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