On 05/26/10 09:51, Kostik Belousov wrote:
I did a quick glance over the driver, try this:
http://people.freebsd.org/~kib/misc/nvidia-vm_page_lock.1.patch
I did not even compiled the patched driver.
cc -pipe -g -g -g -DNV_VERSION_STRING=\"195.36.15\" -D__KERNEL__ -DNVRM
-O -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/src -I. -I@
-I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common -g
-mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx
-mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign
-fformat-extensions -c nvidia_subr.c
cc1: warnings being treated as errors
nvidia_subr.c: In function 'nv_alloc_system_pages':
nvidia_subr.c:1306: warning: implicit declaration of function 'vm_page_lock'
nvidia_subr.c:1306: warning: nested extern declaration of 'vm_page_lock'
nvidia_subr.c:1308: warning: implicit declaration of function
'vm_page_unlock'
nvidia_subr.c:1308: warning: nested extern declaration of 'vm_page_unlock'
*** Error code 1
FYI,
Doug
--
... and that's just a little bit of history repeating.
-- Propellerheads
Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"