From owner-freebsd-x11@FreeBSD.ORG Wed Sep 21 09:55:21 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 CDB321065675; Wed, 21 Sep 2011 09:55:21 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB438FC1B; Wed, 21 Sep 2011 09:55:20 +0000 (UTC) Received: from alf.home (alf.kiev.zoral.com.ua [10.1.1.177]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p8L9tDOZ094284 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 21 Sep 2011 12:55:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from alf.home (kostik@localhost [127.0.0.1]) by alf.home (8.14.5/8.14.5) with ESMTP id p8L9tDoa013381; Wed, 21 Sep 2011 12:55:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by alf.home (8.14.5/8.14.5/Submit) id p8L9tDpq013380; Wed, 21 Sep 2011 12:55:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: alf.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 21 Sep 2011 12:55:13 +0300 From: Kostik Belousov To: Andriy Gapon Message-ID: <20110921095513.GI1511@deviant.kiev.zoral.com.ua> References: <4E798E66.1020603@freebsd.org> <4E79AF56.2040703@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUygiN5FMnIY1JbD" Content-Disposition: inline In-Reply-To: <4E79AF56.2040703@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua 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 09:55:22 -0000 --SUygiN5FMnIY1JbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 =3D 0 (0xfffffe000f831ca0) lock= ed @ > > /usr/src/sys/modules/drm/drm/../../../dev/drm/drm_drv.c:791 >=20 > 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 ki= b's > Intel GEM code. > Please see this thread for some earlier history: > http://lists.freebsd.org/pipermail/freebsd-current/2010-November/020914.h= tml >=20 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. > I personally keep using a patch from that thread which turns the panic in= to a LOR. >=20 > > KDB: stack backtrace: > > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > > kdb_backtrace() at kdb_backtrace+0x37 > > _witness_debugger() at _witness_debugger+0x2e > > witness_warn() at witness_warn+0x2c4 > > trap() at trap+0x2fe > > calltrap() at calltrap+0x8 > > --- trap 0xc, rip =3D 0xffffffff80b09af3, rsp =3D 0xffffff834d687950, r= bp =3D > > 0xffffff834d6879a0 --- > > copyout() at copyout+0x43 > > drm_ioctl() at drm_ioctl+0x2f2 > > devfs_ioctl_f() at devfs_ioctl_f+0x7a > > kern_ioctl() at kern_ioctl+0xcd > > ioctl() at ioctl+0xfd > > amd64_syscall() at amd64_syscall+0x3ba > > Xfast_syscall() at Xfast_syscall+0xf7 > > --- syscall (54, FreeBSD ELF64, ioctl), rip =3D 0x802ca437c, rsp =3D 0x= 7fffffffd968, > > rbp =3D 0x7fffffffd9b0 --- >=20 >=20 > --=20 > Andriy Gapon > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" --SUygiN5FMnIY1JbD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk55tIEACgkQC3+MBN1Mb4jUcQCfRr3w94QvjkrZiVrhjynVRXeT WKgAoIsmh3j3oV1JkDyUXR/fpdwTfmIW =tng1 -----END PGP SIGNATURE----- --SUygiN5FMnIY1JbD--