From owner-cvs-all Mon Nov 30 07:14:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA06940 for cvs-all-outgoing; Mon, 30 Nov 1998 07:14:16 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA06932; Mon, 30 Nov 1998 07:14:08 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.1/8.9.1/Netplex) with ESMTP id XAA11566; Mon, 30 Nov 1998 23:08:53 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199811301508.XAA11566@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Poul-Henning Kamp cc: Mike Smith , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_clock.c In-reply-to: Your message of "Mon, 30 Nov 1998 15:31:46 +0100." <12215.912436306@critter.freebsd.dk> Date: Mon, 30 Nov 1998 23:08:52 +0800 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Poul-Henning Kamp wrote: > In message <199811301410.GAA03905@dingo.cdrom.com>, Mike Smith writes: > >> In message <199811301338.FAA03590@dingo.cdrom.com>, Mike Smith writes: > >> >> phk 1998/11/29 12:31:03 PST > >> >> > >> >> Modified files: > >> >> sys/kern kern_clock.c > >> >> Log: > >> >> Make the previous behaviour the default, add a sysctl which you > >> >> can set if your hw/sw produces the "calcru negative..." message. > >> > > >> >The sysctl should be automatically set by the "calcru negative ..." > >> >detection code. > >> > >> No, because at that time you clock has already been warped out of > >> shape. People need to know and be aware that their sw/hw has a problem. > > > >Since we can't do this except by screwing up, and for that one time you > >can fudge things so that they're not fatal, I think this is a better > >approach. > > No. I have no way from the kernel to make the change persistent, so > it would have to mess up once per boot. I've come in late, so please forgive me if I'm missing something.. Why is repeating: calcru: negative time .... calcru: negative time .... calcru: negative time .... calcru: negative time .... calcru: negative time .... calcru: negative time .... calcru: negative time .... calcru: negative time .... calcru: negative time .... calcru: negative time .... [.. etc etc ...] over and over again better than doing this once: calcru: negative time .... WARNING: switching timecounter to slightly slower method. Set the sysctl 'kern.timecounter.method' 1 at boot to make this permanent (see /etc/rc.conf). I know what I'd prefer, and I know which one will generate less bug reports and PR's. After all, we stop printing 'stray interrupt' messages after the first few etc. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message