From owner-freebsd-current@FreeBSD.ORG Wed Jan 4 21:59:58 2006 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 0A13416A41F for ; Wed, 4 Jan 2006 21:59:58 +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 8992843D5E for ; Wed, 4 Jan 2006 21:59:52 +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 5293011 for multiple; Wed, 04 Jan 2006 17:00:55 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k04LxP65005632; Wed, 4 Jan 2006 16:59:28 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Ted Faber Date: Wed, 4 Jan 2006 17:00:13 -0500 User-Agent: KMail/1.8.2 References: <20060103233406.GA1564@hut.isi.edu> <200601041458.23129.jhb@freebsd.org> <20060104212623.GA1002@hut.isi.edu> In-Reply-To: <20060104212623.GA1002@hut.isi.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601041700.14244.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1229/Wed Jan 4 10:08:11 2006 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: freebsd-current@freebsd.org Subject: Re: lost /dev/agpgart , X11 confused. 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: Wed, 04 Jan 2006 21:59:58 -0000 On Wednesday 04 January 2006 04:26 pm, Ted Faber wrote: > On Wed, Jan 04, 2006 at 02:58:22PM -0500, John Baldwin wrote: > > On Wednesday 04 January 2006 02:20 pm, Ted Faber wrote: > > > On Wed, Jan 04, 2006 at 02:08:27PM -0500, John Baldwin wrote: > > > > Odd, it seems you don't have any AGP devices. The 865G isn't a PCI-e > > > > chipset, so you should have them. > > > > > > Yeah, my X server seems upset about it, all right. > > > > > > Am I not loading a module or device in my kernel config? (attached) > > > The config that's attached has been working for a while, and I didn't > > > see anything in /usr/src/UPDATING that told me to change anything. Of > > > course, if I've been doing something wrong and getting away with it for > > > a while, that's to be expected. > > > > > > The change between 1.33 and 1.34 to /sys/pci/agp_i810.c seems to delete > > > some code that added a device for the drm, but that's just me reading a > > > comment from > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/agp_i810.c.diff?r1=1. > > >33&r 2=1.34&f=h I haven't really gone digging. > > > > > > Any suggestions? > > > > For i915 systems some people have hacked vga_pci.c to always add an "agp" > > child device rather than doing it conditionally, but that I wouldn't > > expect non-PCI-e chipsets to have the same issue. Do you have AGP > > enabled in your BIOS? > > As far as I can tell. The BIOS setup didn't have a particular AGP > on/off entry, but all the entries seemed reasonable to me and are the > factory defaults. The box is a Dell Dimension 3000 if that helps. > > I'm currently running a -CURRENT kernel from Mon Dec 19 11:21:13 PST and > it properly detects the AGP, the /dev/agppart device appears, and the X > server is fine. I'm assuming that means AGP is enabled in my BIOS. If > that's a bad assumption, do you know how I can test it? > > In case it helps, I've included a dmesg from the Dec 19 kernel. Ok, use the workaround other folks have posted for now. Hack vga_pci.c to always add the "agp" device in its attach routine instead of checking for PCIY_AGP. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org