From owner-freebsd-hackers Thu Nov 14 7:56:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FF7137B401; Thu, 14 Nov 2002 07:56:44 -0800 (PST) Received: from alpha.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C09143E3B; Thu, 14 Nov 2002 07:56:43 -0800 (PST) (envelope-from culverk@yumyumyum.org) Received: from alpha.yumyumyum.org (localhost [127.0.0.1]) by alpha.yumyumyum.org (8.12.6/8.12.5) with ESMTP id gAEFtHkY032843; Thu, 14 Nov 2002 10:55:17 -0500 (EST) (envelope-from culverk@yumyumyum.org) Received: from localhost (culverk@localhost) by alpha.yumyumyum.org (8.12.6/8.12.5/Submit) with ESMTP id gAEFtHr1032840; Thu, 14 Nov 2002 10:55:17 -0500 (EST) (envelope-from culverk@yumyumyum.org) X-Authentication-Warning: alpha.yumyumyum.org: culverk owned process doing -bs Date: Thu, 14 Nov 2002 10:55:17 -0500 (EST) From: Kenneth Culver To: John Baldwin Cc: freebsd-hackers@FreeBSD.org Subject: RE: panic with nvidia drivers (but not sure it's nvidia's fault) In-Reply-To: Message-ID: <20021114104742.H32489-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-1.9 required=5.0 tests=IN_REP_TO,X_AUTH_WARNING,NO_MX_FOR_FROM,AWL version=2.31 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Are you sure that nv_free_vm_object() is free'ing a valid object? > I'm not positive, but looking at the code this is what happens. first an object is allocated, then it goes and finds some nvidia specific data structure contained in that object (from what I can tell), then it calls rm_alloc_agp_pages (which is a function that I don't have access to. it is in the proprietary part of the driver I guess), then calls nv_free_vm_object(). I suppose that rm_alloc_agp_pages could very well be screwing up the vm object, in which case the bug really is nvidia's driver's fault. Thanks. I feel better now because this whole piece of code can be totally avoided by using FreeBSD's agpgart instead of nvidia's :-) Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message