LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-26-2004, 08:11 PM   #16
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Rep: Reputation: 31

have you done the inittab thing? Chaging it to boot to text? Once you've done that, just run the nvidia shell script and follow the instructions. Later you'll have to edit a config file. The nvidia instructions do a good job at describing what you need to do. Good luck.
 
Old 12-26-2004, 08:11 PM   #17
MylesCLin
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Slack 9.1 with slackware-current packages...
Posts: 164

Rep: Reputation: 30
Attempt running it again and give us the full output
 
Old 12-26-2004, 08:45 PM   #18
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
install kernel source package first(RPM somewhere in system tools or something like that, there is a gui for that )

Logout after booting in the gui
hit ctrl+alt+f4 for example to go to a console.
login as root
kill X : /etc/init.d/gdm stop

cd /downloads/nvidia-driver
chmod +x driver.run
./driver.run

Replace driver.run by the name of the downloaded file. If it is not a .run but a tar.gz, untar(ie unzip the archive : tar zxvf filename)
 
Old 12-26-2004, 08:52 PM   #19
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
If you've updated udev, it should work without a kernel tree.
If you like to do it the old way, first install the SRPM for your kernel source(see the installation notes).
Since you don't really need it, their's no longer an RPM for this.

As for init 3, just press Ctrl-Alt-F3 again and press Enter(now it will work as before).

Last edited by jens; 12-26-2004 at 08:58 PM.
 
Old 12-26-2004, 09:15 PM   #20
drco
LQ Newbie
 
Registered: Dec 2004
Posts: 24

Original Poster
Rep: Reputation: 15
no that not the case....when i do like sh nv* it starts and everything but then it saids no precompiled kernal interface, and i cant install it
 
Old 12-27-2004, 10:52 AM   #21
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally posted by drco
no that not the case....when i do like sh nv* it starts and everything but then it saids no precompiled kernal interface, and i cant install it
Well, if you don't believe me and your own Release notes(you didn't read them, did you?), feel free to install the SRPM, it can't harm you either.
You should still update udev tho...(if you don't, none of both ways will work for you).

PS: from the release notes you should have read before posting:

Quote:
An exploded source tree is not required to build kernel modules against the currently in-use kernel.
As for installing the kernel source, again from the release notes:
Quote:
#Obtain the kernel-<version>.src.rpm file from one of the following sources:

*The SRPMS directory on the appropriate "SRPMS" CD iso image
*The FTP site where you got the kernel package
*By running the following command: up2date --get-source kernel


Quote:
Install kernel-<version>.src.rpm (given the default RPM configuration, the files this package contains will be written to /usr/src/redhat/)
Just do a normal "rpm -Uvh xxx.src.rpm"




Quote:
Change directory to /usr/src/redhat/SPECS/, and issue the following command:

rpmbuild -bp --target=<arch> kernel.spec

(Where <arch> is the desired target architecture.)

On a default RPM configuration, the kernel tree will be located in /usr/src/redhat/BUILD/.
They made a small fault here.
In its command, replace "kernel.spec" with kernel-2.6.spec.
(replace <arch> with i686)


Quote:
In resulting tree, the configurations for the specific kernels shipped in Fedora Core 3 are in the /configs/ directory. For example, the i686 SMP configuration file is named /configs/kernel-<version>-i686-smp.config. Issue the following command to place the desired configuration file in the proper place for building:

cp <desired-file> ./.config
not needed for normal i686 systems

Quote:
Issue the following command: make oldconfig
Have fun.
 
Old 12-29-2004, 01:17 AM   #22
drco
LQ Newbie
 
Registered: Dec 2004
Posts: 24

Original Poster
Rep: Reputation: 15
ok well i ran the up2date --get-source kernal; and there was none found because i just updated it the other day.....

the usr/scr/redhat doesnt even exist....

so when i instal the nvidia driver this is what it saids...


no precompiled kernal interface was found to match your kernal.....can we intall a kernal interface from the ftp nvida site...YES....no mathc precompileed kernal interface was found on the nvidia ftp site; this means that the installer will need to compile a kernal uinterface for your kernal....OK...error:unable to find the development tool 'cc' in ypur path; please make sure that you have the package 'gcc' installed...If gcc is installed on your system, then please cheack the 'cc' in in your path....ok
 
Old 12-29-2004, 06:01 AM   #23
Ygarl
Member
 
Registered: Mar 2004
Location: London, UK
Distribution: Ubuntu Breezy and Dyne:Bolic
Posts: 64

Rep: Reputation: 15
Hi,

Make sure you have GCC installed on the Add/Remove programs manager - I think it's under under one of the Development sections near the end (either KDE or Gnome I believe). Basically, you can't compile the interface because you don't have a compiler installed to compile with.

That's the problem with some of the defaults that Fedora gives when you install it: some of the options don't install any compilers so you won't ever be able to install anything without Yum or the Add/Remove programs manager.

Hope this helps!
 
Old 12-29-2004, 04:30 PM   #24
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Rep: Reputation: 31
Just wondering, do you absolutely need the nvidia drivers? Is your screen not displaying correctly that you can't work with linux? Do you want to play games on linux? Do you plan to use 3D applications like Blender or Maya? If not, maybe you should just try to get comfortable with linux first before attempting something like that. It'd be very nice if you could get it to work, but all this set up stuff might be too much too soon. Just a thought. I remember screwing over many Mandrake installs trying to install the nvidia driver when I first started.
 
Old 12-29-2004, 07:05 PM   #25
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally posted by drco
ok well i ran the up2date --get-source kernal; and there was none found because i just updated it the other day.....
It's kernel not kernal.
Quote:
Originally posted by drco
the usr/scr/redhat doesnt even exist....
Mine looks like this:
[jens@localhost ~]$ ls /usr/src/redhat/
BUILD RPMS SOURCES SPECS SRPMS

Quote:
Originally posted by drco
no precompiled kernal interface was found to match your kernal.....can we intall a kernal interface from the ftp nvida site...YES....no mathc precompileed kernal interface was found on the nvidia ftp site; this means that the installer will need to compile a kernal uinterface for your kernal....OK...error:unable to find the development tool 'cc' in ypur path; please make sure that you have the package 'gcc' installed...If gcc is installed on your system, then please cheack the 'cc' in in your path....ok
So you don't have a kernel source tree and you don't have a compiler(gcc)...
No problem, you don't really need any of them for just this.

Getting your nvidia driver to work:
Add livna in /etc/yum.conf or replace it with this one:
http://www.fedorafaq.org/samples/yum.conf
(always make a backup of the original one)

Next, type:
Code:
yum install kernel-module-nvidia-`(rpm -q --queryformat="%{version}-%{release}\n" kernel | tail -n 1)`
 
Old 12-30-2004, 12:24 AM   #26
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Although I am not familiar with fedora core 3, using:

init 3

as root should put you into a command line only environment. The fact that you are getting some form of problem smacks me as a real issue...

Can you use the [ctrl][alt][F2] keys to get a command line login??? Try issuing the init 3 from there as root without logging into a graphical session of a user account.
 
Old 01-01-2005, 02:40 PM   #27
drco
LQ Newbie
 
Registered: Dec 2004
Posts: 24

Original Poster
Rep: Reputation: 15
ok so i change my yum config file and i type that stuff in the command. Nvidia was installed and then when i restarted the computer there was a splash screen but then it froze , but there was harddrive activity (from the LED). asfter bout 20 minuties i pressed random buttons and it went back into the black screen. so now i cant go into STARTX
 
Old 01-02-2005, 05:04 PM   #28
drco
LQ Newbie
 
Registered: Dec 2004
Posts: 24

Original Poster
Rep: Reputation: 15
PLease help me if someone can. I just want to have my PC back. How do i undo everything
 
  


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
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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