Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-30 Thread Miroslav Lichvar
On Wed, Mar 30, 2022 at 01:41:18AM +0300, Vladimir Oltean wrote: > I think your comparison between NTP and PTP is a bit flawed because they > serve different purposes, PTP being there for 'precise' synchronization > rather than following the time of day. I don't think they are that different. But

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-29 Thread Vladimir Oltean
Hi Miroslav, On Tue, Mar 29, 2022 at 09:10:59AM +0200, Miroslav Lichvar wrote: > On Fri, Mar 25, 2022 at 02:45:04AM +0200, Vladimir Oltean wrote: > > In general, we all seem to agree that the initial PTP time is largely > > irrelevant until you start looking at it for some particular reason > > (d

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-29 Thread Chris Caudle
> In the Master I didn't use phc2sys in my first tests, > and I was getting -300ms latency values between > the two setups. That is a different issue than first described. I was referring to the problem of the date from the master being set to 2018 rather than the current date. I do not remember

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-29 Thread Miroslav Lichvar
On Fri, Mar 25, 2022 at 02:45:04AM +0200, Vladimir Oltean wrote: > In general, we all seem to agree that the initial PTP time is largely > irrelevant until you start looking at it for some particular reason > (debugging). Or at least, almost everyone seems to agree. I remember > Miroslav Lichvar ar

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-28 Thread Keller, Jacob E
> -Original Message- > From: Vladimir Oltean > Sent: Thursday, March 24, 2022 6:13 PM > To: Keller, Jacob E > Cc: ch...@chriscaudle.org; linuxptp-users@lists.sourceforge.net > Subject: Re: [Linuxptp-users] phc2sys not synchr. to right time and date > > On Fr

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-26 Thread Richard Cochran
On Sat, Mar 26, 2022 at 10:25:43AM +, Federico Murciano wrote: > Do you have concrete instrucctions that I could try in master and > slave in order to correct this? Do you think it is possible that due > to the setups where I just plug in the device to electricity and > other setup that is plu

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-26 Thread Federico Murciano
p-users] phc2sys not synchr. to right time and date > I can also see in the Master devices this difference in its clocks: > from 32 seconds to 31 in the RTC time: > I did hwclock -w and still get this values None of that has anything to do with the PTP hardware clock (PHC) in the network cont

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-24 Thread Vladimir Oltean
acob E > > > Cc: ch...@chriscaudle.org; linuxptp-users@lists.sourceforge.net > > > Subject: Re: [Linuxptp-users] phc2sys not synchr. to right time and date > > > > > > On Fri, Mar 25, 2022 at 12:27:53AM +, Keller, Jacob E wrote: > > > > > (

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-24 Thread Vladimir Oltean
t; > Subject: Re: [Linuxptp-users] phc2sys not synchr. to right time and date > > > > On Fri, Mar 25, 2022 at 12:27:53AM +, Keller, Jacob E wrote: > > > > (there might be other reasons why his setup is working, but) > > > > Some kernel Ethernet drivers have a

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-24 Thread Keller, Jacob E
> -Original Message- > From: Vladimir Oltean > Sent: Thursday, March 24, 2022 5:45 PM > To: Keller, Jacob E > Cc: ch...@chriscaudle.org; linuxptp-users@lists.sourceforge.net > Subject: Re: [Linuxptp-users] phc2sys not synchr. to right time and date > > On Fr

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-24 Thread Vladimir Oltean
On Fri, Mar 25, 2022 at 12:27:53AM +, Keller, Jacob E wrote: > > (there might be other reasons why his setup is working, but) > > Some kernel Ethernet drivers have a bad habit of writing the current > > (UTC) system time (derived from the battery-backed RTC) into the PHC > > current (TAI) time

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-24 Thread Keller, Jacob E
> -Original Message- > From: Vladimir Oltean > Sent: Thursday, March 24, 2022 11:10 AM > To: ch...@chriscaudle.org > Cc: linuxptp-users@lists.sourceforge.net > Subject: Re: [Linuxptp-users] phc2sys not synchr. to right time and date > > On Thu, Mar 24, 2022 at

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-24 Thread Keller, Jacob E
> -Original Message- > From: Federico Murciano > Sent: Thursday, March 24, 2022 3:02 AM > To: Keller, Jacob E ; linuxptp- > us...@lists.sourceforge.net > Cc: Sebastian Peters > Subject: AW: phc2sys not synchr. to right time and date > > Hi Jacob, > > Thank you for your answer. That i

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-24 Thread Chris Caudle
> I can also see in the Master devices this difference in its clocks: > from 32 seconds to 31 in the RTC time: > I did hwclock -w and still get this values None of that has anything to do with the PTP hardware clock (PHC) in the network controller. The system clock runs on the system processor, th

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-24 Thread Federico Murciano
; Gesendet: Mittwoch, 23. März 2022 18:33 An: linuxptp-users@lists.sourceforge.net Betreff: Re: [Linuxptp-users] phc2sys not synchr. to right time and date > From: Federico Murciano > Subject: [Linuxptp-users] phc2sys not synchr. to right time and date > Message-ID: <1648054395763.43...

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-24 Thread Federico Murciano
ctor: Prof. Dr. Dr. h.c. Sahin Albayrak Von: Vladimir Oltean Gesendet: Donnerstag, 24. März 2022 19:09 An: ch...@chriscaudle.org Cc: linuxptp-users@lists.sourceforge.net Betreff: Re: [Linuxptp-users] phc2sys not synchr. to right time and date On Thu, Mar 24,

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-24 Thread Vladimir Oltean
On Thu, Mar 24, 2022 at 09:14:08AM -0500, Chris Caudle wrote: > On Thu, March 24, 2022 5:02 am, > linuxptp-users-requ...@lists.sourceforge.net wrote: > > From: Federico Murciano > > Subject: Re: [Linuxptp-users] phc2sys not synchr. to right time and > > date > >

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-24 Thread Chris Caudle
On Thu, March 24, 2022 5:02 am, linuxptp-users-requ...@lists.sourceforge.net wrote: > From: Federico Murciano > Subject: Re: [Linuxptp-users] phc2sys not synchr. to right time and > date > Message-ID: <1648115598945.22...@dai-labor.de> > Thank you for your answer. Yes

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-24 Thread Federico Murciano
ano > Sent: Wednesday, March 23, 2022 10:13 AM > To: linuxptp-users@lists.sourceforge.net > Cc: Sebastian Peters > Subject: Re: [Linuxptp-users] phc2sys not synchr. to right time and date > > edge2@dai-edge2:~$ timedatectl > >Local time: Mon 2018-01-29 2

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-24 Thread Federico Murciano
; Gesendet: Mittwoch, 23. März 2022 18:33 An: linuxptp-users@lists.sourceforge.net Betreff: Re: [Linuxptp-users] phc2sys not synchr. to right time and date > From: Federico Murciano > Subject: [Linuxptp-users] phc2sys not synchr. to right time and date > Message-ID: <1648054395763.43...

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-23 Thread Chris Caudle
> From: Federico Murciano > Subject: [Linuxptp-users] phc2sys not synchr. to right time and date > Message-ID: <1648054395763.43...@dai-labor.de> > sudo phc2sys -s enp0s31f6 -O 0 -m That is on the slave computer? What is the phc2sys options and output messages on the maste

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-23 Thread Keller, Jacob E
> -Original Message- > From: Federico Murciano > Sent: Wednesday, March 23, 2022 10:13 AM > To: linuxptp-users@lists.sourceforge.net > Cc: Sebastian Peters > Subject: Re: [Linuxptp-users] phc2sys not synchr. to right time and date > > edge2@

Re: [Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-23 Thread Federico Murciano
yrak Von: Federico Murciano Gesendet: Mittwoch, 23. März 2022 17:53 An: linuxptp-users@lists.sourceforge.net Cc: Sebastian Peters Betreff: [Linuxptp-users] phc2sys not synchr. to right time and date Hello everyone, I am trying to sync different Ubuntu computers to the ptp ma

[Linuxptp-users] phc2sys not synchr. to right time and date

2022-03-23 Thread Federico Murciano
Hello everyone, I am trying to sync different Ubuntu computers to the ptp master clock from another device connected to each of them. The setup is very easy: Ubuntu Laptop as Slave <-> Ubuntu device with GPS signal as Master The problem is that for one system, everything is working right, b