From owner-freebsd-current@FreeBSD.ORG Tue Dec 27 17:28:14 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 772AE16A41F; Tue, 27 Dec 2005 17:28:14 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA8FB43D5C; Tue, 27 Dec 2005 17:28:13 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 4665345 for multiple; Tue, 27 Dec 2005 12:30:01 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id jBRHS8jq019577; Tue, 27 Dec 2005 12:28:08 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Norikatsu Shigemura Date: Tue, 27 Dec 2005 11:31:15 -0500 User-Agent: KMail/1.8.2 References: <20051225135216.Y1294@atlantis.atlantis.dp.ua> <20051226014329.152c6918.nork@FreeBSD.org> In-Reply-To: <20051226014329.152c6918.nork@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512271131.16479.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1218/Mon Dec 26 08:46:59 2005 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: Dmitry Pryanishnikov , freebsd-current@freebsd.org Subject: Re: vgapci doesn't want to attach agp on ASUS M5A X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2005 17:28:14 -0000 On Sunday 25 December 2005 11:43 am, Norikatsu Shigemura wrote: > On Sun, 25 Dec 2005 14:28:47 +0200 (EET) > > Dmitry Pryanishnikov wrote: > > I've tried both to compile devices agp,drm,i915 to the kernel and load > > them via /boot/loader.conf - result with the stock kernel was the same: > > vgapci0: port 0xec00-0xec07 mem > > 0xfeb80000-0xfebfffff,0xd0000000-0xdfffffff,0xfeb40000-0xfeb7ffff irq > > 16 at device 2.0 on pci0 > > drm0: on vgapci0 > > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize > > AGP. device_attach: drm0 attach returned 12 > > I had to hack /sys/dev/pci/vga_pci.c: > > I have same problem in my i830M, too and fixed Dmitry's patch. > According to my pciconf -rb, pci_find_extcap(dev, PCIY_AGP, NULL) > never find PCIY_AGP(because of 0x01). Ok. I don't see any patch anywhere, but it sounds like you'll need to fix the DRM driver to not expect an AGP capability for this specific card or some such. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org