linux newbie having lots of trouble installing drivers
I recently installed redhat, and it used the generic VESA driver. So i download these nVidia drivers for my GeForce 2 Go:
and i ran the command: rpm -ivh NVIDIA_kernel....
and I got the error:
modprobe: Can't locate module nvidia
Failed to install nvidia.o
%post(NVIDIA_kernal_(rest of file)) scriptlet failed, exit status 1.
Now i dont know the difference between rpm, srpm, and tar.
I am willing to run any installation, as long as it works.
Also, I am assuming I will have to unistall what I have done so far, but I dont know how. If anyone can help, I would greatly appreciate it. Thanks!
Yeah, uninstall what you have. rpm -e NVIDIA_kernel (but if NVIDIA_GLX complains, then rpm -e it too).
Then, download and run the NVchooser file from the driver download page. It should tell you exactly which files you need.
If it says NVIDIA_kernel-1.0-4191.src.rpm, then you have a choice between that and .tar.gz, either one will work the same way. But in that case, you will need to make sure you have a kernel-source package installed, whose version matches the output of uname -r.
thanks for your help. I ran NVchooser, and it said I could use the src version. Does that mean I can download the Kernel Source RPM? and just follow the instructions from the manual? thanks!
I tried running the src version. i entered:
rpmbuild --rebuild NVIDIA....
and I got all these errors...so i am assuming I dont have the kernel source package installed. And I was wondering how to do this?
Will I run into the same errors if I run the tar.gz version?
Yes, you will run into the same errors with the .tar.gz version.
There should be a kernel-source-x.x.xx-xx.x.x RPM somewhere on RedHat's FTP site. The x's should match what uname -r tells you.
Download that, and every time you update your kernel in the future (using up2date, I assume?), update the kernel-source with it, because you'll have to recompile your NVIDIA_kernel package at the same time.
Anyway, once you download that file, just rpm -ivh it. Then cd /usr/src/linux-<whatever version it is>/configs, and look around for a config file that matches your processor. Copy it to ../.config, cd .., and edit the Makefile. Change EXTRAVERSION=-xx.x.xcustom to EXTRAVERSION=-xx.x.x (i.e. get rid of custom). Then run make mrproper oldconfig dep. Then retry the rpmbuild --rebuild on the NVIDIA_kernel .srpm file.
|All times are GMT -5. The time now is 04:45 AM.|
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.