nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Failed to load module "NVdriver" (module does not exist, 0) (http://www.nvnews.net/vbulletin/showthread.php?t=7146)

castor_fou 02-04-03 05:03 PM

Failed to load module "NVdriver" (module does not exist, 0)

i'm using stable gentoo (#ACCEPT_KEYWORDS="~x86" commented).
New material so fresh install :

i have started from stage1 (1.4rc2) on athlon mp architecture.

I don't have any emerge problem. However i'm unable to start X :


[root@gui - 19:49:21 - ~/files_2_save] # startx

XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.19-gentoo-r10 i686 [ELF]
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Feb  4 19:51:52 2003
(==) Using config file: "/etc/X11/XF86Config"
(EE) Failed to load module "NVdriver" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found

However NVdriver is present on my system :


[root@gui - 19:51:53 - ~/files_2_save] # insmod NVdriver
Using /lib/modules/2.4.19-gentoo-r10/video/NVdriver
Warning: loading /lib/modules/2.4.19-gentoo-r10/video/NVdriver will taint the kernel: non-GPL license - NVIDIA
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module NVdriver loaded, with warnings
[root@gui - 19:52:41 - ~/files_2_save] # lsmod
Module                  Size  Used by    Tainted: P
NVdriver            1067840  0  (unused)
nls_cp850              3548  1  (autoclean)
smbfs                  33112  1  (autoclean)
rtc                    7712  0  (autoclean)
nls_iso8859-1          2780  3  (autoclean)
ntfs                  71148  2  (autoclean)
sr_mod                12184  0  (unused)
eepro100              18488  1

i don't know what to think of it.

zatnktel 02-04-03 10:18 PM

so you installed the glx driver and the kernel driver
i did that and it did not work so i downloaded the kernel source tar.gz and unziped it and used make and make install and edited the xf86config file in the etc/x11 and made the changes download the readme file and do what it says it worked for me now i can play ut2003 and ut

email me if you need any more help

KingFish 02-04-03 10:48 PM

Why does XF86 tries to load NVdriver? On my system (Debian Sid) the GLX module for XF86 is called 'nvidia'... Check your /etc/X11/XF86Config-4 for the line ' Driver "NVdriver" ' and try to replace it with ' Driver "nvidia" '.

Hope this helps, bye

bwkaz 02-05-03 08:07 AM

Yes, in XF86Config, you have to be using Driver "nvidia". You also can't say Load "NVdriver" up in the Modules section.

You're getting errors from X that it can't find NVdriver, not from your kernel. Which means that you told X, somehow (almost always, through the config file), to load a module called NVdriver. There is no such thing -- X looks for its modules in /usr/X11R6/lib/modules/extensions (and /usr/X11R6/lib/modules/drivers for Driver "xxxx" lines), for a file named lib<module name>.so and lib<module name>.a. So if you have a Load "NVdriver" line in there, it's looking for a libNVdriver.so and libNVdriver.a file in the extensions directory. Obviously, neither of these exist.

You need to be telling your kernel to load the NVdriver kernel module, not X. A lot of distros do this with /etc/modules (they alias either char-major-195 or /dev/nvidia* to NVdriver in that file), but some (like Slackware for one) use an /etc/rc.modules file that just lists all the modules to load. If Gentoo works that way, then just add NVdriver to the bottom of that file.

If you're saying Driver "NVdriver", then change that to Driver "nvidia" (so it looks for nvidia_drv.o rather than NVdriver_drv.o in the .../lib/modules/drivers directory), and if you have a Load "NVdriver", get rid of it.

All times are GMT -5. The time now is 02:14 AM.

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