microsoft/SDN

Win10 1909 PTP Multicast no time synchronisation

JB2tec opened this issue · 2 comments

Hi, I am testing the PTP with different settings. My Grandmaster is running in a Linux system. I use the conf file from the github.
master_e2e_sock_modifed_no_clock_discipline_hybrid_configuration.txt
I have insert the my ethernetport from Linuxsystem.
I have set the settings from the manual:
Manual PTP
I got every time a sync error in
w32tm /query /status /verbose

The announce paket seems to be received well:
Output of Wireshark

Precision Time Protocol (IEEE1588)
0000 .... = transportSpecific: 0x0
.... 1011 = messageId: Announce Message (0xb)
0000 .... = Reserved: 0
.... 0010 = versionPTP: 2
messageLength: 64
subdomainNumber: 0
Reserved: 0
flags: 0x000c
0... .... .... .... = PTP_SECURITY: False
.0.. .... .... .... = PTP profile Specific 2: False
..0. .... .... .... = PTP profile Specific 1: False
.... .0.. .... .... = PTP_UNICAST: False
.... ..0. .... .... = PTP_TWO_STEP: False
.... ...0 .... .... = PTP_ALTERNATE_MASTER: False
.... .... ..0. .... = FREQUENCY_TRACEABLE: False
.... .... ...0 .... = TIME_TRACEABLE: False
.... .... .... 1... = PTP_TIMESCALE: True
.... .... .... .1.. = PTP_UTC_REASONABLE: True
.... .... .... ..0. = PTP_LI_59: False
.... .... .... ...0 = PTP_LI_61: False
correction: 0.000000 nanoseconds
correction: Ns: 0 nanoseconds
correctionSubNs: 0 nanoseconds
Reserved: 0
ClockIdentity: 0x901b0efffea6105f
MAC Vendor: FujitsuT
SourcePortID: 1
sequenceId: 3
control: Other Message (5)
logMessagePeriod: 4
originTimestamp (seconds): 1586369049
originTimestamp (nanoseconds): 794118880
originCurrentUTCOffset: 37
priority1: 120
grandmasterClockClass: 10
grandmasterClockAccuracy: The time is accurate to within 1 us (0x23)
grandmasterClockVariance: 28768
priority2: 125
grandmasterClockIdentity: 0x901b0efffea6105f
localStepsRemoved: 0
TimeSource: INTERNAL_OSCILLATOR (0xa0)

If I switch to unicast the WIN10 is synchronizing fine but not in hybrid mode. I have changed the MulticastRx settings in the Registry.
output of w32tm /query /configuration

C:\Windows\system32> w32tm /query /configuration
[Konfiguration]

EventLogFlags: 2 (Lokal)
AnnounceFlags: 10 (Lokal)
TimeJumpAuditOffset: 28800 (Lokal)
MinPollInterval: 10 (Lokal)
MaxPollInterval: 15 (Lokal)
MaxNegPhaseCorrection: 54000 (Lokal)
MaxPosPhaseCorrection: 54000 (Lokal)
MaxAllowedPhaseOffset: 1 (Lokal)

FrequencyCorrectRate: 4 (Lokal)
PollAdjustFactor: 5 (Lokal)
LargePhaseOffset: 50000000 (Lokal)
SpikeWatchPeriod: 900 (Lokal)
LocalClockDispersion: 10 (Lokal)
HoldPeriod: 5 (Lokal)
PhaseCorrectRate: 1 (Lokal)
UpdateInterval: 360000 (Lokal)

[Zeitanbieter]

PtpClient (Lokal)
DllName: C:\Windows\System32\ptpprov.dll (Lokal)
Enabled: 1 (Lokal)
InputProvider: 1 (Lokal)

NtpClient (Lokal)
DllName: C:\Windows\SYSTEM32\w32time.DLL (Lokal)
Enabled: 0 (Lokal)
InputProvider: 1 (Lokal)

NtpServer (Lokal)
DllName: C:\Windows\SYSTEM32\w32time.DLL (Lokal)
Enabled: 0 (Lokal)
InputProvider: 0 (Lokal)

VMICTimeProvider (Lokal)
DllName: C:\Windows\System32\vmictimeprovider.dll (Lokal)
Enabled: 0 (Lokal)
InputProvider: 1 (Lokal)

What work wrong ???

@JB2tec how do you load into the system master_e2e_sock_modifed_no_clock_discipline_hybrid_configuration.txt ?

obviously you are trying to approach the daemons part [the server] while you should be using clients part