Re: SIGSEGV in lots of processes (head i386 @r237440)

看板FB_current作者時間13年前 (2012/06/23 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
--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 <http://www/~david/FreeBSD/head_r237440.txt>. > > 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--
文章代碼(AID): #1FvBBVuZ (FB_current)
文章代碼(AID): #1FvBBVuZ (FB_current)