| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
02-11-2005, 09:47 PM
|
#1
|
|
Member
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110
Rep:
|
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
|
|
|
|
02-11-2005, 09:51 PM
|
#2
|
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
urpmi kernel-source
The exact syntax may vary...
Once you have the source installed for the CURRENTLY INSTALLED KERNEL, try again.
|
|
|
|
02-11-2005, 10:12 PM
|
#3
|
|
Member
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110
Original Poster
Rep:
|
lol. Sorry but i don't get that. I am a total n00b to linux
|
|
|
|
02-12-2005, 12:56 AM
|
#4
|
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
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.
|
|
|
|
02-12-2005, 04:16 PM
|
#5
|
|
Member
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 706
Rep:
|
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
|
|
|
|
02-12-2005, 07:52 PM
|
#6
|
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Hmm I thought that the need to edit the src file had been corrected in the latest nvidia download.
|
|
|
|
02-13-2005, 05:46 AM
|
#7
|
|
Member
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110
Original Poster
Rep:
|
wow fanx alot for your posts guys i'm gonna login to linux and try out now 
|
|
|
|
02-13-2005, 02:41 PM
|
#8
|
|
Member
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 706
Rep:
|
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.
|
|
|
|
02-13-2005, 02:42 PM
|
#9
|
|
Member
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255
Rep:
|
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.
|
|
|
|
02-13-2005, 04:43 PM
|
#10
|
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
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.
|
|
|
|
02-14-2005, 12:01 AM
|
#11
|
|
Member
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 706
Rep:
|
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.
|
|
|
|
02-14-2005, 02:24 AM
|
#12
|
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
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"...)
|
|
|
|
02-14-2005, 04:25 AM
|
#13
|
|
Member
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 706
Rep:
|
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?
|
|
|
|
02-14-2005, 02:03 PM
|
#14
|
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Actually I never bothered looking at pm.h since the updated drivers had no problems.
The older drivers were a real mess though.
|
|
|
|
02-28-2005, 02:22 AM
|
#15
|
|
Member
Registered: Dec 2004
Location: Sydney, Australia
Distribution: MDK 10.1
Posts: 110
Original Poster
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:39 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|