This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mission:log:2015:02:06:patching-kernel-ntp-to-fix-odroid-armv7a-chrony-adjtimex-bug [2015-02-07 19:36] – [Hacking a new RTC power supply with a goldcap capacitor] chrono | mission:log:2015:02:06:patching-kernel-ntp-to-fix-odroid-armv7a-chrony-adjtimex-bug [2015-02-08 09:17] (current) – [Fixing the kernel] chrono | ||
|---|---|---|---|
| Line 32: | Line 32: | ||
| } | } | ||
| </ | </ | ||
| - | After patching the odroid sources with the recommended one from the bugtracker chronyd is working like a charm again. So if you' | + | |
| + | After patching the odroid sources with the recommended one from the bugtracker chronyd is working like a charm again. | ||
| + | |||
| + | **Update** | ||
| + | |||
| + | After linking the issue on github, kukabu delivered the link to the [[https:// | ||
| + | |||
| + | <sxh c; toolbar: | ||
| + | --- a/ | ||
| + | +++ b/ | ||
| + | @@ -634,9 +634,9 @@ int ntp_validate_timex(struct timex *txc) | ||
| + | return -EPERM; | ||
| + | |||
| + | if (txc-> | ||
| + | - if (LONG_MIN / PPM_SCALE > txc-> | ||
| + | + if (LLONG_MIN / PPM_SCALE > txc-> | ||
| + | return -EINVAL; | ||
| + | - if (LONG_MAX / PPM_SCALE < txc-> | ||
| + | + if (LLONG_MAX / PPM_SCALE < txc-> | ||
| + | return -EINVAL; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | This patch was tested and is solving chrony' | ||
| ===== Hacking a new RTC power supply with a goldcap capacitor ===== | ===== Hacking a new RTC power supply with a goldcap capacitor ===== | ||