From owner-freebsd-current@FreeBSD.ORG Fri Apr 22 04:19:13 2005 Return-Path: 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 8F71B16A4CE for ; Fri, 22 Apr 2005 04:19:13 +0000 (GMT) Received: from smtp806.mail.sc5.yahoo.com (smtp806.mail.sc5.yahoo.com [66.163.168.185]) by mx1.FreeBSD.org (Postfix) with SMTP id A0FA843D46 for ; Fri, 22 Apr 2005 04:19:12 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.205.64 with login) by smtp806.mail.sc5.yahoo.com with SMTP; 22 Apr 2005 04:19:12 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 879F06155; Thu, 21 Apr 2005 23:19:11 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12004-03; Thu, 21 Apr 2005 23:19:09 -0500 (CDT) Received: from bastion.noacks.org (unknown [192.168.1.8]) by optimator.noacks.org (Postfix) with ESMTP id E30AF6152; Thu, 21 Apr 2005 23:19:09 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by bastion.noacks.org (8.13.3/8.13.3) with ESMTP id j3L23HEI003510; Wed, 20 Apr 2005 21:03:17 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <426709E4.6060006@alumni.rice.edu> Date: Wed, 20 Apr 2005 21:03:16 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: en-us, en MIME-Version: 1.0 To: anholt@freebsd.org, current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at noacks.org Subject: instant reboot with new drm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 04:19:13 -0000 Ever since the new DRM was imported I have been unable to use DRI with my R128-based card. When loading X, the machine reboots. Removing DRI from the X config makes everything work. The last message logged by X when DRI is enabled: (II) R128(0): [drm] installed DRM signal handler (II) R128(0): [DRI] installation complete (II) R128(0): [drm] Added 128 16384 byte vertex/indirect buffers (II) R128(0): [drm] Mapped 128 vertex/indirect buffers (II) R128(0): [drm] dma control initialized, using IRQ 5 (II) R128(0): Direct rendering enabled (==) RandR enabled (**) Option "BaudRate" "1200" (**) Option "StopBits" "2" (**) Option "DataBits" "8" (**) Option "Parity" "None" (**) Option "Vmin" "1" (**) Option "Vtime" "0" (**) Option "FlowControl" "None" The card is detected as follows: drm0: port 0x9000-0x90ff mem 0xf8000000-0xfbffffff,0xf0200000-0xf0203fff irq 5 at device 0.0 on pci1 info: [drm] AGP at 0xf4000000 64MB info: [drm] Initialized r128 2.5.0 20030725 on minor 0 Note that IRQ5 is shared with the sound card (snd_solo(4)) and that I am using APIC and ACPI. Here's the pciconf: drm0@pci1:0:0: class=0x030000 card=0xb11b0e11 chip=0x4c461002 rev=0x02 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'Rage Mobility M3 AGP 2x' class = display subclass = VGA DRM is compiled into kernel, although I originally was using modules: # Direct Rendering modules for 3D acceleration. device drm # DRM core module required by DRM drivers device r128drm # ATI Rage 128 How can I debug this? Jon