Re: [Linuxptp-devel] ptp can't recovery when unplug the cable and plug in after a while

2015-08-11 Thread Arnold kang
thanks. i'll try tomorrow! 2015-08-11 19:20 GMT+08:00 Richard Cochran : > On Tue, Aug 11, 2015 at 05:52:41PM +0800, Arnold kang wrote: > > I know why, when the cable unplugged , the rtc in phy still run as > list > > freq set. so after some seconds, the phy is slower or faster than master > .

Re: [Linuxptp-devel] ptp can't recovery when unplug the cable and plug in after a while

2015-08-11 Thread Richard Cochran
On Tue, Aug 11, 2015 at 05:52:41PM +0800, Arnold kang wrote: > I know why, when the cable unplugged , the rtc in phy still run as list > freq set. so after some seconds, the phy is slower or faster than master . > when cable plug in, after a very lone time to adjfreq, the ptp will sync. > but h

Re: [Linuxptp-devel] ptp can't recovery when unplug the cable and plug in after a while

2015-08-11 Thread Arnold kang
Dear Richard, I know why, when the cable unplugged , the rtc in phy still run as list freq set. so after some seconds, the phy is slower or faster than master . when cable plug in, after a very lone time to adjfreq, the ptp will sync. but how to resolve this? how to recovery as soon as cable p

Re: [Linuxptp-devel] ptp can't recovery when unplug the cable and plug in after a while

2015-08-11 Thread Arnold kang
thank you! I'm trying to reset all ptp dataset when announce packet not received. hope this work. 2015-08-11 15:58 GMT+08:00 Richard Cochran : > On Tue, Aug 11, 2015 at 03:35:26PM +0800, Arnold kang wrote: > > Dear Richard, > > thanks for your reply.I'm using AR8031, and hardware timestamp

Re: [Linuxptp-devel] ptp can't recovery when unplug the cable and plug in after a while

2015-08-11 Thread Richard Cochran
On Tue, Aug 11, 2015 at 03:35:26PM +0800, Arnold kang wrote: > Dear Richard, > thanks for your reply.I'm using AR8031, and hardware timestamp mode > . OS version: 3.0 That HW is not present in mainline Linux, and so I cannot help you with it. Probably it is buggy. Also, from the ptp4l ou

Re: [Linuxptp-devel] ptp can't recovery when unplug the cable and plug in after a while

2015-08-11 Thread Arnold kang
Dear Richard, thanks for your reply.I'm using AR8031, and hardware timestamp mode . OS version: 3.0 some detail: {359.993454} [DEBUG] master offset 2461 s2 freq -51098 path delay 32041 {360.380834} [DEBUG] t1 +1439307277796976619 {360.380880} [DEBUG] t2 +1439307277797011121

Re: [Linuxptp-devel] ptp can't recovery when unplug the cable and plug in after a while

2015-08-11 Thread Richard Cochran
On Tue, Aug 11, 2015 at 11:43:01AM +0800, Arnold kang wrote: > when I test linuxptp. I unplug the cable and plug in after a while, > the ptp can't recovery. and precision stay bad. any one know why? What driver and HW are you using? Some of the Intel drivers reset the NIC time when the link

[Linuxptp-devel] ptp can't recovery when unplug the cable and plug in after a while

2015-08-10 Thread Arnold kang
Hi, all when I test linuxptp. I unplug the cable and plug in after a while, the ptp can't recovery. and precision stay bad. any one know why? -- ___ Linuxptp-devel mailing l