nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   upgraded kernel, drivers no longer load!!! (http://www.nvnews.net/vbulletin/showthread.php?t=6196)

dittohead 01-12-03 10:54 AM

upgraded kernel, drivers no longer load!!!
 
i just upgraded my redhat kernel thru up2date, now my drivers won't install!!!

here what it says:

Quote:

[root@localhost nv]# rpm -ivh NVIDIA_kernel-1.0-4191.rh80up.athlon.rpm
Preparing... ########################################### [100%]
1:NVIDIA_kernel ########################################### [100%]
modprobe: Can't locate module nvidia

Failed to install nvidia.o

error: %post(NVIDIA_kernel-1.0-4191.rh80up) scriptlet failed, exit status 1
when i cd to this directory:
/lib/modules/

and type dir, it says this:

2.4.18-14 2.4.18-18.8.0 2.4.18-19.8.0

the one in bold is the kernel i'm using however when i install the nvidia kernel rpm, it only installs nvidia.o to the the number in italics.

is there a way to fix this?

Tom1976 01-12-03 05:17 PM

maybe I'm way off base, but try to build from the source RPM's.

rpm -e NVIDIA_GLX and NVIDIA_kernel.
Then follow the nvidia README to rpmbuild the src rpms.

bwkaz 01-12-03 06:49 PM

When you install a new kernel, it installs its own modules directory, yes. That is the intended behavior.

The reason the RPM only puts an nvidia.o module in one place is that that is the only kernel version that that nvidia.o kernel module file will EVER work with. When you change kernels, you MUST recompile the NVIDIA_kernel package.

If you plan on updating your kernel often, then instead of going from source RPMs, it may be better to install from tarballs. They work the same (for the most part), but the tarballs will just overwrite other versions instead of requiring that other versions be removed first (in other words, when you rebuild the NVIDIA_kernel, you'll have to remove the version you have installed before you can install the new one -- which means you need to uninstall NVIDIA_GLX as well, and reinstall it after you're done, which is kind of a pain when you can just overwrite files...).

3777 01-12-03 07:52 PM

I think that may be related to the problem i'm having. How would I uninstall the 4191 drivers for 2.4-18.8.0 so I can re-make then for 18-19.8 ??? Won't let me build them from Tar.gz right now.......?

bwkaz 01-12-03 09:40 PM

I'll reply to that thread... (didn't see it until now) ;)

Tom1976 01-12-03 10:06 PM

I think that may be related to the problem i'm having. How would I uninstall the 4191 drivers for 2.4-18.8.0 so I can re-make then for 18-19.8 ??? Won't let me build them from Tar.gz right now.......?

rpm -e NVIDIA_GLX
rpm -e NVIDIA_kernel

That should remove the two packages, so you can start fresh.

run rpm -qa | grep NVIDIA
to see all installed packages with the string "NVIDIA" in it's name.

dittohead 01-14-03 01:04 PM

heres what happens:

Q: When installing/upgrading by srpm, the command:

`rpm --rebuild NVIDIA_kernel-1.0-4191.src.rpm`

only prints out a list of rpm command line options.



A: You most likely don't have the rpm development packages installed.

In most situations you can fix this problem by installing the rpm-devel

package for your distribution. Alternatively, you can install/upgrade

by tar file as the tar files don't require rpm.


how do i install the devel packages, where are they?!?!?!!? rh8.0

bwkaz 01-14-03 03:01 PM

Actually, before you try that, try rpmbuild --rebuild NVIDIA_kernel-1.0-4191.src.rpm instead (i.e. replace rpm with rpmbuild in the command). RedHat recently moved all the rpm-devel stuff into a separate executable, rpmbuild.

If that still doesn't work, then boot to your RH installation CD, select "upgrade" rather than "install", and select the appropriate packages inside the installer. Alternatively, you could search around on the CDs for the rpm-devel RPM and install it manually, but there is the possibility of you running into dependency problems that way. When you use the CD's native package installer, the dependencies get installed for you.

dittohead 01-14-03 05:47 PM

thx man
 
thanks!!! it worked GREAT!!!!! no bumps!!!!:afro:


All times are GMT -5. The time now is 09:17 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.