Re: [chrony-dev] /usr/sbin/chronyd: Starting with kernel v3.0, chronyd will refuse to start

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On Sun, Jun 05, 2011 at 11:58:42PM -0700, Christian Kujau wrote:
> Debian users are already seeing[0] this:
> 
> sys_linux.c:742:(get_version_specific_details)[02-12:36:37] Linux kernel major=3 minor=0 patch=0
> sys_linux.c:823:(get_version_specific_details)[02-12:36:37] Fatal error :Kernel's major version not supported yet, sorry

Thanks for the report. It should be now fixed in git.

> @@ -997,6 +997,7 @@ get_version_specific_details(void)
>        }
>        break;
>      case 2:
> +    case 3:
>        switch (minor) {
>          case 0:
>            if (patch < 32) {

This would configure chrony as if it was kernel 2.0, probably not what
we want.

BTW, do we really need to support ancient kernels like 1.2? Dropping
support for kernels before 2.2 would simplify the code nicely, what do
you think?

Also, does anyone know how to detect if kernel is running in the
tickless mode?

-- 
Miroslav Lichvar

---
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/