LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-08-2005, 04:45 AM   #1
chil326
Member
 
Registered: Jul 2004
Location: Paris, France
Distribution: mandriva LE 2005
Posts: 86

Rep: Reputation: 15
nvidia dkms service boot


hi
i installed mandriva le 2005 recently
everything is fine except that i have this message at boot time :

starting dkms:
nvidia(7174):Installing module
.....(bad exit status:5)
Installation failed!

what's the problem?
 
Old 08-09-2005, 06:12 AM   #2
mikejac69
Member
 
Registered: May 2004
Location: Lyon, France
Posts: 53

Rep: Reputation: 15
I get exactley the same message, but since I have installed the latest drivers I am glad those old drivers are not used! Put you mind at rest, though by typing "lsmod" in a console (as super user) and check for the nvidia driver, if it is there, then all is ok. I would get the latest drivers from Nvidia, helped me out with a few odd graphics issues
 
Old 08-09-2005, 06:13 AM   #3
mikejac69
Member
 
Registered: May 2004
Location: Lyon, France
Posts: 53

Rep: Reputation: 15
Oh yes, here's a link to the latest drivers:

http://www.nvidia.com/object/unix.html

drivers are reall nice and easy to install, but you need to make sure you have the kernel source installed on your computer or it won't work
 
Old 08-09-2005, 01:58 PM   #4
chil326
Member
 
Registered: Jul 2004
Location: Paris, France
Distribution: mandriva LE 2005
Posts: 86

Original Poster
Rep: Reputation: 15
hi
when i install the nvdia driver from the script provided by nvidia web site i get an error...he can't install the module
here's what i get as kernel rpms :
[cyril@localhost ~]$ rpm -qa | grep kernel
kernel-2.6.11.6mdk-1-1mdk
nvidia-kernel-2.6.11-6mdk-7174-1mdk
kernel-source-2.6-2.6.11-12mdk

i suppose the nvidia-kernel is the driver for the kernel... but is it only the module or a complete kernel which includes the nvidia driver?
but is the version of kernelsource the same that the kernel installed?
isn't it the cause of the problem?
or maybe i have to remove the nvidia-kernel rpm before installing the latest driver from nvidia?
thanks for any help
 
Old 08-09-2005, 06:05 PM   #5
mikejac69
Member
 
Registered: May 2004
Location: Lyon, France
Posts: 53

Rep: Reputation: 15
No, the installer should do everything for you, 2 things I forgot to mention, 1, you must quit the Xserver before trying to install, 2, you must be logged as root. If the script cannot find a module then it should be able to create a module as you have all the sources
 
Old 08-09-2005, 06:14 PM   #6
chil326
Member
 
Registered: Jul 2004
Location: Paris, France
Distribution: mandriva LE 2005
Posts: 86

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mikejac69
No, the installer should do everything for you, 2 things I forgot to mention, 1, you must quit the Xserver before trying to install, 2, you must be logged as root. If the script cannot find a module then it should be able to create a module as you have all the sources
[cyril@localhost bookmarks]$ /sbin/lsmod|grep nvidia
nvidia-agp 5852 1
nvidia 3904988 12
agpgart 28264 2 nvidia-agp,nvidia

that's my modules actually
but the installer crashes
it seems there is a problem with gcc and kernel source versionning
here's some part of the nvidia installer log :

nvidia: version magic '2.6.11-12mdk 686 gcc-3.4' should be '2.6.11-6mdk 686
gcc-3.4'
nvidia: version magic '2.6.11-12mdk 686 gcc-3.4' should be '2.6.11-6mdk 686
gcc-3.4'
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.

bonne nuit en tout cas

Last edited by chil326; 08-09-2005 at 06:15 PM.
 
Old 08-10-2005, 09:26 AM   #7
mikejac69
Member
 
Registered: May 2004
Location: Lyon, France
Posts: 53

Rep: Reputation: 15
salut!

which kernel are you using at the moment? You seem to have the wrong source code somehow! Try as root "urpmi kernel" and see if you can get the source installed again also, have you updated using thacs repositorys? gets a nice up to date system and I have had no problems since. It seems strange you are having this problem as I have the same graphics card and the same distro as yourself yet have never had this problem (well, except with mandrake 10.0 but that was because my Xorg was out of date)

courage!
 
  


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
How to get service to start at boot zaichik Linux - Newbie 12 08-27-2008 09:15 PM
tinkering with dkms: make error no targets. Makefile issue? Emmanuel_uk Linux - Newbie 1 06-03-2005 01:26 AM
DKMS in Slackware laboyae Linux - Hardware 2 03-31-2005 10:42 AM
how to start a service at boot senthilkumar Slackware 2 07-19-2004 07:33 AM
Starting up a service (Postgres) on boot aa2bi Linux - Newbie 1 06-15-2004 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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