From owner-svn-src-all@FreeBSD.ORG Tue Apr 13 10:20:49 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 598C3106566B; Tue, 13 Apr 2010 10:20:49 +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 C30278FC1E; Tue, 13 Apr 2010 10:20:48 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o3DAKiql090947 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Apr 2010 13:20:44 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o3DAKh3S059700; Tue, 13 Apr 2010 13:20:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o3DAKhuj059699; Tue, 13 Apr 2010 13:20:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 13 Apr 2010 13:20:43 +0300 From: Kostik Belousov To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-ID: <20100413102043.GF2415@deviant.kiev.zoral.com.ua> References: <201004131012.o3DACwMq017101@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1uCEzVPnDDIqSP+G" Content-Disposition: inline In-Reply-To: <201004131012.o3DACwMq017101@svn.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.8 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: Subject: Re: svn commit: r206553 - in head/sys: amd64/amd64 amd64/ia32 i386/i386 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 13 Apr 2010 10:20:49 -0000 --1uCEzVPnDDIqSP+G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 13, 2010 at 10:12:58AM +0000, Konstantin Belousov wrote: > Author: kib > Date: Tue Apr 13 10:12:58 2010 > New Revision: 206553 > URL: http://svn.freebsd.org/changeset/base/206553 >=20 > Log: > Change printf() calls to uprintf() for sigreturn() and trap() complaints > about inacessible or wrong mcontext, and for dreaded "kernel trap with > interrupts disabled" situation. The later is changed when trap is > generated from user mode (shall never be ?). > =20 > Normalize the messages to include both pid and thread name. > =20 > MFC after: 1 week I think that printfs from sigreturn should be changed to signal delivery or even a call to trap_fatal(), but this is for other commit. Anyway, the current situation where messages could be found in daily periodic run (sigreturn pid 23334: cs=3D0xffff, so what ? pid is long time gone) is not very useful for noting the issue. --1uCEzVPnDDIqSP+G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkvERXsACgkQC3+MBN1Mb4jjvgCeKgN7fJ5msD1niDo7W/mw+Z5a 1v8AoIEODNBD2WRAzjg50U4JWAUSFx1A =jfmE -----END PGP SIGNATURE----- --1uCEzVPnDDIqSP+G--