[Linuxptp-devel] Year 2038 problem on 32-bit machine

2019-04-23 Thread Vincent Li X
Hi, We realized on our machine, the timespec.time_t (long int) is of 4 bytes, which would cause overflow when converting to internal tmv_t, if the second value is bigger than 2pow(31)-1. https://en.wikipedia.org/wiki/Year_2038_problem How

[Linuxptp-devel] Year 2038 problem on 32-bit machine

2019-04-23 Thread Vincent Li X
Hi, We realized on our machine, the timespec.time_t (long int) is of 4 bytes, which would cause overflow when converting to internal tmv_t, if the second value is bigger than 2pow(31)-1. https://en.wikipedia.org/wiki/Year_2038_problem How do we solve this problem in general? Would below

Re: [Linuxptp-devel] LinuxPTP latest revision compatibility

2019-04-23 Thread Richard Cochran
On Tue, Apr 23, 2019 at 01:41:09PM +0530, Prasanth KV wrote: > Does LinuxPTP 2.0 works with Kernel 4.9.0-8-2-amd64 with no impact on the > features? Yes. > I am exploring to use 2.0 without upgrading the Kernel (rev 4.9). That should work just fine. > Also, LinuxPTP2.0 debian is not yet

[Linuxptp-devel] LinuxPTP latest revision compatibility

2019-04-23 Thread Prasanth KV
Hi , Greetings. I have some queries on latest Linux PTP revision. Does LinuxPTP 2.0 works with Kernel 4.9.0-8-2-amd64 with no impact on the features? I am exploring to use 2.0 without upgrading the Kernel (rev 4.9). Also, LinuxPTP2.0 debian is not yet available. Will it be available in the