kern/134800: radeon driver freezes Xorg server with drmwtq

David Johnson david at usermode.org
Fri May 22 04:50:03 UTC 2009


>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 at 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:


More information about the freebsd-bugs mailing list