ts_to_ct flood on 8.1-STABLE

Jung-uk Kim jkim at FreeBSD.org
Fri Aug 13 23:06:47 UTC 2010


On Friday 13 August 2010 06:50 pm, Andrew J. Caines wrote:
> Jeremy,
>
> Thanks for the quick response.
>
> > The source/responsible code for the printing is in function
> > clock_ts_to_ct() in: src/sys/kern/subr_clock.c
>
> I took a look at the code in an attempt to divine the reason for
> the frequent messages, without success.
>
> Any idea why I see so many? I'm not aware of any special timing
> related configuration. I do run ntpd, of course. In examples I've
> found, others seem to get just the one ts_to_ct message.
>
> > 52 #define ct_debug bootverbose Are your systems booting
> > verbosely?
>
> By default, yes. I'd like to keep it that way without having to
> hack the source. Is there another option?

If you are really annoyed by the messages, you may increase 
'machdep.rtc_save_period' sysctl value to something larger.  Default 
is 1,800 seconds or 30 minutes.  Also, you can completely disable it 
by setting it to zero or 'machdep.disable_rtc_set' to non-zero value 
but I would not recommend it.  Still, it doesn't explain why you are 
seeing the message more often, however. :-(

Jung-uk Kim


More information about the freebsd-stable mailing list