From owner-freebsd-hackers Thu Nov 14 9:47:57 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 B8B7F37B401; Thu, 14 Nov 2002 09:47:55 -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 E4DC343E42; Thu, 14 Nov 2002 09:47:54 -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 gAEHkRkY033351; Thu, 14 Nov 2002 12:46:28 -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 gAEHkRen033348; Thu, 14 Nov 2002 12:46:27 -0500 (EST) (envelope-from culverk@yumyumyum.org) X-Authentication-Warning: alpha.yumyumyum.org: culverk owned process doing -bs Date: Thu, 14 Nov 2002 12:46:27 -0500 (EST) From: Kenneth Culver To: Christian Zander Cc: John Baldwin , Subject: Re: panic with nvidia drivers (but not sure it's nvidia's fault) In-Reply-To: <20021114182529.L18507@chronos> Message-ID: <20021114124358.V32961-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-1.4 required=5.0 tests=IN_REP_TO,X_AUTH_WARNING,DOUBLE_CAPSWORD,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 > All code interacting with FreeBSD data structures resides in the open > part of the kernel module; a pointer to the newly allocated object is > passed to rm_alloc_agp_pages as an opaque pointer, it is required later > when the NVIDIA AGP GART driver needs to obtain the physical addresses > of the individual pages in the allocation. This happens with calls to > nv_agp_translate_address. I don't see rm_alloc_agp_pages anywhere in the open part of the source code. I just looked again... I see the function prototype in nv.h, but that's it. screwdriver:~/dl_temp/NVIDIA_FreeBSD-1.0-3203:> grep -R rm_alloc_agp_pages * Binary file obj/Module-nvkernel matches src/nvidia_subr.c: if (rm_alloc_agp_pages(nv, address, count, class, private, src/nvidia_subr.c: if (rm_alloc_agp_pages(nv, address, count, class, private, src/nv.h:RM_STATUS rm_alloc_agp_pages (nv_state_t *, VOID **, U032, U032, VOID **, U032 *); so from what I can tell, it IS in the proprietary part of the driver. > It'd be interesting to learn if the code path you suspect really is > the one taken in the case of this failure. Is this problem easily > reproducible on your machine? If so, how and with what hard/software > combination? > Given the above, I'm inclined to think my original trace through the code is correct, although I didn't look to closely. Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message