Am Freitag, 6. April 2007 schrieb Brad Fuller: > where did you get these patches? I have an MX4000 and apparently the > last nvidia driver to support this chipset is v9731, but I can't get it > to work. I assume I need these patches and possibly copy over the > obsoleted #define SA_..... entries? > > And, what is the "migration helpers patch"? > > Basically: do you know what I need to do to make the nvidia driver > version that works for MX4000 work? I use the two attached patches: NVIDIA-Linux-x86-1.0-9631-pkg1_IRQF_SHARED.patch against nvidia driver and 20-rt_EXPORT_SYMBOL.patch against the kernel. Cheers, Karsten
Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: Makefile. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: Module.symvers. diff -pur /tmp/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c --- /tmp/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c 2006-11-10 03:15:49.000000000 +0100 +++ NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c 2007-03-30 20:46:59.000000000 +0200 @@ -1846,7 +1846,7 @@ int nv_kern_open( } status = request_irq(nv->interrupt_line, nv_kern_isr, - SA_INTERRUPT | SA_SHIRQ, "nvidia", + IRQF_SHARED, "nvidia", (void *) nvl); if (status != 0) { Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: nv_compiler.h. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: nv-i2c.o. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: .nv-i2c.o.cmd. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: nvidia.ko. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: .nvidia.ko.cmd. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: nvidia.mod.c. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: nvidia.mod.o. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: .nvidia.mod.o.cmd. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: nvidia.o. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: .nvidia.o.cmd. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: nv.o. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: .nv.o.cmd. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: nv-vm.o. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: .nv-vm.o.cmd. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: os-agp.o. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: .os-agp.o.cmd. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: os-interface.o. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: .os-interface.o.cmd. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: os-registry.o. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: .os-registry.o.cmd. Nur in NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv: .tmp_versions.
diff -pur rt8/mm/memory.c rt8-kw/mm/memory.c --- rt8/mm/memory.c 2007-02-07 09:41:32.000000000 +0100 +++ rt8-kw/mm/memory.c 2007-02-07 10:11:56.000000000 +0100 @@ -2490,7 +2490,7 @@ void pagefault_disable(void) */ barrier(); } -EXPORT_SYMBOL_GPL(pagefault_disable); +EXPORT_SYMBOL(pagefault_disable); void pagefault_enable(void) { @@ -2501,7 +2501,7 @@ void pagefault_enable(void) barrier(); current->pagefault_disabled--; } -EXPORT_SYMBOL_GPL(pagefault_enable); +EXPORT_SYMBOL(pagefault_enable); /* * By the time we get here, we already hold the mm semaphore
_______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user