From owner-freebsd-x11@FreeBSD.ORG Wed Sep 21 10:02:51 2011 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBCF3106564A; Wed, 21 Sep 2011 10:02:51 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D6E588FC16; Wed, 21 Sep 2011 10:02:50 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA23385; Wed, 21 Sep 2011 13:02:48 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1R6Jdg-000O5a-Cc; Wed, 21 Sep 2011 13:02:48 +0300 Message-ID: <4E79B646.4030904@FreeBSD.org> Date: Wed, 21 Sep 2011 13:02:46 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20110907 Thunderbird/6.0.2 MIME-Version: 1.0 To: Kostik Belousov References: <4E798E66.1020603@freebsd.org> <4E79AF56.2040703@FreeBSD.org> <20110921095513.GI1511@deviant.kiev.zoral.com.ua> In-Reply-To: <20110921095513.GI1511@deviant.kiev.zoral.com.ua> X-Enigmail-Version: undefined Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Lawrence Stewart , freebsd-x11@FreeBSD.org Subject: Re: Deterministic panic 9.0-BETA2 with X + drm/radeon X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2011 10:02:51 -0000 on 21/09/2011 12:55 Kostik Belousov said the following: > On Wed, Sep 21, 2011 at 12:33:10PM +0300, Andriy Gapon wrote: >> on 21/09/2011 10:12 Lawrence Stewart said the following: >>> Kernel page fault with the following non-sleepable locks held: >>> exclusive sleep mutex drmdev (drmdev) r = 0 (0xfffffe000f831ca0) locked >>> @ /usr/src/sys/modules/drm/drm/../../../dev/drm/drm_drv.c:791 >> >> I think that this is a well-known but not yet fixed issue. I think that >> it should already be addressed in the general drm part of kib's Intel GEM >> code. Please see this thread for some earlier history: >> http://lists.freebsd.org/pipermail/freebsd-current/2010-November/020914.html >> > >> It is, but only for Intel driver. The approach cannot be applied to the > old dri1 drm drivers, because they need the drm device lock held in the > interrupt handler. Not sure if this is true for radeon though. I've never had any panics/warnings with the patch and INVARIANTS and WITNESS. -- Andriy Gapon