LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2004, 06:05 AM   #1
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Rep: Reputation: 30
Question Can't get NVIDIA drivers installed on MDK 10.1


I've just installed Mandrake 10.1 and downloaded the latest nVidia driver but it won't install.

here's the var/log/nvidia install log:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Dec 8 10:51:02 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
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /root/tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

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: '/usr/src/linux'
-> Performing CC test 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 nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_comp
iler.h *.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux SYSOUT=/usr/s
rc/linux'...
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! ***

echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT
64_OK -DNVCPU_X86 -DNV_REMAP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESE
NT -DNV_PCI_DISABLE_DEVICE_PRESENT -I. -I/usr/src/linux/include -Wno-cast-q
ual -Wno-error nv.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT
64_OK -DNVCPU_X86 -DNV_REMAP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESE
NT -DNV_PCI_DISABLE_DEVICE_PRESENT -I. -I/usr/src/linux/include -Wno-cast-q
ual -Wno-error nv-vm.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT
64_OK -DNVCPU_X86 -DNV_REMAP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESE
NT -DNV_PCI_DISABLE_DEVICE_PRESENT -I. -I/usr/src/
linux/include -Wno-cast-qual -Wno-error os-agp.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT
64_OK -DNVCPU_X86 -DNV_REMAP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESE
NT -DNV_PCI_DISABLE_DEVICE_PRESENT -I. -I/usr/src/linux/include -Wno-cast-q
ual -Wno-error os-interface.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT
64_OK -DNVCPU_X86 -DNV_REM
AP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESEN
T -I. -I/usr/src/linux/include -Wno-cast-qual -Wno-error os-registry.c
ld -r -o nv-linux.o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o
ld -r -o nvidia.o nv-linux.o nv-kernel.o
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.o'. This is most likely
because the kernel module was built using the wrong kernel source files.
Please make sure you have installed the kernel source files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline option.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.o':
-1 Invalid module format
-> Kernel messages:
bootsplash: status on console 4 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377
bytes, v3).
bootsplash: status on console 5 changed to on
eth0: no IPv6 routers present
No module found in object
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.

Yep it's a big one I know!
I'm still very much a newbie! Can anyone help as this log means nothing to me.

Thanks in advance

Steve
 
Old 12-08-2004, 07:25 AM   #2
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Looks like you simply need the kernel source files installed. I can't quite remember how to quickly do this in Mandrake...

Try:

urpmi kernel-source

and see if that finds the source files for your kernel. If it does, let it install them and try again. If not, search around on the mandrake site for the kernel source rpms, download and install them and try again. I think that's your only problem and therefore only option...

Good luck,
 
Old 12-08-2004, 10:40 AM   #3
adam-red
Member
 
Registered: Oct 2004
Location: Manchester, UK
Distribution: openSUSE 11.2
Posts: 63

Rep: Reputation: 15
You can also get the source of the distro using the Mandrake package manager.
 
Old 12-08-2004, 11:38 AM   #4
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
I made sure I installed the kernel source file when I installed mandrake for this very reason yet I seem to have this problem. Mandrake 10 was a dream to install the nVIDIA drivers on no problem at all. There are quite a few other things fixed though in 10.1 that why I really need to get it going. Anymore ideas?
 
Old 12-08-2004, 11:46 AM   #5
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Is the symlink correct in /usr/src?

There should be a symbolic link there that points to your source files directory. For instance, in my /usr/src theres a link called linux-2.4 that points to the linux-2.4.22-1.2199.nptl/ directory in the same parent directory.

Perhaps your symlink either isn't there, or it's pointing to an old kernel source or a directory that doesn't exist.

I guess I'd start there and see what you can find...

Good luck,
 
Old 12-08-2004, 11:50 AM   #6
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
Cheers jeffrey, I'll have a look!
 
Old 12-08-2004, 03:04 PM   #7
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
Had a look in /usr/src can't see anything that would help or I would understand!
 
Old 12-08-2004, 03:31 PM   #8
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Do me a favor...

post the output of

ls -l /usr/src

and let's have a look at what's there.

I'm leaving work in a minute, have a few errands to run, and then I'll try to check in again when I'm home (if I can without the wife complaining that I spend too much time on the computer). Shouldn't be more than a couple hours.

Thanks,

Jeff
 
Old 12-08-2004, 04:03 PM   #9
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
Here you good my friend. hope this helps you help me!

steve@localhost steve]$ ls -l /usr/src
total 1
lrwxrwxrwx 1 root root 24 Dec 8 10:29 linux -> linux-2.4.27-0.pre2.1mdk/
drwxr-xr-x 18 root root 720 Dec 8 10:29 linux-2.4.27-0.pre2.1mdk/
drwxr-xr-x 3 root root 72 Dec 8 10:25 RPM/
[steve@localhost steve]$

Thanks again

Steve
 
Old 12-08-2004, 05:50 PM   #10
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Darn. I was really hoping to see an obvious issue there.

I sincerely apologize, but I don't have time to delve to far into this right now...(wife)...

Here's a possible start to a solution...

http://mandrakeusers.org/lofiversion...hp/t18403.html

I found this when googling for this portion of your error message...

Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.o': -1 Invalid module format

Oh, and I stuck Mandrake on the end of that to try to thin down the results...

Check that link, then google your ass off with some snippets of the error message you're getting. Sorry, I"ll try to get back to this later tonight and see if you've had any luck. Keep us posted...hopefully some pro will jump in soon and save the day...

Jeff
 
Old 12-08-2004, 07:42 PM   #11
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
What the hell, since I've got no other ideas, lets try adding another symlink in the /usr/src directory that looks exactly like the one in mine. I just installed the most recent nvidia driver with no probs...

It's doubtful, but try:

ln -s /usr/src/linux-2.4.27-0.pre2.1mdk /usr/src/linux-2.4

And see if it installs now....

Let me know...
 
Old 12-09-2004, 03:43 PM   #12
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
Hi again jeffrey.

really appreciate all your help on this.

Sorry to be such a newbie but what do you want me to do with that command you just gave me?

thanks again

Steve

PS cold and wet here in England, what life like in the USA at the momment?
 
Old 12-10-2004, 08:22 AM   #13
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Well, that command is just going to add another symlink in the /usr/src directory, but this on e will be called linux-2.4 rather than just linux. The reason is simply that the drivers installed just fine on mine, but my symlink is linux-2.4, so I figured maybe, just maybe, the installer is looking for a /usr/src/linux-2.4 path and therefore not seeing the /usr/src/linux path where your kernels sources are. There's only a slim chance this'll work, as I would tend to believe there's probably a command or something that the installer executes in order to find the path to the kernel sources, rahter than just going to /usr/src/linux-2.4, but as I'm out of ideas for now I figured it can't hurt to try...

You might also consider looking around in the mandrake forum for other people having this issue.

Good luck, and let me know if this miraculously works...

Oh, and it's 34 and sleet here in Minnesota, but considering we should be neck deep in snow this time of year I'm not complaining...;-)

Also, I'm at work now and might have an unusually busy dat today, so I may not be checking in as oft as I'd like. I'll check every time I get a minute though...

Good luck,

Last edited by jeffreybluml; 12-10-2004 at 08:23 AM.
 
Old 12-10-2004, 09:20 AM   #14
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Hey, while you're at it, post me the output of what's in your /usr/src/linux-2.4.27-0.pre2.1mdk

ls -al /usr/src/linux-2.4.27-0.pre2.1mdk

And, if there's an "include" directory, post the output of what's in there as well please.

ls -al /usr/src/linux-2.4.27-0.pre2.1mdk/include

We'll figure this out sooner or later...

Thanks,
 
  


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
Installed nVidia drivers ok but.... thoffland Linux - Newbie 1 07-07-2005 01:11 PM
NVidia drivers installed, but won't load Caesar Linux - Hardware 1 06-03-2004 11:39 PM
Getting the NVIDIA Drivers Installed Pwnz3r Linux - Software 0 01-31-2004 12:50 PM
Does MDK 9.1 PowerPack come with Nvidia drivers? WinUnixUser Mandriva 4 09-04-2003 02:20 AM
geforce2, installed drivers off of nvidia.com, now what? the anti-riced Linux - Hardware 13 06-08-2003 08:45 PM


All times are GMT -5. The time now is 08:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration