Patrik Lundin: > By looking around in the code I notice that adjfreq is only performed if > openntpd considers itself synced. This makes me wonder: what happens if > the frequency is so off target that the skew introduced by adjtime() is > unable to overcome it?
Then ntpd cannot maintain the time. > Might this be the cause for my runaway system clock? Yes. If your drift exceeds the 5 ms/s that adjtime() can handle, then your clock is broken. It's a "this should never happen" kind of situation. If you are desperate, you can try manually calculating the drift and setting a frequency correction manually (either with a little program, or by writing the value to ntpd.drift before starting ntpd), but I suspect that way lies madness. -- Christian "naddy" Weisgerber [email protected]
