|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
NVdriver kernel module doesn't load
First I wasn't able to to even start OpenGL applications,so I installed Mesa 4 and now I can run Opengl apps but its damn slow (even with low resolutions),so I assume that I need drivers for my Geforce 256.Under Windows I was able to run all the new games(RtCW,RF,HL) with high resolutions(OpenGL & DirectX),so it isnt my hardware.So I went to Nvidias site and downloaded NVchooser and downloaded the RPM's that it told me.I went to a lower boot level 3 (is that the right one?) and installed them,then edited my XF86Config-4 file (like it says in the Nvidia README).But when I rebooted it said that X couldnt be started and I was in a tty.According to my XFree86.0.log file the NVdriver kernel module couldnt be loaded,fortunaly the Nvidia README says something about it:
Nothing will work if the NVdriver kernel module doesn't function properly. If you see anything in the X log file like "(EE) NVIDIA(0): Failed to initialize the NVdriver kernel module!" then there is most likely a problem with the NVdriver kernel module. First, you should verify that if you installed from rpm that the rpm was built specifically for the kernel you are using. You should also check that the module is loaded ('/sbin/lsmod'); if it is not loaded try loading it explicitly with 'insmod' or 'modprobe' (be sure to exit the X server before installing a new kernel module). If you receive errors about unresolved symbols, then the kernel module has most likely been built using header files for a different kernel revision than what you are running. You can explicitly control what kernel header files are used by building NVdriver from the NVIDIA_kernel tar file with: 'make install SYSINCLUDE=/path/to/kernel/headers'. Please note that the convention for the location of kernel header files is in a state of transition, as is the location of kernel modules. If the kernel module fails to load properly, modprobe/insmod may be trying to load an older kernel module (assuming you've upgraded). cd'ing into the directory with the new kernel module and doing 'insmod ./NVdriver' may help. Another cause may be that the /dev/nvidia* device files may be missing. Finally, the NVdriver may print error messages indicating a problem -- to view these messages please check /var/log/messages, or wherever syslog is directed to place kernel messages. According to /sbin/lsmod the module is NOT loaded,but how do I explicitily load it?Can someone tell me how I can install the drivers so that I can play OpenGL games? Thanks in advance. |
|
#2
|
|||
|
|||
|
with "insmod" (if you supply the full path) or "modprobe" for making linux search for it. (just as nVidia said in the text...)
and you should run "depmod" after installing new modules, so modprobe can find it. if you donīt know where the module went, you can list the content of a rpm-package like this: say the package is called nvidia.rpm, you type "rpm -q -l nvidia.rpm"
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
I tried "depmod" and then "modprobe NVdriver" but it says that it cant find it.
When I do rpm -q -l on the nvidia kernel rmp,I get an message saying that a newer version is installed and not this rpm (so I dont know where it is).It says that the glx and kernel rpms should be the same version,and the two that the nvchooser gave me are,but appearantly I have some other version installed.So I downloaded that version and installed it,and it told me that its ready installed,so I tried -g -l,but then it said that the package wasnt installed. This is getting really really confusing,I have absolutely no idea what I should do (and it has been months since I was able to play 3d games). Last edited by Tuxie : October 10th, 2002 at 01:48 PM. |
|
#4
|
||||
|
||||
|
The NVchooser doesn't always work quit well. Which distro do you have? Try the tarball.
And look under /lib/modules/<kernel version> and see if it's there.
__________________
Words must be weighed, not counted. |
|
#5
|
|||
|
|||
|
I have Red Hat 7.3,what am I suposed to look for that in that directory?
|
|
#6
|
||||
|
||||
|
The NV module. While you're at it you'll see if you typed the correct module name
|
|
#7
|
|||
|
|||
|
it doesnt seem like theres a file named NVdriver,so i am stuck again.
|
|
#8
|
|||
|
|||
|
1. deinstall the driver that is currently installed.
rpm -q -a|grep -i nvidia (find the name of the package here) rpm -E nvidia.rpm (maybe -D, maybe -U ; dunno, canīt remember nor lookup since iīm not using rpm anymore... "man rpm" will help you) 2. install your new driver rpm -I nvidia-new.rpm (again, maybe itīs "rpm -i" - find the install command yourself) 3. make the devices (mknod -c 0 0 /dev/nvidia) - see the supplied "INSTALL" or "README" and "man mknod" for the correct major and minor numbers (0 0 here) 4. setup the boot-scripts to load your driver on boot: /etc/rc.d/boot.local: /sbin/insmod /lib/modules/<kernel-version>/NVdriver.o 5. THEN setup X to use it. as nVidia said - if you canīt make the kernel module work, the X server wonīt work either. if you cannot find the NVdriver.o, try this: find /lib -name NVDriver.o |
|
#9
|
||||
|
||||
|
Do you have anything that says "nv" on it?
|
|
#10
|
|||
|
|||
|
Wait,I have NVdriver in the directory 2.4.18-10/kernel/drivers/video/NVdriver,but when I do uname it says that I am using 2.4.18-3 (I have two folder, 2.4.18-3 and 2.4.18-10).
|
|
#11
|
|||
|
|||
|
try to "insmod" it. if it fails, you have to get the source distribution and compile yourself. maybe it doesīnt work. since you have a -3 in your kernel version, i assume this is not a standard kernel
maybe it wonīt compile at all. try to get the "official" 2.4.18. then it will work 99.5% (i never say anything is 100% )[edit] maybe try to get 2.4.18-10 kernel... [/edit] Last edited by M.Hirsch : October 11th, 2002 at 03:39 PM. |
|
#12
|
|||
|
|||
|
I havent done anything with my kernel,this is the one that came with my RH 7.3.Hmmm,I don't think that I know how to compile/install another kernel version(tried it a couple of times some time ago,ended up ****ing it up,so I reinstalled RH).
Btw,I find this to be getting a bit complicated,just for installing a stupid card driver,stupid nvidia people.Not that I dont like a challange,but I have been trying to do this for months,and I havent played Tuxracer for such a long time!! Last edited by Tuxie : October 11th, 2002 at 03:45 PM. |
|
#13
|
|||
|
|||
|
When I try to install the new NVIDIA_kernel...rpm I always get:
Preparing... ########################################### [100%] package NVIDIA_kernel-1.0-3123.rh73up_2.4.18_10 (which is newer than NVIDIA_kernel-1.0-3123.rh73up) is already installed And always when I try to install the NVIDIA_GLX...rpm I get: Preparing... ########################################### [100%] package NVIDIA_GLX-1.0-3123 is already installed Find /lib -name NVDriver.o returned to results. |
|
#14
|
|||
|
|||
|
did you UNINSTALL the old version first?
if not, you have to use "rpm -U" instead of "rpm -i" to UPGRADE instead of INSTALL. |
|
#15
|
|||
|
|||
|
The problem is that when I do rpm -U,I get the same message.
While according to the readme: $ rpm -Uvh NVIDIA_kernel.i386.rpm should upgrade the it. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > NVdriver kernel module doesn't load |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|