From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 1 17:35:12 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8FD316A4CE for ; Fri, 1 Apr 2005 17:35:12 +0000 (GMT) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB9B343D31 for ; Fri, 1 Apr 2005 17:35:09 +0000 (GMT) (envelope-from jkim@niksun.com) Received: from [10.70.0.244] (daemon.mj.niksun.com [10.70.0.244]) by anuket.mj.niksun.com (8.13.1/8.12.11) with ESMTP id j31HZ8J7036612; Fri, 1 Apr 2005 12:35:09 -0500 (EST) (envelope-from jkim@niksun.com) From: Jung-uk Kim Organization: Niksun, Inc. To: freebsd-amd64@freebsd.org Date: Fri, 1 Apr 2005 12:35:05 -0500 User-Agent: KMail/1.6.2 References: <20050401090927.M62447@martymac.com> In-Reply-To: <20050401090927.M62447@martymac.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_JZYTCVKHiPq+FQk" Message-Id: <200504011235.05993.jkim@niksun.com> X-Virus-Scanned: ClamAV 0.83/799/Fri Apr 1 05:49:13 2005 on anuket.mj.niksun.com X-Virus-Status: Clean Subject: Re: K8N-E deluxe / Nforce3 250 : no agp support yet ? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 17:35:13 -0000 --Boundary-00=_JZYTCVKHiPq+FQk Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline On Friday 01 April 2005 04:32 am, Ganael Laplanche wrote: > Hi all, > > I'm running 5.4-PRERELEASE #13 for AMD64 and can't get agp working. > > My graphic card is an ATI Radeon 9000. Xorg works well, but drm > can't load because of the lack of agp device. I get these errors > each time I start X : > > # dmesg > [...] > error: [drm:pid564:radeon_cp_init] *ERROR* radeon_cp_init called > without lock held error: [drm:pid564:radeon_unlock] *ERROR* Process > 564 using kernel context 0 [...] > > However, an agp device should be detected ; here is my kernel conf > file : > > [...] > device acpi > device isa > device pci > device agp > > device vga > device splash > device radeondrm # ATI Radeon 9000 > [...] > > But no device is detected at boot : > # dmesg | grep -i agp > doesn't show anything > > Isn't nforce3 250 agp controller supported yet ? Try the attached patch. I had it for long time but I forgot to file a PR. ;-) Jung-uk Kim > I know I'm not the only one, since I saw a thread on a forum a few > weeks ago (I can't remember the URL...). I also went to > http://dri.freedesktop.org/wiki/DriTroubleshooting but without > success... > > Any idea ? Does someone get the same errors ? > > Ganaël LAPLANCHE > ganael.laplanche@martymac.com > http://www.martymac.com > Tel : (+33)6.84.03.57.24. --Boundary-00=_JZYTCVKHiPq+FQk Content-Type: text/x-diff; charset="iso-8859-1"; name="agp_nforce3.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="agp_nforce3.diff" Index: agp_amd64.c =================================================================== RCS file: /home/ncvs/src/sys/pci/agp_amd64.c,v retrieving revision 1.5 diff -u -r1.5 agp_amd64.c --- src/sys/pci/agp_amd64.c 24 Feb 2005 21:32:55 -0000 1.5 +++ src/sys/pci/agp_amd64.c 1 Apr 2005 17:31:33 -0000 @@ -82,6 +82,8 @@ return ("AMD 8151 AGP graphics tunnel"); case 0x07551039: return ("SiS 755 host to AGP bridge"); + case 0x00d110de: + return ("NVIDIA nForce3 AGP Controller"); case 0x02041106: return ("VIA 8380 host to PCI bridge"); case 0x02821106: Index: agp_nvidia.c =================================================================== RCS file: /home/ncvs/src/sys/pci/agp_nvidia.c,v retrieving revision 1.8 diff -u -r1.8 agp_nvidia.c --- src/sys/pci/agp_nvidia.c 24 Feb 2005 22:33:05 -0000 1.8 +++ src/sys/pci/agp_nvidia.c 1 Apr 2005 17:31:33 -0000 @@ -109,7 +109,7 @@ case NVIDIA_DEVICEID_NFORCE2: return ("NVIDIA nForce2 AGP Controller"); } - return ("NVIDIA Generic AGP Controller"); + return (NULL); } static int --Boundary-00=_JZYTCVKHiPq+FQk--