Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] nvidia_driver

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Robin Cook <rcook AT wyrms.net>
  • To: Source Mage - Discuss <sm-discuss AT lists.ibiblio.org>
  • Cc:
  • Subject: Re: [SM-Discuss] nvidia_driver
  • Date: Sun, 12 Dec 2004 13:55:52 -0600

I think this is the patch you need to fix that.
It is what I had to apply to the 6111 driver to get it to work with
newer kernels.

CuZnDragon

On Sun, 2004-12-12 at 18:29 +0800, Craig Dyke wrote:
> I am using 1.0-6111 with test grimoire and devel sorcery.
>
> This seemed to work ok in 2.6.9-rc2.
>
> My card is a GeForce2MX as well.
>
> Craig
>
> Wolfgang Scheicher wrote:
>
> >Am Sonntag, 12. Dezember 2004 11:07 schrieb Craig Dyke:
> >
> >
> >>Howdy
> >>
> >>Is anyone else having problems with the nvidia_driver and 2.6.10-rc3
> >>kernel?
> >>
> >>I seem to get the following when I cast -c nvidia_driver:
> >>
> >>nvidia: module license 'NVIDIA' taints kernel.
> >>nvidia: Unknown symbol __VMALLOC_RESERVE
> >>nvidia: Unknown symbol pci_find_class
> >>
> >>Just curious if only me?
> >>
> >>
> >
> >uh - which version of the driver?
> >
> >would have to do some test builds, but if i remember correctly it is the
> >same
> >that you get with driver 1.0-6111 and kernel 2.6.9 unless you use the
> >patch...
> >... but then nividia released 1.0-6629 which works fine with 2.6.9
> >
> >However, i just noticed that one did roll back the driver in test because
> >of
> >issues with TNT cards...
> >
> >Actually i remember the nvidia driver being way less stable on my old TNT1
> >and
> >TNT2 cards than on my GForce2MX, but that is quite some time ago. Can
> >anyone
> >tell me how well the drivers did work on TNT cards in the last year?
> >
> >The point is: i doubt that there will be a new driver soon, and i doubt
> >that a
> >new driver will work perfectly with that old cards. What shall we do?
> >
> >
> >Worf
> >_______________________________________________
> >SM-Discuss mailing list
> >SM-Discuss AT lists.ibiblio.org
> >http://lists.ibiblio.org/mailman/listinfo/sm-discuss
> >
> >
> >
> >
>
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
--- NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c.sav 2004-11-13 05:52:26.0000
00000 -0800
+++ NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c 2004-11-13 05:57:46.0000
00000 -0800
@@ -1606,7 +1606,7 @@

/* prevent the swapper from swapping it out */
/* mark the memory i/o so the buffers aren't dumped on core dumps */
- vma->vm_flags |= (VM_LOCKED | VM_IO);
+ vma->vm_flags |= VM_IO;
}

/* Magic allocator */
@@ -1680,7 +1680,7 @@

/* prevent the swapper from swapping it out */
/* mark the memory i/o so the buffers aren't dumped on core dumps */
- vma->vm_flags |= (VM_IO | VM_LOCKED);
+ vma->vm_flags |= VM_IO;
}

vma->vm_file = file;

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page