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 Mon, 6 Jun 2011, Miroslav Lichvar wrote:

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?

I was surprized 7 years ago to see 1.2 support in chrony. It is definitely
there as legacy code. Not sure if it is best to let sleeping dogs lie ( just
in case someone somewhere wants to use it), or clean it up. Anyway, I would
mildly vote to get rid of that ancient support.


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



--
William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/

---
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/