Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 1998 19:44:45 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, jak@cetlink.net
Cc:        current@FreeBSD.ORG
Subject:   Re: tickadj -t not changing tick
Message-ID:  <199807160944.TAA02024@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>OTOH, when you change the m-d variables, the kernel attempts to propagate
>>the changes, but it doesn't succeed (it sets the active frequency,
>>possibly causing a glitch due to the non-atomic update, and the change
>>gets blown away at the next clock interrupt).
>
>I just tried this on a 486 running a 980515 SNAP, and it worked.  It
>*did* propagate machdep.i8254_freq to kern.timecounter.frequency.  And
>from checking the time deviation with ntpdate, it seems to be right on
>the mark now.
>
>Are you saying it may propagate sometimes but not always?

Perhaps it is only broken for my version of machdep.tsc_freq.  For the
standard version, setting machdep.tsc_freq to 0 causes a panic for
division by 0 for obvious reasons instead of switching to the i8254
version like it is supposed to and does in my version.  Standard
versions just depend on the `tweak' timecounter being at index 0,
which it is.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807160944.TAA02024>