From owner-svn-src-all@FreeBSD.ORG Thu Mar 27 09:40:06 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82C32CD2; Thu, 27 Mar 2014 09:40:06 +0000 (UTC) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 3E2937CD; Thu, 27 Mar 2014 09:40:06 +0000 (UTC) Received: from terran (unknown [192.168.99.1]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPA id 44501C496D; Thu, 27 Mar 2014 11:39:59 +0200 (EET) Date: Thu, 27 Mar 2014 11:41:48 +0200 From: Aleksandr Rybalko To: John Baldwin Subject: Re: svn commit: r263321 - head/sys/dev/vt Message-Id: <20140327114148.3368cea00ad2a0994315c5b0@freebsd.org> In-Reply-To: <201403191453.47690.jhb@freebsd.org> References: <201403182222.s2IMMmOM081929@svn.freebsd.org> <201403191453.47690.jhb@freebsd.org> X-Mailer: Sylpheed 3.3.1 (GTK+ 2.24.22; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 09:40:06 -0000 On Wed, 19 Mar 2014 14:53:47 -0400 John Baldwin wrote: > On Tuesday, March 18, 2014 6:22:48 pm Aleksandr Rybalko wrote: > > Author: ray > > Date: Tue Mar 18 22:22:47 2014 > > New Revision: 263321 > > URL: http://svnweb.freebsd.org/changeset/base/263321 > > > > Log: > > Switch kern.vt.suspendswitch to 0 by default (disabled). > > kern.vt.suspendswitch - sysctl/tunable which enable switch to VT0 before going > > to suspend and switch back after resume. > > > > MFC after: 7 days > > I think it is fine to change the default, but I'm not certain that this fixes > the panics on resume. So far no one has reported back that this did fix them > after I suggested it. It would be good to fix the panics as well if possible. > The last time I looked at it in detail, it seemed like the callout for only > ttyv0 had been zero'd. Other ttyv timers used in switching still had the correct > contents. > > -- > John Baldwin Yeah, thanks for pointing on it. Your hint about ttyv0 point to the difference between ttyv0 and others. Window structure for VT1 defined statically for early stage drivers (like vt_vga), so I forget to initialize callout for that window :) Now it was fixed by r263809. And since we still have problem with puzzling Xorg screen after suspend/resume - I will revert this commit. My research on that problem (puzzling Xorg screen) point on two possible problems: 1. maybe Xorg lack of APM module, or it is broken somehow. 2. maybe problem in drm2, so Xorg's framebuffer rearranged by drm2, but Xorg don't know about that. Many thanks! WBW -- Aleksandr Rybalko