From owner-freebsd-current@FreeBSD.ORG Wed Jan 4 21:26:50 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 7E8A716A41F; Wed, 4 Jan 2006 21:26:50 +0000 (GMT) (envelope-from faber@ISI.EDU) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 995C243D77; Wed, 4 Jan 2006 21:26:44 +0000 (GMT) (envelope-from faber@ISI.EDU) Received: from hut.isi.edu (hut.isi.edu [128.9.168.160]) by boreas.isi.edu (8.11.6p2+0917/8.11.2) with ESMTP id k04LQOi12587; Wed, 4 Jan 2006 13:26:24 -0800 (PST) Received: (from faber@localhost) by hut.isi.edu (8.13.4/8.13.4/Submit) id k04LQNjd001115; Wed, 4 Jan 2006 13:26:23 -0800 (PST) (envelope-from faber) Date: Wed, 4 Jan 2006 13:26:23 -0800 From: Ted Faber To: John Baldwin Message-ID: <20060104212623.GA1002@hut.isi.edu> References: <20060103233406.GA1564@hut.isi.edu> <200601041408.28753.jhb@freebsd.org> <20060104192034.GH1371@hut.isi.edu> <200601041458.23129.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jho1yZJdad60DJr+" Content-Disposition: inline In-Reply-To: <200601041458.23129.jhb@freebsd.org> User-Agent: Mutt/1.4.2.1i X-url: http://www.isi.edu/~faber X-ISI-4-43-8-MailScanner: Found to be clean X-MailScanner-From: faber@hut.isi.edu 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:26:50 -0000 --jho1yZJdad60DJr+ Content-Type: multipart/mixed; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3D= 1.33&r > >2=3D1.34&f=3Dh I haven't really gone digging. > > > > Any suggestions? >=20 > For i915 systems some people have hacked vga_pci.c to always add an "agp"= =20 > child device rather than doing it conditionally, but that I wouldn't expe= ct=20 > non-PCI-e chipsets to have the same issue. Do you have AGP enabled in yo= ur=20 > 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. --=20 Ted Faber http://www.isi.edu/~faber PGP: http://www.isi.edu/~faber/pubkeys.= asc Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#= SIG --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dmesg Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 7.0-CURRENT #5: Mon Dec 19 11:21:13 PST 2005 root@hut.isi.edu:/usr/obj/usr/src/sys/HUT link_elf: symbol pci_find_extcap_desc undefined KLD file acpi.ko - could not finalize loading MPTable: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff Features2=0x441d> real memory = 1072103424 (1022 MB) avail memory = 1044172800 (995 MB) ioapic0: Changing APIC ID to 1 ioapic0: Assuming intbase of 0 ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pci0: on pcib0 agp0: port 0xed98-0xed9f mem 0xe8000000-0xefffffff,0xfeb80000-0xfebfffff irq 16 at device 2.0 on pci0 agp0: detected 892k stolen memory agp0: aperture size is 128M uhci0: port 0xff80-0xff9f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xff60-0xff7f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xff20-0xff3f irq 16 at device 29.3 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xffa80800-0xffa80bff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: wrong number of companions (4 != 3) usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 8 ports with 8 removable, self powered uhub4: vendor 0x0424 product 0x2504, class 9/0, rev 2.00/0.00, addr 2 uhub4: multiple transaction translators uhub4: 4 ports with 4 removable, self powered pcib1: at device 30.0 on pci0 pci1: on pcib1 fxp0: port 0xdf40-0xdf7f mem 0xfeaff000-0xfeafffff irq 20 at device 8.0 on pci1 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:13:20:69:97:0e isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf mem 0xfeb7fc00-0xfeb7ffff irq 18 at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 31.3 (no driver attached) pcm0: port 0xee00-0xeeff,0xedc0-0xedff mem 0xfeb7fa00-0xfeb7fbff,0xfeb7f900-0xfeb7f9ff irq 17 at device 31.5 on pci0 pcm0: primary codec not ready! pcm0: pmtimer0 on isa0 orm0: at iomem 0xc0000-0xca7ff,0xca800-0xcbfff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) ums0: Logitech USB-PS/2 Trackball, rev 1.00/2.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ukbd0: DELL DELL USB Keyboard, rev 1.10/1.04, addr 3, iclass 3/1 kbd1 at ukbd0 Timecounter "TSC" frequency 2793013650 Hz quality 800 Timecounters tick every 1.000 msec ad0: 76293MB at ata0-master UDMA100 acd0: DVDR at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s1a ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled link_elf: symbol pci_find_extcap_desc undefined KLD i915.ko: depends on drm - not available --OgqxwSJOaUobr8KG-- --jho1yZJdad60DJr+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDvD1/aUz3f+Zf+XsRAkC/AJ9oOgPMofxg9gWhs+zs6goO7cdn6wCeK66V 7eWNkktdiPtpPp7qdtujbBw= =Ykx6 -----END PGP SIGNATURE----- --jho1yZJdad60DJr+--