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

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-02-03, 04:32 PM   #13
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

insmod nvidia will only load the driver if you have installed driver version 4191. If the last driver that you installed was <= 3123, then you have to insmod NVdriver instead.

But the real way to tell what's loaded is to lsmod. Then, if you see either NVdriver or nvidia in the output, you can conclude that the kernel module is loaded, regardless of what it's called. Much easier.

If lsmod doesn't show either nvidia or NVdriver, then you have to load it, by modprobe'ing either NVdriver or nvidia. Since insmod nvidia didn't work, it seems that you either:

1) Don't have any NVIDIA_kernel package installed
2) Have the wrong NVIDIA_kernel package installed (i.e. you installed one that was looking for the wrong Linux kernel version)
Or
3) Have NVIDIA_kernel.1.0-3123 or before installed.

Do an rpm -qa | grep -i nvidia to show which packages you have, and also a uname -r to show which kernel you run. Post the results of both of these.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 02-06-03, 03:07 PM   #14
jjsimas
Registered User
 
Join Date: Feb 2003
Posts: 10
Default

ok i did lsmod:
no nvidia and no NVdriver

then i did the rpm -qa | grep -i nvidia and got:

[root@root]# rpm -qa | grep -i nvidia
NVIDIA_kernel-1.0-4191.rh80up_2.4.18_18.8.0
NVIDIA_GLX-1.0-4191
[root@root]# uname -r
2.4.18-24.8.0

even when i was running kernel 2.4.18-18.8.0 i was
having the same problem.

so what does it mean when the rpm command
says i have the write things, but the lsmod
command says i don't?

what can i do to get the nvidia module loaded?
jjsimas is offline   Reply With Quote
Old 02-06-03, 03:32 PM   #15
Stratman
Registered User
 
Join Date: Jul 2002
Location: Nashville, TN
Posts: 4
Send a message via ICQ to Stratman
Default

You will need to remove the current Nvidia rpm's. They were compiled for your 2.4.18_18.8.0 kernel.

So start with this

rpm -e NVIDIA_GLX
rpm -e NVIDIA_kernel

Once those are removed, make new ones for your 2.4.18-24.8.0 kernel. I would suggest grabbing the kernel drivers as well as the GLX.

Then do the following

rpmbuild --rebuild NVIDIA_kernel-1.0-4191.src.rpm
rpmbuild --rebuild NVIDIA_GLX-1.0-4191.src.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/NVIDIA_kernel-1.0-4191.i386.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/NVIDIA_GLX-1.0-4191.i386.rpm

Then edit /etc/X11/XF86Config(-4). Making sure the driver is nvidia, "Load" "glx" is there. Once that is done all that's left is init 3 then init 5. You should be up and going then.

Yes you need to assign an IRQ to your video, other than that you should be seeing the Nvidia Logo as X starts up.
__________________
If Windows is superior, why doesn't IT know what I want when I hit TAB?
Stratman is offline   Reply With Quote
Old 02-06-03, 03:56 PM   #16
jjsimas
Registered User
 
Join Date: Feb 2003
Posts: 10
Default

you are awesome.

got paypal? i can send you some $.

or if you are nvidia technician, then i can donate to fav. cause...

jason

thanks again.
jjsimas is offline   Reply With Quote
Old 02-06-03, 04:04 PM   #17
Stratman
Registered User
 
Join Date: Jul 2002
Location: Nashville, TN
Posts: 4
Send a message via ICQ to Stratman
Default

Not a technician....... AT Nvidia anyways

No problem....

You can send a hit or two my way if you want That is the p1mp icon right LOL
__________________
If Windows is superior, why doesn't IT know what I want when I hit TAB?
Stratman is offline   Reply With Quote
Old 02-07-03, 11:14 AM   #18
zatnktel
Registered User
 
Join Date: Feb 2003
Location: australia
Posts: 8
Send a message via AIM to zatnktel
Default

try the tar ball for the kernel driver i had a problem like that the kernel rpm does not install the nvidia.o but the tar ball does
zatnktel is offline   Reply With Quote
Old 02-07-03, 03:32 PM   #19
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

OK, this guy's problem is solved too... but anyway,

Quote:
Originally posted by zatnktel
the kernel rpm does not install the nvidia.o but the tar ball does
Yes, the kernel RPM does install nvidia.o (assuming you're using 4191). The thing is, though, if the version of your running kernel doesn't match the version kernel that the rpm was built for (which is right in the name of the rpm file, btw), it will install it into the wrong place.

If you download NVIDIA_kernel-xxxx-2.4.18-18.8.0, for example, then it is hardcoded to put the nvidia.o file into /lib/modules/2.4.18-18.8.0/kernel/drivers/video. If you are not running kernel 2.4.18-18.8.0 (if you've upgraded to -24.8.0 for example), then it will appear the nvidia.o never got installed, but it did. It's just not living where modprobe is looking for it.
__________________
Registered Linux User #219692
bwkaz 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


All times are GMT -5. The time now is 02:53 PM.


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