Re: Nvidia driver
On Sat, Nov 11, 2000 at 12:24:08AM +0100, Mithrandir wrote:
> i will attach a log-file from a compilation and installation of the modules, in
> hope someone already got the same prob (and perhaps already solved it ;) )
> By the way, the graphic-board is a "Elsa Erazor III Pro - TNT2"
> perhaps this is the problem :((
indeed somebody has, I picked up a patch (attached) from the ice-dcc bot on
the openprojects irc network. I have 2 boxes, one with an Erazor II and one
with an Erazor III, I've only tested this patch on the first one, but X
comes up fine, but the system locks shortly thereafter due to other reasons,
the box with the Erazor III runs fine with this driver and test9 though, I
intend to try out test10 over the weekend on it. if you run into further
problems getting things configured with these drivers the people in #nvidia
(on the openprojects servers) may also be of help.
Marc
diff -ru NVIDIA_kernel-0.9-5/nv.c nvdriver/nv.c
--- NVIDIA_kernel-0.9-5/nv.c Sat Aug 26 02:48:38 2000
+++ nvdriver/nv.c Wed Nov 1 00:29:36 2000
@@ -553,7 +553,7 @@
if (map_nr)
{
mem_map_reserve(map_nr);
- mem_map_inc_count(map_nr);
+ atomic_inc(&((map_nr)->count));
}
}
}
@@ -580,7 +580,7 @@
#endif
if (map_nr)
{
- mem_map_dec_count(map_nr);
+ atomic_dec(&((map_nr)->count));
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)
if (atomic_read(&mem_map[map_nr].count) == 1)
#else
Reply to: