From owner-svn-src-head@FreeBSD.ORG Mon Mar 24 00:19:56 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 41A8A882; Mon, 24 Mar 2014 00:19:56 +0000 (UTC) Received: from mail0.glenbarber.us (mail0.glenbarber.us [208.86.227.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 101F7826; Mon, 24 Mar 2014 00:19:55 +0000 (UTC) Received: from glenbarber.us (70.15.88.86.res-cmts.sewb.ptd.net [70.15.88.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id 8174B15980; Mon, 24 Mar 2014 00:19:47 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us 8174B15980 Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Sun, 23 Mar 2014 20:19:44 -0400 From: Glen Barber To: John Baldwin Subject: Re: svn commit: r263321 - head/sys/dev/vt Message-ID: <20140324001944.GT3452@glenbarber.us> References: <201403182222.s2IMMmOM081929@svn.freebsd.org> <201403191453.47690.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="o6aug3O60clXg2rj" Content-Disposition: inline In-Reply-To: <201403191453.47690.jhb@freebsd.org> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, Aleksandr Rybalko , src-committers@freebsd.org, svn-src-all@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2014 00:19:56 -0000 --o6aug3O60clXg2rj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 19, 2014 at 02:53:47PM -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 > >=20 > > Log: > > Switch kern.vt.suspendswitch to 0 by default (disabled). > > kern.vt.suspendswitch - sysctl/tunable which enable switch to VT0 bef= ore going > > to suspend and switch back after resume. > > =20 > > MFC after: 7 days >=20 > I think it is fine to change the default, but I'm not certain that this f= ixes > 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 poss= ible. > The last time I looked at it in detail, it seemed like the callout for on= ly > ttyv0 had been zero'd. Other ttyv timers used in switching still had the= correct > contents. >=20 I can confirm setting kern.vt.suspendswitch=3D0 fixes the panic for me. Glen --o6aug3O60clXg2rj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBCAAGBQJTL3ogAAoJELls3eqvi17QxzgP/AmZVO626hZem9epvvYCQrHc 7LkZrJIQTEZkVcfsUxssqSHwwdL2A+Rk3qDYPKtGRdkazCBrZ43dQlCJMrXNoE1P GDkRwu+a930v5VHc5McIMRLpT+yrEju+iOeGCdBkn+/jAE7y6wJSPLJqtGixcbvy eThYpwlQOKNNJKp3lSeJpyLft5ZPG544qHfer07mCURDtx9JTasGAvEqhF34s0/K +W1sAW/eqdAM6S9DLY5DTtwJUip68TA8O8ecVdWGxbgKpCj5B49bNyTn/D6NaBmm N8lxKgGLW3ScdCauWcf8P8Sg+ndSXpXU4PjQ6uOznYKlyZDrcK/odzYrD/jM8DnT 1Yl2+0sAAaBsg7nSsLDjGdFIa+j5oNtNfGTeRSW0O+hJAoHH656rJYE6fXalJEMK WYlsn5p5JsNCaAerg+IpMnOcARbzB2QCNlYHCAyjuDeo5Kbliu88Jt4jqbBBvbhR S4XhCYVy4Uoop6QENtVN0gP8P+YGpNSDtd5yiOg0cLrv1OQbiOy/r9Pdzzg0oljr jdZ+45VR0VThxIqngxJ4TPgaVBd1YGOvPl4BssYl/X+ZmnNr6JwrI9c3Hz8KpO0w MBoZDCIjKzKmnACkJNoNfxAZzpxHdNBonO+MBLP6qSIDHin4kjB3frDqSEV+iInO zatMuZRUzmc3M0Lc3G5X =qAQa -----END PGP SIGNATURE----- --o6aug3O60clXg2rj--