From owner-freebsd-bugs@FreeBSD.ORG Fri May 22 04:50:02 2009 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 CA2B91065670 for ; Fri, 22 May 2009 04:50:02 +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 A649F8FC18 for ; Fri, 22 May 2009 04:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4M4o2V9096937 for ; Fri, 22 May 2009 04:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4M4o2IA096936; Fri, 22 May 2009 04:50:02 GMT (envelope-from gnats) Resent-Date: Fri, 22 May 2009 04:50:02 GMT Resent-Message-Id: <200905220450.n4M4o2IA096936@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, David Johnson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E5961065674 for ; Fri, 22 May 2009 04:44:07 +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 0D8428FC14 for ; Fri, 22 May 2009 04:44:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n4M4i6oh096228 for ; Fri, 22 May 2009 04:44:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n4M4i6jf096227; Fri, 22 May 2009 04:44:06 GMT (envelope-from nobody) Message-Id: <200905220444.n4M4i6jf096227@www.freebsd.org> Date: Fri, 22 May 2009 04:44:06 GMT From: David Johnson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/134800: radeon driver freezes Xorg server with drmwtq 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: Fri, 22 May 2009 04:50:03 -0000 >Number: 134800 >Category: kern >Synopsis: radeon driver freezes Xorg server with drmwtq >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 22 04:50:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: David Johnson >Release: 7.2-RELEASE >Organization: >Environment: FreeBSD radagast.usermode.org 7.2-RELEASE FreeBSD 7.2-RELEASE #4: Sun May 10 16:50:08 PDT 2009 root@radagast.usermode.org:/usr/obj/usr/src/sys/RADAGAST i386 >Description: This topic has been recently discussed on the -stable list, but without resolution. It now reappears on my system as I upgrade to 7.2-RELEASE. I am desperately hoping for a resolution. To reiterate the problem: Xorg will occassionally freeze or hang with the radeon driver. This only happens when AIGLX compositing it enabled. I am using KDE 4.2.2, radeon driver, all ports current. About a quarter of the time the kernel locks up, and I cannot ssh into the system. The other times I can ssh into the system. There I notice that Xorg has the state of "drmwtq". The video card is a Radeon X1550. I have tried both XAA and EXA render modes, with no change. After some investigation, it appears that commit 189673 is what introduced the hang. The hang will not occur with hw.dri.0.debug=1, so it is difficult to get debug info. However, after the hang occurs, debug shows the following message repeated continuously: [drm:pid1195:drm_ioctl] returning 4 [drm:pid1195:drm_ioctl] pid=1195, cmd=0x80046457, nr=0x57, dev 0xc615fa00, auth=1 >How-To-Repeat: The system will hang at odd random times, but a sure fire way to reproduce it is to launch several windows at once. The following command should reliably reproduce it: dolphin & kwrite & kcalc & gwenview & >Fix: >Release-Note: >Audit-Trail: >Unformatted: