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 |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
12-26-2004, 08:11 PM
|
#16
|
Member
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303
Rep:
|
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.
|
|
|
12-26-2004, 08:11 PM
|
#17
|
Member
Registered: Sep 2004
Location: Texas, USA
Distribution: Slack 9.1 with slackware-current packages...
Posts: 164
Rep:
|
Attempt running it again and give us the full output
|
|
|
12-26-2004, 08:45 PM
|
#18
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
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)
|
|
|
12-26-2004, 08:52 PM
|
#19
|
Senior Member
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465
|
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.
|
|
|
12-26-2004, 09:15 PM
|
#20
|
LQ Newbie
Registered: Dec 2004
Posts: 24
Original Poster
Rep:
|
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
|
|
|
12-27-2004, 10:52 AM
|
#21
|
Senior Member
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465
|
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.
|
|
|
12-29-2004, 01:17 AM
|
#22
|
LQ Newbie
Registered: Dec 2004
Posts: 24
Original Poster
Rep:
|
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
|
|
|
12-29-2004, 06:01 AM
|
#23
|
Member
Registered: Mar 2004
Location: London, UK
Distribution: Ubuntu Breezy and Dyne:Bolic
Posts: 64
Rep:
|
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!
|
|
|
12-29-2004, 04:30 PM
|
#24
|
Member
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303
Rep:
|
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.
|
|
|
12-29-2004, 07:05 PM
|
#25
|
Senior Member
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465
|
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 kern el 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)`
|
|
|
12-30-2004, 12:24 AM
|
#26
|
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:
|
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.
|
|
|
01-01-2005, 02:40 PM
|
#27
|
LQ Newbie
Registered: Dec 2004
Posts: 24
Original Poster
Rep:
|
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
|
|
|
01-02-2005, 05:04 PM
|
#28
|
LQ Newbie
Registered: Dec 2004
Posts: 24
Original Poster
Rep:
|
PLease help me if someone can. I just want to have my PC back. How do i undo everything
|
|
|
All times are GMT -5. The time now is 07:28 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
|
|