From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 25 02:20:17 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E69D437B401 for ; Wed, 25 Jun 2003 02:20:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D86F543FDF for ; Wed, 25 Jun 2003 02:20:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5P9KFUp003335 for ; Wed, 25 Jun 2003 02:20:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5P9KFt0003334; Wed, 25 Jun 2003 02:20:15 -0700 (PDT) Resent-Date: Wed, 25 Jun 2003 02:20:15 -0700 (PDT) Resent-Message-Id: <200306250920.h5P9KFt0003334@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, Pierre Beyssac Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C3B337B404 for ; Wed, 25 Jun 2003 02:14:28 -0700 (PDT) Received: from fasterix.frmug.org (fasterix.frmug.org [137.194.36.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4900C43FEA for ; Wed, 25 Jun 2003 02:14:27 -0700 (PDT) (envelope-from pb@fasterix.frmug.org) Received: from fasterix.frmug.org (localhost [127.0.0.1]) by fasterix.frmug.org (8.12.9/8.12.9) with ESMTP id h5P9EPqD012305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 25 Jun 2003 11:14:25 +0200 (CEST) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.12.9/8.12.9/Submit) id h5P9EPpD012304; Wed, 25 Jun 2003 11:14:25 +0200 (CEST) Message-Id: <200306250914.h5P9EPpD012304@fasterix.frmug.org> Date: Wed, 25 Jun 2003 11:14:25 +0200 (CEST) From: Pierre Beyssac To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/53712: drm/DRI broken (out of DMA buffers?) for ATI Radeon 7200 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pierre Beyssac List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 09:20:17 -0000 >Number: 53712 >Category: kern >Synopsis: drm/DRI broken (out of DMA buffers?) for ATI Radeon 7200 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 25 02:20:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Pierre Beyssac >Release: FreeBSD 5.1-CURRENT i386 >Organization: none >Environment: System: FreeBSD fasterix.frmug.org 5.1-CURRENT FreeBSD 5.1-CURRENT #4: Mon Jun 23 22:10:42 CEST 2003 pb@fasterix.frmug.org:/home/src/sys/i386/compile/ASTERIX i386 -current Kernel and userland as of 2003-06-23, but problem exists since end April 2003. XFree server 4.3.0, version 8 of the package. >Description: DRI-configured X server starts correctly, then locks up in a busy loop after some time. The busy loop involves repeated calls to ioctl(DRM_IOCTL_DMA) returning nothing but EBUSY. From the code, it seems to mean that /sys/dev/drm/radeon_cp.c:radeon_freelist_get() returns NULL pointers. The busy loop also seems to involve repeated occurences of SIGALRM, if truss is right. >How-To-Repeat: Configure X11 with DRI. Start X11 server and three or four xterms. Run a ls -lR in one of them and wait for 10-20 seconds for the problem to occur. CTRL-C and repeat 2-4 times if necessary. Or start a textured, GLX 3D rendered application (not glxgears as it doesn't exhibit the problem) and wait for about 10 seconds. Login from another machine and use truss on the XFree86 process to see repeated ioctl calls. >Fix: Workaround: disable DRI or use pre-April -current (where the older drm code didn't exhibit that problem). >Release-Note: >Audit-Trail: >Unformatted: