Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-12-03, 11:54 AM   #1
dittohead
Registered User
 
dittohead's Avatar
 
Join Date: Dec 2002
Posts: 14
Default 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?
dittohead is offline   Reply With Quote
Old 01-12-03, 06:17 PM   #2
Tom1976
Registered User
 
Join Date: Jan 2003
Posts: 13
Default

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.
Tom1976 is offline   Reply With Quote
Old 01-12-03, 07:49 PM   #3
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

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...).
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 01-12-03, 08:52 PM   #4
3777
Registered User
 
3777's Avatar
 
Join Date: Dec 2002
Posts: 199
Default

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.......?
3777 is offline   Reply With Quote
Old 01-12-03, 10:40 PM   #5
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

I'll reply to that thread... (didn't see it until now)
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 01-12-03, 11:06 PM   #6
Tom1976
Registered User
 
Join Date: Jan 2003
Posts: 13
Default

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.
Tom1976 is offline   Reply With Quote
Old 01-14-03, 02:04 PM   #7
dittohead
Registered User
 
dittohead's Avatar
 
Join Date: Dec 2002
Posts: 14
Default

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
dittohead is offline   Reply With Quote
Old 01-14-03, 04:01 PM   #8
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

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.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote

Old 01-14-03, 06:47 PM   #9
dittohead
Registered User
 
dittohead's Avatar
 
Join Date: Dec 2002
Posts: 14
Default thx man

thanks!!! it worked GREAT!!!!! no bumps!!!!
dittohead is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 04:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 11:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 05:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 12:04 PM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 09:22 PM

All times are GMT -5. The time now is 06:27 AM.


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