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 ? > > > > If yes, does setting sysctl kern.timecounter.fast_gettime to 0 fix > > segfault from date(1) ? > > 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. > > 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 237440M: Fri Jun 22 08:42:54 PDT 2012 root_at_freebeast.catwhisker.org:/usr/obj/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 -- David H. Wolfskill david_at_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.
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:28 UTC