From owner-freebsd-bugs@FreeBSD.ORG Thu Mar 1 16:20:06 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FC7816A400 for ; Thu, 1 Mar 2007 16:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 80F3E13C478 for ; Thu, 1 Mar 2007 16:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l21GK6fS045577 for ; Thu, 1 Mar 2007 16:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l21GK6GF045576; Thu, 1 Mar 2007 16:20:06 GMT (envelope-from gnats) Resent-Date: Thu, 1 Mar 2007 16:20:06 GMT Resent-Message-Id: <200703011620.l21GK6GF045576@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, FUJIMOTO Kou Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 543F016A400 for ; Thu, 1 Mar 2007 16:12:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 3E14513C461 for ; Thu, 1 Mar 2007 16:12:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l21GCa05095383 for ; Thu, 1 Mar 2007 16:12:36 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l21GCZQc095382; Thu, 1 Mar 2007 16:12:35 GMT (envelope-from nobody) Message-Id: <200703011612.l21GCZQc095382@www.freebsd.org> Date: Thu, 1 Mar 2007 16:12:35 GMT From: FUJIMOTO Kou To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/109724: X11 fonts corrupt when loading i915 at boot time X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 16:20:06 -0000 >Number: 109724 >Category: kern >Synopsis: X11 fonts corrupt when loading i915 at boot time >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 01 16:20:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: FUJIMOTO Kou >Release: 6.2-STABLE >Organization: Tokyo Denki University >Environment: FreeBSD fosters 6.2-STABLE FreeBSD 6.2-STABLE #31: Fri Mar 2 00:05:12 JST 2007 root@fosters:/usr/obj/usr/src/sys/FOSTERS i386 >Description: When I load i915.ko at /boot/loader.conf (or enabled in kernel), kernel recognize my 855GME internal VGA controller as: ===================================================================== agp1: port 0xe300-0xe307 mem 0xe0000000-0xe7ffffff,0xe8100000-0xe817ffff irq 16 at device 2.0 on pci0 agp1: detected 32636k stolen memory agp1: aperture size is 128M drmsub0: : (child of agp_i810.c) on agp1 info: [drm] AGP at 0xd0000000 256MB info: [drm] Initialized i915 1.5.0 20060119 ===================================================================== After finishing boot sequence, X works but fonts looks like corrupted. Kernel reports "agp_generic_alloc_memory: unsupported type 2" messages 3 times. Just unloading all related KLMs (i915, drm and agp) and reloading them, kernel messages are as follows: ===================================================================== drmsub0: detached agp1: detached agp_intel_detach: set MCHCFG to 1 agp_intel_detach: set NBXCFG to 540101 agp0: detached agp0: port 0xe300-0xe307 mem 0xe0000000-0xe7ffffff,0xe8100000-0xe817ffff irq 16 at device 2.0 on pci0 agp0: detected 32636k stolen memory agp0: aperture size is 128M drmsub0: : (child of agp_i810.c) on agp0 info: [drm] AGP at 0xe0000000 128MB info: [drm] Initialized i915 1.5.0 20060119 ===================================================================== X works fine and all fonts are displayed without any corruption. >How-To-Repeat: i915_enable="YES" in /boot/loader.conf, or build agp, drm and i915drm devices into kernel. >Fix: 1. Configuring kernel without agp, drm and i915drm. 2. Boot without loading i915. 3. "kldload i915" at command prompt. >Release-Note: >Audit-Trail: >Unformatted: