Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756237AbYGYKgW (ORCPT ); Fri, 25 Jul 2008 06:36:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753896AbYGYKgN (ORCPT ); Fri, 25 Jul 2008 06:36:13 -0400 Received: from the.earth.li ([217.147.81.2]:55353 "EHLO the.earth.li" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753662AbYGYKgN (ORCPT ); Fri, 25 Jul 2008 06:36:13 -0400 X-Greylist: delayed 3158 seconds by postgrey-1.27 at vger.kernel.org; Fri, 25 Jul 2008 06:36:12 EDT Date: Fri, 25 Jul 2008 10:43:34 +0100 From: Jonathan McDowell To: dri-devel@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org Subject: X "Hangs" with RS690 + 2.6.26 Message-ID: <20080725094334.GC30002@earth.li> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2373 Lines: 64 Hi. I've started to see "hangs" with X on an ATI RS690 with a 2.6.26 kernel. The symptoms are that load average goes up, X stops accepting keypresses or mouse clicks, but the cursor still moves around the screen in response to the mouse being moved. I can't switch to a VT but can ssh in remotely to see that things are still running. I don't seem to be able to kill X but "shutdown -r now" cleanly reboots. gdb fails to attach - complains about an internal error. strace shows lots of ioctls against the DRM device all returning EBUSY. 2.6.25 appears to work fine. I originally had PAT enabled under 2.6.26 but have seen a patch fixing that go into git, so disabled it for my 2.6.26 kernel to see if that was the issue; no change AFAICT. Enabling DRM debug (echo 1 > /sys/module/drm/parameters/debug) gives lots of output from radeon_freelist_get, after the following ioctl is received: Jul 25 10:11:14 meepok kernel: [drm:drm_ioctl] pid=3302, cmd=0xc0406429, nr=0x29 , dev 0xe200, auth=1 and then a returning NULL message. radeon driver is recent git - 1c5858484da4fb1c9bc3ac3b4d7a97863ab99730 but I've seen it with older revisions too. It can take a couple of days for me to hit the problem, so a git bisect could be a lengthy process. If anyone has any suggestions about faster ways to track down the issue I'd like to hear them. Machine is a dual core AMD64 with 4GB of RAM running Debian unstable, card is: 01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS690 [Radeon X1200 Series] [1002:791e] Kernel configs at: http://the.earth.li/~noodles/radeon-2.6.26-hang/config-2.6.25 http://the.earth.li/~noodles/radeon-2.6.26-hang/config-2.6.26 Debug log from enabling drm debug: http://the.earth.li/~noodles/radeon-2.6.26-hang/debug Full dmesg (no obvious errors): http://the.earth.li/~noodles/radeon-2.6.26-hang/meepok.dmesg Xorg log file (no obvious errors): http://the.earth.li/~noodles/radeon-2.6.26-hang/Xorg.0.log J. -- "I put it down to corrosive groin sweat myself." -- John Burnham, asr This .sig brought to you by the letter N and the number 39 Product of the Republic of HuggieTag -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/