From owner-freebsd-x11@FreeBSD.ORG Wed Jun 19 13:26:32 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9D7409F6; Wed, 19 Jun 2013 13:26:32 +0000 (UTC) (envelope-from artyom.mirgorodsky@gmail.com) Received: from mail-ee0-x233.google.com (mail-ee0-x233.google.com [IPv6:2a00:1450:4013:c00::233]) by mx1.freebsd.org (Postfix) with ESMTP id 026361186; Wed, 19 Jun 2013 13:26:31 +0000 (UTC) Received: by mail-ee0-f51.google.com with SMTP id e52so3244369eek.10 for ; Wed, 19 Jun 2013 06:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=aI1+KwpfiFiJyuXzdAlSLfODSAVaaOg82WddPFCiYwM=; b=hpE4hnxBO5TU0FbQShak6EbGmWfM3twJ4VmVpWoLCLoQKW4SmGkzHolNbyRA22dak2 fLYJk1O+7bZ/xWe644FRLe4hTz4WFQqN5DmndKAjtifDgXmK4gh5dfPeGRZAgC+vlBfX fwxJa5M9whQVqLlAsFP2wHAy1S8ZHYviZkXTCap2S5q0O6afFyAtZpI0G7yiGokm+KIj Hs8VLFC7IbwIXRocwmJX8t0i7NjuVO/p0Fcu13XwMqA1U9wbc8p9D71MipXcyIizoqzx 4W0IEpsMySHfdfBllIAlWs/MAvzrd0Pi1hmp8CtqU0DrHFjJwhR7JpeUBEfmkl+GZ5W+ JYtw== X-Received: by 10.15.73.197 with SMTP id h45mr2608469eey.146.1371648391141; Wed, 19 Jun 2013 06:26:31 -0700 (PDT) Received: from notebook.alkar.net ([91.243.193.58]) by mx.google.com with ESMTPSA id b3sm19874301eev.10.2013.06.19.06.26.30 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Jun 2013 06:26:30 -0700 (PDT) From: Artyom Mirgorodskiy To: Konstantin Belousov Subject: Re: [drm2][panic] Running XOrg with SNA enabled causes system panic after few hours on G33 Date: Wed, 19 Jun 2013 16:27:10 +0300 Message-ID: <2200048.bf3YQ9V0Fp@notebook.alkar.net> User-Agent: KMail/4.10.3 (FreeBSD/10.0-CURRENT; KDE/4.10.3; amd64; ; ) In-Reply-To: <20130618212555.GA91021@kib.kiev.ua> References: <20130618212555.GA91021@kib.kiev.ua> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 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, 19 Jun 2013 13:26:32 -0000 Hm, yesterday I turn off SNA optimization and got hang when shutdown :( On Wednesday 19 June 2013 00:25:55 Konstantin Belousov wrote: > On Wed, Jun 19, 2013 at 01:11:19AM +0400, Oleg Sidorkin wrote: > > On Sun, Jun 16, 2013 at 6:27 PM, Konstantin Belousov > > > > wrote: > > > On Sun, Jun 16, 2013 at 06:04:39PM +0400, Oleg Sidorkin wrote: > > >> Thanks for the patch. > > >> I've adapted the proposed patch for stable/9 and it is running with > > >> SNA enabled now. > > > > > > In other words, your problem seems to be gone with the patch applied ? > > > > Now 48h are passed without panics. Fix definitely works. Thanks. > > Thank you. > > I tested it locally (without SNA) and committed the change a hour ago. > It is required anyway, since the race sounds possible. I was mostly > concerned with a thinko in the logic. -- Artyom Mirgorodskiy