Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 2010 11:54:27 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        alc@freebsd.org, Garrett Cooper <yanefbsd@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org>, Alan Cox <alc@cs.rice.edu>
Subject:   Re: nvidia-driver 195.22 use horribly broken on amd64 between	r206173 and
Message-ID:  <4BFEBFE3.9030606@FreeBSD.org>
In-Reply-To: <20100526165141.GF83316@deviant.kiev.zoral.com.ua>
References:  <AANLkTil33IEVGXxsjV1oqfBgKQq-aIJ9Ur1U0Gn8Gplt@mail.gmail.com>	<4BFD4AE6.5040105@cs.rice.edu> <20100526165141.GF83316@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BFEBFE3.9030606>