From owner-freebsd-current@FreeBSD.ORG Fri Jun 22 15:57:11 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9686106566B for ; Fri, 22 Jun 2012 15:57:11 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id A17068FC12 for ; Fri, 22 Jun 2012 15:57:11 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.5/8.14.5) with ESMTP id q5MFvBZX020701; Fri, 22 Jun 2012 08:57:11 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q5MFvBBu020700; Fri, 22 Jun 2012 08:57:11 -0700 (PDT) (envelope-from david) Date: Fri, 22 Jun 2012 08:57:11 -0700 From: David Wolfskill To: Konstantin Belousov Message-ID: <20120622155711.GV1874@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Konstantin Belousov , current@freebsd.org References: <20120622134959.GT1874@albert.catwhisker.org> <20120622141020.GF2337@deviant.kiev.zoral.com.ua> <20120622152216.GG2337@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="I33OQG5IFrqF2BWt" Content-Disposition: inline In-Reply-To: <20120622152216.GG2337@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: SIGSEGV in lots of processes (head i386 @r237440) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2012 15:57:12 -0000 --I33OQG5IFrqF2BWt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 22, 2012 at 06:22:16PM +0300, Konstantin Belousov wrote: > ... > > > found at . > > This is on i386, right ? Yes. > > Can you boot single-user and just type date in the shell ? > > Does it segfault ? > >=20 > > If yes, does setting sysctl kern.timecounter.fast_gettime to 0 fix > > segfault from date(1) ? >=20 > Ok, I probably can guess the cause. I suppose that 'date' does not > segfaults. Correct; it did not. > Please try the following (which I forgot to commit). Sorry. >=20 > diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c > index f0546b0..30efecd 100644 > --- a/sys/i386/i386/machdep.c > +++ b/sys/i386/i386/machdep.c > > ... That seems to bring behavior back to normal: I can now log in via ssh (vs. having sshd segfault & coredump): FreeBSD freebeast.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #851 237= 440M: Fri Jun 22 08:42:54 PDT 2012 root@freebeast.catwhisker.org:/usr/o= bj/usr/src/sys/GENERIC i386 Thank you very much for the quick response, despite my rather vague hand-waving. And I apologize for not directly responding to your earlier note -- I have no connectivity during most of my commute. (And we really don't want me trying it for the part on my bicycle!) Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --I33OQG5IFrqF2BWt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/klcwACgkQmprOCmdXAD1hkQCfcsx7SglGmOcw/jSA/XqUTpij uygAn1bfvKfymqt/Zy0GbUK4ovLTsWmH =Lc5U -----END PGP SIGNATURE----- --I33OQG5IFrqF2BWt--