From nobody@FreeBSD.org Wed Jul 30 10:14:05 2008 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE8A01065673 for ; Wed, 30 Jul 2008 10:14:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D58F78FC0A for ; Wed, 30 Jul 2008 10:14:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6UAE5EJ057964 for ; Wed, 30 Jul 2008 10:14:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m6UAE5I1057963; Wed, 30 Jul 2008 10:14:05 GMT (envelope-from nobody) Message-Id: <200807301014.m6UAE5I1057963@www.freebsd.org> Date: Wed, 30 Jul 2008 10:14:05 GMT From: Pierre Bardou To: freebsd-gnats-submit@FreeBSD.org Subject: Can't start X : chipset G31/G33 not recognized as AGP X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 126090 >Category: kern >Synopsis: [agp] [patch] Can't start X : chipset G31/G33 not recognized as AGP >Confidential: no >Severity: serious >Priority: medium >Responsible: jhb >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 30 10:20:02 UTC 2008 >Closed-Date: Fri Aug 08 20:43:45 UTC 2008 >Last-Modified: Fri Aug 08 20:43:45 UTC 2008 >Originator: Pierre Bardou >Release: 7.0-STABLE >Organization: MiPih >Environment: FreeBSD stage003.mipih.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Jul 28 11:58:49 CEST 2008 root@stage003.mipih.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I intalled Xorg from the ports. No way to make it work. The card isn't even recognized as AGP. Xorg log : (++) Using config file: "/etc/X11/xorg.conf" (WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found (II) Module "ddc" already built-in (II) Module "i2c" already built-in (II) Module "ramdac" already built-in (EE) GARTInit: Unable to open /dev/agpgart (No such file or directory) (EE) [drm] drmOpen failed. (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI. (EE) intel(0): Failed to allocate framebuffer. Is your VideoRAM set too low? (EE) intel(0): Couldn't allocate video memory DMESG : vgapci0: port 0xecd8-0xecdf mem 0xdfe00000-0xdfe7ffff,0xc0000000-0xcfffffff,0xdff00000-0xdfffffff irq 16 at device 2.0 on pci0 vgapci1: mem 0xdfe80000-0xdfefffff at device 2.1 on pci0 pciconf -lv : vgapci0@pci0:0:2:0: class=0x030000 card=0x02201028 chip=0x29c28086 rev=0x0a hdr=0x00 vendor = 'Intel Corporation' device = '(Bearlake) Integrated Graphics Controller' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x02201028 chip=0x29c38086 rev=0x0a hdr=0x00 vendor = 'Intel Corporation' device = '(Bearlake) Integrated Graphics Controller' class = display >How-To-Repeat: Try to make Xorg work on G31/G33 >Fix: Unknown >Release-Note: >Audit-Trail: State-Changed-From-To: open->feedback State-Changed-By: gavin State-Changed-When: Wed Jul 30 13:09:22 UTC 2008 State-Changed-Why: To submitter: could you please give the full output of "pciconf -lv"? Also, can you confirm that you have loaded the AGP module? Responsible-Changed-From-To: freebsd-amd64->gavin Responsible-Changed-By: gavin Responsible-Changed-When: Wed Jul 30 13:09:22 UTC 2008 Responsible-Changed-Why: Track http://www.freebsd.org/cgi/query-pr.cgi?pr=126090 From: "BARDOU Pierre" To: , , Cc: Subject: Re: amd64/126090: Can't start X : chipset G31/G33 not recognizedas AGP Date: Wed, 30 Jul 2008 15:47:14 +0200 I suppose I don't need to load the agp module as it is built in my kernel (I use the GENERIC STABLE amd64 whith no personnal modifications, there's "device agp" in it). If that may help, I tried to put the same HDD into another computer with a 945G chipset. After a little "Xorg -configure" I succeed to run X with "Xorg -config /root/xorg.conf.new". I also run linux on the same box (the one with the G33), and xorg works perfectly. So I really think the problem is the IGP kernel driver. Full pciconf -lv : stage003:~ # pciconf -lv hostb0@pci0:0:0:0: class=0x060000 card=0x02201028 chip=0x29c08086 rev=0x0a hdr=0x00 vendor = 'Intel Corporation' device = '(Bearlake) Processor to I/O Controller' class = bridge subclass = HOST-PCI pcib1@pci0:0:1:0: class=0x060400 card=0x02201028 chip=0x29c18086 rev=0x0a hdr=0x01 vendor = 'Intel Corporation' device = '(Bearlake) PCIe Root Port' class = bridge subclass = PCI-PCI vgapci0@pci0:0:2:0: class=0x030000 card=0x02201028 chip=0x29c28086 rev=0x0a hdr=0x00 vendor = 'Intel Corporation' device = '(Bearlake) Integrated Graphics Controller' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x02201028 chip=0x29c38086 rev=0x0a hdr=0x00 vendor = 'Intel Corporation' device = '(Bearlake) Integrated Graphics Controller' class = display none0@pci0:0:27:0: class=0x040300 card=0x02201028 chip=0x27d88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) High Definition Audio' class = multimedia pcib2@pci0:0:28:0: class=0x060400 card=0x02201028 chip=0x27d08086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCIe Root Port' class = bridge subclass = PCI-PCI uhci0@pci0:0:29:0: class=0x0c0300 card=0x02201028 chip=0x27c88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci1@pci0:0:29:1: class=0x0c0300 card=0x02201028 chip=0x27c98086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci2@pci0:0:29:2: class=0x0c0300 card=0x02201028 chip=0x27ca8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci3@pci0:0:29:3: class=0x0c0300 card=0x02201028 chip=0x27cb8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB ehci0@pci0:0:29:7: class=0x0c0320 card=0x02201028 chip=0x27cc8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller' class = serial bus subclass = USB pcib3@pci0:0:30:0: class=0x060401 card=0x02201028 chip=0x244e8086 rev=0xe1 hdr=0x01 vendor = 'Intel Corporation' device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x27b88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '945GL Intel 82801GB/GR (ICH7 Family) LPC Interface Controller - 27B8' class = bridge subclass = PCI-ISA atapci0@pci0:0:31:1: class=0x01018a card=0x02201028 chip=0x27df8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) Ultra ATA Storage Controller' class = mass storage subclass = ATA atapci1@pci0:0:31:2: class=0x010601 card=0x02201028 chip=0x27c18086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB I/O Controller Hub SATA cc=AHCI' class = mass storage none1@pci0:0:31:3: class=0x0c0500 card=0x02201028 chip=0x27da8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) SMBus Controller' class = serial bus subclass = SMBus bge0@pci0:2:0:0: class=0x020000 card=0x02201028 chip=0x169b14e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetLink BCM5787 Gigabit Ethernet PCIe' class = network subclass = ethernet -- Cordialement, Pierre BARDOU Apprenti Ing=C3=A9nieur R=C3=A9seau CSIM - Bureau 012 MIPIH - Midi Picardie Informatique Hospitali=C3=A8re 12 rue Michel Labrousse BP 93668 F-31036 Toulouse CEDEX 1 T=C3=A9l : 05 67 31 90 84 Fax : 05 34 61 51 00 Mail : bardou.p@mipih.fr From: Tilman Linneweh To: bug-followup@freebsd.org, bardou.p@mipih.fr Cc: Tilman Linneweh Subject: Re: amd64/126090: [agp] Can't start X : chipset G31/G33 not recognized as AGP Date: Thu, 31 Jul 2008 23:00:15 +0200 http://people.freebsd.org/~arved/patch-agp.diff G33 works with the latest intel driver. Ted Faber posted a similar patch on freebsd-hackers recently. From: "BARDOU Pierre" To: "Tilman Linneweh" Cc: , Subject: Re: amd64/126090: [agp] Can't start X : chipset G31/G33 notrecognized as AGP Date: Fri, 1 Aug 2008 11:57:12 +0200 I removed the comment marks in agp_i810.c, and everything works fine now. Many thanks for the help. -- Cordialement, Pierre BARDOU Apprenti Ing=C3=A9nieur R=C3=A9seau CSIM - Bureau 012 MIPIH - Midi Picardie Informatique Hospitali=C3=A8re 12 rue Michel Labrousse BP 93668 F-31036 Toulouse CEDEX 1 T=C3=A9l : 05 67 31 90 84 Fax : 05 34 61 51 00 Mail : bardou.p@mipih.fr Le jeudi 31 juillet 2008 =C3=A0 23:00 +0200, Tilman Linneweh a =C3=A9crit : > http://people.freebsd.org/~arved/patch-agp.diff >=20 > G33 works with the latest intel driver. > Ted Faber posted a similar patch on freebsd-hackers recently. State-Changed-From-To: feedback->open State-Changed-By: gavin State-Changed-When: Fri Aug 1 10:02:41 UTC 2008 State-Changed-Why: Mark as open, we've found a solution http://www.freebsd.org/cgi/query-pr.cgi?pr=126090 Responsible-Changed-From-To: gavin->remko Responsible-Changed-By: gavin Responsible-Changed-When: Fri Aug 1 11:20:36 UTC 2008 Responsible-Changed-Why: Give to remko@ as a replacemnt for kern/126105 http://www.freebsd.org/cgi/query-pr.cgi?pr=126090 State-Changed-From-To: open->patched State-Changed-By: jhb State-Changed-When: Fri Aug 1 13:12:27 UTC 2008 State-Changed-Why: The G33 support is now enabled in HEAD and will be MFC'd in a week or so. Responsible-Changed-From-To: remko->jhb Responsible-Changed-By: jhb Responsible-Changed-When: Fri Aug 1 13:12:27 UTC 2008 Responsible-Changed-Why: The G33 support is now enabled in HEAD and will be MFC'd in a week or so. http://www.freebsd.org/cgi/query-pr.cgi?pr=126090 From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/126090: commit references a PR Date: Fri, 1 Aug 2008 13:11:55 +0000 (UTC) jhb 2008-08-01 13:11:23 UTC FreeBSD src repository Modified files: sys/dev/agp agp_i810.c Log: SVN rev 181124 on 2008-08-01 13:11:23Z by jhb Enable the support for G33/Q35/Q33 now that both the G33 and Q35 have been tested: PR: amd64/126090 MFC after: 1 week Revision Changes Path 1.47 +0 -2 src/sys/dev/agp/agp_i810.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" State-Changed-From-To: patched->closed State-Changed-By: jhb State-Changed-When: Fri Aug 8 20:43:29 UTC 2008 State-Changed-Why: MFC'd to 7.x. http://www.freebsd.org/cgi/query-pr.cgi?pr=126090 >Unformatted: