LinuxQuestions.org
Review your favorite Linux distribution.
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-18-2005, 01:39 PM   #1
emojetplane
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandrake 10.1
Posts: 8

Rep: Reputation: 0
Nvidia driver install


I'm sure this problem is addressed on these forums, and maybe even multiple times. I'm sorry if that's the case, but I have searched repeatedly for a solution and found nothing. also note that I am a -complete- newbie. I just installed linux the other day because I wanted to see what I can do with it, and up until now I ran windows. here goes:

I am trying to install Nvidia drivers for my PNY 6800GT video card. I am running Mandriva Linux 10.1 (or Limited Edition 2005, whatever floats your boat. I don't suppose it matters, but I've been alternately running KDE and Gnome.

I typed '/sbin/lspci' into the console and got: bash: /sbin/lspci: No such file or directory . I'm guessing I made some type of stupid, fundamental mistake. correct me if necessary.

My kernel is: 2.6.11-6mdk

So....now that that's all in order, here's my problem: I get out of X and run the installer, but it has a problem with my kernel. it wants to connect to a site to find a fix, but naturally fails. then the setup says that's not a problem; it will figure things out itself, also to no avail. that's the end of it. setup cannot continue, and I'm left nowhere. anyone know how to help me? I've read things about building the kernel source, but being an absolute beginner I have no clue what I am supposed to do. anything would be much appreciated. thanks.
 
Old 08-18-2005, 03:10 PM   #2
realcr
LQ Newbie
 
Registered: Aug 2005
Location: Israel
Distribution: fedora core 4
Posts: 15

Rep: Reputation: 0
Some nvidia installations require that no X program will be running , therefore you must restart in ring 3 state... Try to install the nvidia driver only after you restart that way...

realcr.
 
Old 08-18-2005, 03:23 PM   #3
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Your message is quite obscure... can you provide technical details. Like, you know, the error messages you have when you try to install...

"lspci" is only available to root (i think?) try typing "su -" before using it. If it fails, well, you don't have it, it's possible, try to install the "pci-utils" package.

btw, realcr is right, you have to get out X before trying to install NVidia drivers. Type "init 3" in a console as root to switch back to run level 3 (no X). "init 4" will start back X.
 
Old 08-18-2005, 11:08 PM   #4
emojetplane
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandrake 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
hey - you were right, half elf, about needing to be in root for lspci. I should've tried that, I guess... anyway, here's the result of that, if this helps:
00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800 South]
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
00:0d.0 RAID bus controller: Promise Technology, Inc. PDC20378 (FastTrak 378/SATA 378) (rev 02)
00:0e.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] AddressMap
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800 GT] (rev a1)


anyway, I already know about needing to have no x programs running, which is why I used 'ctrl-alt-esc' to close it out before trying the install. whenever I tried running the install without having done so, the install would not even run. now it runs, but it still is having problems. unfortunately I cannot copy and paste the errors I get. the gist of the errors, from what I have read, is that the source kernel cannot be used by the setup and must be edited or configured somehow. according to one set of instructions I must 'install the kernel-source', and it gives me two choices: 'urpmi kernel-source' or install it through software management. another set of instructions tells me to 'semi-build the kernel source', but 'just enough of the preamble to building for the right files to be put in place'. any idea on what those mean?
 
Old 08-18-2005, 11:10 PM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Yup... you don't have the kernel source insdtalled, which is the default on most RH-like distro. Make sure to install the kernel source and the kernel-header from your distribution, you should have it on the installation CD. Nvidia need to patch the kernel so it need the kernel source to do so
 
Old 08-18-2005, 11:18 PM   #6
emojetplane
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandrake 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
well, that makes sense to me. the one problem is this: I don't know exactly what that means...so, uh, might you be able to explain somewhat exactly what I need to install? there's a lot of things I -can- install, but I'm not sure which one. maybe you could help?

p.s. - the installer says there is no precompiled kernel source or something. that's almost word for word.
 
Old 08-18-2005, 11:21 PM   #7
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
on the CD, you should have a package named "kernel-source-2.6.X-rcY.rpm" it's the one you need to install, just use "rpm -i name_of_the_packjage" of course. Then try again... it might complain about kernel header then, so then you will need a pacjage named "kernel-header-2.6.X-rcY.rpm".

Both of them should be on the cd... I can't be really clearer than this. :s
 
Old 08-18-2005, 11:30 PM   #8
emojetplane
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandrake 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
well, you seem to be crystal. so, I'll try it out. if it happens to solve it, thanks much!!!
 
Old 08-18-2005, 11:57 PM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Mandrake 10.1 does not install the C compiler, so you will need that too. Also make sure you have X11 libraries installed. I suggest go into GUI and use Mandrake's RPM GUI installer.

Mandrake 10 and up does not install the needed programs for a Linux user to function. IMHO, Mandrake 10 and up are a mess. Mandrake 9 is a lot better. Most of what you need is on the CD when using Mandrake 9.

Go to http://easyurpmi.zarb.org/ to add several servers.
 
Old 08-19-2005, 12:14 AM   #10
emojetplane
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandrake 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
well, I did what you said, among other things, and it worked out alright. things are installed. there's only one more problem: I need to know how to edit files while I'm not in x. so, could someone tell me how to edit a file in konsole? thanks.
 
Old 08-19-2005, 06:25 AM   #11
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
there is several editor in "text mode".
First you have vim and emacs, two very powerful text editor. However, both are complex et use, you need to know some basic "commands" are the very least.
There is also "easy" text editor, like pico or nano... both are easy to use, with some "menu" but are not powerful at all. But to do a simple modification, it should be good.
Then, there is plenty of clone and "like" editor, mean editor that are derivated work from vim, emacs, nano or pico. Like Elvis, joe, jove, etc...

In any case the syntax in simple : <name of the editor> <name of the file>. Ex : "vim bob.txt"
 
Old 08-19-2005, 02:26 PM   #12
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
For Mandrake its vi not vim.

To edit the file hit i or the insert key. To get out of edit mode hit ESC key. To save, make sure you are out of edit or replace mode and type :w. To exit vi, make sure you are out of edit mode or replace mode and type :q. A fast way to save and quit, is first get out of edit or replace mode and hit ZZ (shift+z).

In just about any bash or config file # or ; means comment a line. When you change the line that reads

driver "nv"

in /etc/X11/XF86config or /etc/X11/xorg.conf, you will need to change it to

#driver "nv"
driver "nvidia"

As root or su, type init 5. This will load the GUI and you should see the nVidia logo.
 
  


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
nVidia driver install MooCows Linux - Hardware 1 12-30-2004 08:52 AM
Nvidia Driver Install - rivafb driver conflicts rjcmi Debian 5 10-10-2004 11:58 PM
NVIDIA Driver Install. TuxToaster Linux - Software 3 07-14-2004 11:47 PM
Nvidia Driver Install?! 3r4t!k Linux - Newbie 6 04-18-2004 07:10 PM
nvidia driver wont install (suse 8.2_ftp install) splintah Linux - Newbie 1 10-06-2003 03:03 PM

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

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