PDA

View Full Version : can't map registers


yourlord
03-01-03, 05:07 AM
I've had this problem since the 2960 version drivers.. I've been living in no 3D linux world running the default "nv" driver that comes with XFree86. I just downloaded and installed 4191 in hopes the issue had been solved..

I'm running XFree86 v4.2.0
The problem exists with any driver version from 2960+ and incudes 4191..

I downloaded, compiled and installed the kernel module.. It does insert into the kernel when I insmod it.. It is the correct driver being inserted:
-----
Command line:
/etc/X11>modprobe nvidia
Warning: loading /lib/modules/2.4.18/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
/etc/X11>lsmod
Module Size Used by Tainted: P
nvidia 1467072 0 (unused)
serial 45380 1
parport_pc 21928 1 (autoclean)
lp 6144 0 (unused)
parport 24928 1 [parport_pc lp]

From /var/log/messages:
Mar 1 05:38:40 domination kernel: 0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4191 Mon Dec 9 11:49:01 PST 2002

----
When I try to start X with the nvidia driver I get:

----
Console output:
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration.

From /var/log/messages:
Mar 1 06:04:35 domination kernel: 0: NVRM: failed to map registers, aborting!!
Mar 1 06:04:35 domination kernel: 0: NVRM: rm_init_adapter failed
-----

Any ideas?

Thunderbird
03-01-03, 07:04 AM
Perhaps the permissions on /dev/nv* are wrong? The current user needs read/write permissions to it.

yourlord
03-01-03, 02:28 PM
I checked all that back in the 2960 days.. Everything is fine as best I can tell except it doesn't work..

yourlord
03-01-03, 06:34 PM
Ok I figured it out finally.. In the kernel I had enabled the riva framebuffer device support and this had apparently been interfering with the nvidia kernel module's ability to take over control of the card.. I recompiled the kernel without this support and she works great now..

Nvidia should note this incompatibility in the linux installation instructions to avoid this issue effecting others in the future.