From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 6 13:33:58 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D98CD1065670 for ; Thu, 6 Mar 2008 13:33:58 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id C7F968FC2A for ; Thu, 6 Mar 2008 13:33:58 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id 2799C1A4D84; Thu, 6 Mar 2008 05:33:33 -0800 (PST) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Thu, 6 Mar 2008 08:31:26 -0500 User-Agent: KMail/1.9.7 References: <1204671599.47cdd46f6b1e2@imp.free.fr> In-Reply-To: <1204671599.47cdd46f6b1e2@imp.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200803060831.27056.jhb@freebsd.org> Cc: =?iso-8859-1?q?Fr=E9d=E9ric_PRACA?= Subject: Re: Kernel crash on Asus A7N8X-X X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2008 13:33:58 -0000 On Tuesday 04 March 2008 05:59:59 pm Fr=E9d=E9ric PRACA wrote: > Hello dear hackers, > I own a Asus A7N8X-X motherboard (NForce2 chipset) with a Radeon 9600 vid= eo > card. After upgrading from 6.3 to 7.0, I launched xorg which crashed the > kernel. After looking in the kernel core dump, I found that the > agp_nvidia_flush_tlb function of /usr/src/sys/pci/agp_nvidia.c crashed on > the line 377. The loop fails from the beginning (when i=3D=3D0). I commen= ted > out the two last loops and it seems to work now but as I didn't understand > what is this code for, I'd like to have some explanation about it and want > to know if someone got the same problem. The Linux AGP driver has the same code. It appears to be forcing a read of= =20 the TLB registers to force prior writes to clear the TLB entries to flush=20 perhaps? I'm not sure why you are getting a panic. What kind of fault did= =20 you get? (The original kernel panic messages would be needed.) =2D-=20 John Baldwin