LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-02-2005, 02:50 PM   #1
jolphil
Member
 
Registered: May 2002
Location: central florida
Distribution: Linux Mint, ,Mageia,Ubuntu
Posts: 453

Rep: Reputation: 33
Unhappy Well,I hosed one MDK10.1 install...


Hi all,
I tried to install Nvidia 6629 on my MDK10.1 system but ended in disaster..Not only would X not start but I could only go to single user..With me at the controls,thats just about useless..
Heres the limit of what I think I know..
1: In order to install the driver,I needed to install the kernel-source..uname -a shows 2.6.8.1-12mdksmp kernel... went to umpri and got kernel-source 2.6.8 from I think cdrom 3..OK so far.

2: Downloaded and accepted the NV software and it seemed to install from root..I think I followed instructions about doing a chroot command..I thought so far so good..
It did not seem to find my kernel source but went on anyway..

3: Went into init3 and used vim to edit the /etc/X11/XF86Config file ..Under the drivers I changed the "nv" to "nvidia"...Checked the other stuff and it seemed ok..
4: rebooted,and all"Heck" broke loose..No display,no boot,no nothing..Had to re boot and go into the safe mode start..Single user..End of the ball game for me..

Not exactly sure what went wrong but Disaster...
Can anone tell me where I went wrong? Yes I know Linux challenged...Newbie
Thanks for reading this and any tips or help...
jolphil
 
Old 02-02-2005, 03:07 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
run xorgconfig ? That's my guess.
 
Old 02-02-2005, 07:50 PM   #3
Thorium
Member
 
Registered: Dec 2004
Location: USA
Distribution: Debian
Posts: 124

Rep: Reputation: 15
I thought you had to go to init 3 before the driver install, not sure though
 
Old 02-03-2005, 02:25 AM   #4
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
I think it didn't find a prebuilt driver for your kernel version. If it hadn't found your kernel source
you wouldn't have got the "Congratulations, your driver is now installed..." (or whatever) at the end.

I just don't think the module automatically load at boot.
Try do a 'echo nvidia >> /etc/modprobe.preload' .

Another alternative that sould work is to enable autoloading of modules (which I think is turned off by default)
by adding "kernel.modprobe = /sbin/modprobe" to /etc/sysctl.conf. I think that'll work, otherwise you can
Code:
echo "echo /sbin/modprobe > /proc/sys/kernel/modprobe" >> /etc/rc.sysconfig
This might be a security risk though.

- Peder
 
Old 02-03-2005, 12:28 PM   #5
jolphil
Member
 
Registered: May 2002
Location: central florida
Distribution: Linux Mint, ,Mageia,Ubuntu
Posts: 453

Original Poster
Rep: Reputation: 33
Update.....
I wiped the drive clean and started over with another install..This time I chose to install the kernel source during the initial install..Then I down loaded the Nvidia package for the I32 graphics card I have(FX5600)..I checked the /var.src folder and it looks as though I had them installed properly..
I rebooted and went Failsafe and got into init 3..As root I went to the NV package and tried to install it but it still could not find a kernel source...Thus the install failed..there is no browse function that i could point it to my source..
Question has anyone done this in MDK 10.1?...If so how did they do it..The distro seems to be great otherwise..
Great credit to the developers for a very easy install...Thanks for reading this..
Jolphil
 
Old 02-04-2005, 11:09 AM   #6
nafan
Member
 
Registered: May 2004
Location: /dev/bed
Distribution: Mandriva 2009.0 Powerpack
Posts: 172

Rep: Reputation: 30
You need to have the source code for your kernel installed in a certain place. If your kernel is /boot/vmlinuz-2.6.10 then your kernel source needs to be in /usr/src/linux-2.6.10. /usr/src/linux should be a symlink pointing to your kernel. You should also check that in the kernel modules repository that there are symlinks to your kernel source. Using the 2.6.10 kernel as an example.... /lib/modules/2.6.10/build and /lib/modules/2.6.10/source should both be symlinks to your kernel source (/usr/src/linux-2.6.10) If the nvidia installer finds source code for a kernel, but it isn't the running kernel, it will still build, but it will complain, and put the video modules into the module repository that it was built for. For example, if it finds a 2.4.22 kernel source and you have a 2.6.10 kernel running, it will build the module and dump it under /lib/modules/2.4.22 somewhere.

Also check that the module is loaded at system boot by putting the word 'nvidia' on a line of it's own in /etc/modprobe.preload
 
Old 02-04-2005, 02:17 PM   #7
jolphil
Member
 
Registered: May 2002
Location: central florida
Distribution: Linux Mint, ,Mageia,Ubuntu
Posts: 453

Original Poster
Rep: Reputation: 33
Hi again,
Finally got the Nvidia driver installed properly..With all your help and support and an post on another forum
by imdeemvp...
Basically heres the steps I followed..
1 Checked my kernel by uname -a in a terminal(mine was2.6.8.1-12mdksmp)..
2 Then I installed the kernel source..In my case urpmi kernel-source-2.6-2.6.8.1-12mdk That is the one I used..
3 previously downloaded NVIDIA-Linux-x86-1.0-6629-pkg1.rpm into my home directory..
4 opened a terminal and typed SU then my root Password...then typed init 3 this shut down x and asked for a password..I typed my user PW.. then typed sh Nvidia-Linux-x86-1.0-6629-pkg1.rpm
5 I axccepted the agreement,when i said it wanted to go online I chose NO and then it said it would compile the kernel.. I let it go until it said it was configured..It then dropped back to the command line..
I used vi to edit the /etc/X11/XF86Config file and replaced "nv" with "nvidia"..Saved the results by escape :wq!
then i edited the next file vi /etc/modprobe.preload by adding a line" nvidia " below my intel agp line
saved the results by escape :wq! and again back to the command prompt..Then I typed init 5
6 this started x and I opened a terminal and tested the driver by typing glxgears I let it run for 30 seconds or so then stopped it and typed glxinfo | grep direct and looked for the line "direct rendering Yes"
7 breathed a sigh of relief and savored my victory...
Goodluck to you and again thank you for all your help,
jolphil
 
  


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
MDK10.1 user hosed HELP! tia!!! kristi Linux - General 3 02-10-2005 06:37 AM
Help install MDK10.1. bchivers Linux - General 3 01-07-2005 09:17 PM
apt-get -f install - hosed up dhatcher2 Linux - Software 1 10-28-2004 03:26 PM
xine install under mdk10 noobtesting Linux - Software 2 05-08-2004 09:40 AM
initrd hosed during new kernel install zzzt Linux - Newbie 1 12-27-2003 02:48 PM

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

All times are GMT -5. The time now is 06:55 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
Open Source Consulting | Domain Registration