LinuxQuestions.org
Review your favorite Linux distribution.
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 02-11-2005, 09:47 PM   #1
DesyphER
Member
 
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110

Rep: Reputation: 15
Nvidia drivers wont install on MDK10.1/FC3


Hey guys

I'm running Mandrake 10.1 Offical and i can't install my 5200 drivers. This is what i do
1. Init 3 (in konsole)
2. Sh (NVIDIA DRIVER LOCATION)
3. Get a message to search the nvidia FTP for a kernel or some poo like that)
4. it isn't found
5. It asks me to compile a kerner thing
6. The kernel cannot compile the kernel driver thing ( the thing that MDK10.1 was searching the ftp for)

What can i do. Please help me out im eager to play some games =), and windoz is tempting me(can't resist games). Oh and on SuSE It installed perfectly. On FC3 and MDK 10.1 I get that problem.

Fanx, DesyphER
 
Old 02-11-2005, 09:51 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
urpmi kernel-source

The exact syntax may vary...

Once you have the source installed for the CURRENTLY INSTALLED KERNEL, try again.
 
Old 02-11-2005, 10:12 PM   #3
DesyphER
Member
 
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110

Original Poster
Rep: Reputation: 15
lol. Sorry but i don't get that. I am a total n00b to linux
 
Old 02-12-2005, 12:56 AM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
The installation of the Nvidia drivers via the download version from their web site, requires that the kernel source for the currently installed version of the Linux kernel, be present on your computer.

The installer uses the files provided by the kernel-source rpm to build the new driver.

If these files are not present or are of the wrong version, the installer will fail as it has done in your case.

URPMI is a command line program (the gui is called rpmdrake) that will automatically go out and retrieve files for you and anything else which may be required to get the file you are requesting, to run or install.

Thus

urpmi kernel-source

will go out and get the LATEST kernel source tree and install if... however this may NOT be correct source for your installed kernel.

To find out the name/version of your installed kernel type in

uname -a

You may have to specify additional information to urpmi to grab the correct kernel-source rpm.


Once you have the kernel source in place you will be able to complete the installation of the nvidia drivers.


URPMI itself will not work correctly until you have set up the URPMI sources.

That is you have to tell URPMI where it's permitted to download files from.

My sig points to one of several sites that gives you information about this process.

You should ALWAYS set up ALL of the indicated sources, main, plf, jpackage, contrib, etc.
 
Old 02-12-2005, 04:16 PM   #5
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 764

Rep: Reputation: 32
In newbie speak (I was there not too long ago):

Start "Configure my Computer". , Software Management, Install.

Now press Ctrl-Alt-F1. You will be at a black screen. At the top it will say, probably Kernel 2.6.8.1-12mdk.

Find this package (the EXACT one) and install it.

Now with 10.1 there's a gotcha. The NVIDIA driver won't install unless you do this:

Open file manager, navigate to and open the file /usr/src/linux/include/linux/pm.h with kwrite

Change:

{
PM_SUSPEND, /* enter D1-D3 */
PM_RESUME, _/* enter D0 */
} pm_request_t;

to:

{
PM_SUSPEND, /* enter D1-D3 */
PM_RESUME, _/* enter D0 */
PM_SAVE_STATE, /* save device's state */
} pm_request_t;

Save and exit.

Now in the same way open /etc/modprobe.preload and add the line:

nvidia

Save and exit.

After this init 3 and install the driver.

The procedure above first appeared in question 227327 on this site.

I've just done it today and it works!

Good Luck
 
Old 02-12-2005, 07:52 PM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Hmm I thought that the need to edit the src file had been corrected in the latest nvidia download.
 
Old 02-13-2005, 05:46 AM   #7
DesyphER
Member
 
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110

Original Poster
Rep: Reputation: 15
wow fanx alot for your posts guys i'm gonna login to linux and try out now
 
Old 02-13-2005, 02:41 PM   #8
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 764

Rep: Reputation: 32
Quote:
Hmm I thought that the need to edit the src file had been corrected in the latest nvidia download.
Well, I downloaded 10.1 last week and it needed the patch.
 
Old 02-13-2005, 02:42 PM   #9
guest
Member
 
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255

Rep: Reputation: 30
Hi,

An easier way to install your Mandrake kernel would be to look on CD number 3. The kernel sources are the largest RPMs (45 MB) on that disc.
 
Old 02-13-2005, 04:43 PM   #10
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Quote:
Originally posted by davcefai
Well, I downloaded 10.1 last week and it needed the patch.
I installed it many weeks ago on various machines, including Laptops (all with Nvidia video).

Until Nvidia's recent update about 2-3 weeks ago, prior versions would either not install or would require patches to do so.

After the update all install perfectly using either the stock kernels, smp and non-smp, and the latest kernels posted on the URPMI sites.

No patching of the source tree has been required.

The Nvidia documentation and forums also acknowledge that they fixed the installer.
 
Old 02-14-2005, 12:01 AM   #11
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 764

Rep: Reputation: 32
It could be the mirror I used but, I repeat, the NVIDIA driver would not function until I performed that procedure. I too was under the impression that the problem was fixed but after 3 consecutive failures the driver installed OK when I patched the file.
 
Old 02-14-2005, 02:24 AM   #12
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Heh,

And I REPEAT I did this with the posted drivers with both the stock kernel and sources and with the newer .24 kernel posted on the URPMI sites, without requiring any changes, on multiple systems.

(The larger I REPEAT, makes it "official"...)
 
Old 02-14-2005, 04:25 AM   #13
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 764

Rep: Reputation: 32
OK, so do we call a truce or exchange notes to try and work out what happened? (like I said, it could have been the mirror I used)

Did the fix involve inserting the extra line in pm.h or did they tackle it differently?
 
Old 02-14-2005, 02:03 PM   #14
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Actually I never bothered looking at pm.h since the updated drivers had no problems.

The older drivers were a real mess though.
 
Old 02-28-2005, 02:22 AM   #15
DesyphER
Member
 
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110

Original Poster
Rep: Reputation: 15
Well my MDK 10.1 Wouldnt detect any removable storage devices, so thats why i couldnt install the kernel-source i had to mount the ISO and add it to media as a directory in the Mandrake Controll Centre then i found the kernel-sources and installed them. The nvidia driver was successfull but i dont know how to edit the CONFIG files needed. I here a GUI installer is coming out for the NVIDIA drivers so iĺl just have to wait.

Thanks for all the replies, DesyphER
 
  


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
DISCUSSION: HOWTO install NVIDIA drivers on FC3 sdat1333 LinuxAnswers Discussion 3 02-10-2006 04:15 AM
Nvidia Drivers wont stay Insatlled computergee Linux - Software 4 08-10-2005 10:33 AM
Nvidia drivers wont install on MDK10.1/FC3 DesyphER Linux - Software 19 02-26-2005 02:48 AM
buggy nvidia drivers on fc3? davious Fedora 2 11-14-2004 12:51 PM
MDK10, installing NVIDIA drivers (newbie) Arbitor Linux - Hardware 8 04-12-2004 11:30 AM


All times are GMT -5. The time now is 03:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration