From owner-freebsd-bugs@FreeBSD.ORG Sun Jul 22 03:20:03 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF39116A419 for ; Sun, 22 Jul 2007 03:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9116E13C46B for ; Sun, 22 Jul 2007 03:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6M3K3rI019392 for ; Sun, 22 Jul 2007 03:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6M3K341019391; Sun, 22 Jul 2007 03:20:03 GMT (envelope-from gnats) Resent-Date: Sun, 22 Jul 2007 03:20:03 GMT Resent-Message-Id: <200707220320.l6M3K341019391@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Goncharov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98B5116A419 for ; Sun, 22 Jul 2007 03:17:45 +0000 (UTC) (envelope-from alex-goncharov@comcast.net) Received: from alnrmhc13.comcast.net (alnrmhc13.comcast.net [204.127.225.93]) by mx1.freebsd.org (Postfix) with ESMTP id 78EF513C45D for ; Sun, 22 Jul 2007 03:17:45 +0000 (UTC) (envelope-from alex-goncharov@comcast.net) Received: from [66.30.18.168] (c-66-30-18-168.hsd1.ma.comcast.net[66.30.18.168]) by comcast.net (alnrmhc13) with ESMTP id <20070722030742b13006iq7le>; Sun, 22 Jul 2007 03:07:43 +0000 Received: from algo by [66.30.18.168] with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1ICRnK-000Np7-7K for FreeBSD-gnats-submit@freebsd.org; Sat, 21 Jul 2007 23:07:42 -0400 Message-Id: Date: Sat, 21 Jul 2007 23:07:42 -0400 From: Alex Goncharov Sender: Alex Goncharov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/114802: sys/pci/agp_i810.c misses i845G chipset X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex Goncharov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2007 03:20:03 -0000 >Number: 114802 >Category: kern >Synopsis: sys/pci/agp_i810.c misses i845G chipset >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 22 03:20:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Alex Goncharov >Release: FreeBSD 7.0-CURRENT i386 >Organization: N/A >Environment: System: FreeBSD fasolt 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Jul 21 17:26:14 EDT 2007 root@MYHOST:/usr/obj/usr/src-7.0-CURRENT/sys/GENERIC i386 >Description: After a code upgrade from 6.2-STABLE to 7.0-CURRENT, the X server won't start, complaining about the absense of `/dev/agpgart', which is missing indeed. >How-To-Repeat: * Have a machine with '82845G/GL/GV/GE/PE Integrated Graphics Device'. * Install 7.0-CURRENT, where the revision's sys/pci/agp_i810.c CVS Id is: $FreeBSD: src/sys/pci/agp_i810.c,v 1.40 2007/07/13 16:28:12 Reboot. * Observe the lack of `/dev/agpgart'. * Observe the failure to start X (provided the `xorg.conf' uses the i810 driver: Section "Device" Driver "i810" EndSection >Fix: Applying the following patch: =================================================================== --- sys/pci/agp_i810.c 2007-07-21 14:56:26.000000000 -0400 +++ sys/pci/agp_i810.c-fixed 2007-07-21 15:27:26.000000000 -0400 @@ -130,6 +130,8 @@ "Intel 82815 (i815 GMCH) SVGA controller"}, {0x35778086, CHIP_I830, 0x00020000, "Intel 82830M (830M GMCH) SVGA controller"}, + {0x25628086, CHIP_I830, 0x00020000, + "Intel 82845M (845M GMCH) SVGA controller"}, {0x35828086, CHIP_I855, 0x00020000, "Intel 82852/5"}, {0x25728086, CHIP_I855, 0x00020000, =================================================================== resolves the issue -- after a rebuild and restart, `/dev/agpgart' does appear, and the X servers starts and operates problem-free. Note that the quoted string, "Intel 82845M (845M GMCH) SVGA controller", may need to be changed to give a more accurate information on the controller. After the fix, pcicong -lv produces (in the relevant piece): =================================================================== vgapci0@pci0:2:0: class=0x030000 card=0x01271028 chip=0x25628086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82845G/GL/GV/GE/PE Integrated Graphics Device' class = display subclass = VGA =================================================================== >Release-Note: >Audit-Trail: >Unformatted: