• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.5
    • rhel-9.4
    • linuxptp
    • None
    • linuxptp-4.2-3.el9
    • Yes
    • Moderate
    • ZStream, Regression
    • sst_cs_infra_services
    • ssg_core_services
    • 7
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • Approved Blocker
    • None

      What were you trying to do that didn't work?

      When ts2phc is configured to synchronize a PHC to a PPS signal which has timestamped both edges (0.5s pulse width) and an NMEA source is used to reject the falling edge, the detection doesn't work for NMEA delays of less than 0.25 seconds and causes a 0.5 second error for the PHC.

      Some hardware can timestamp only both edges, which requires the software detection.

      This issue is caused by the fix for large NMEA delays added in RHEL-23208. The larger delay is assumed for both the PPS second numbering and edge detection.

      Please provide the package NVR for which bug is seen:

      linuxptp-4.2-2.el9

      How reproducible:

      With specific hardware

      Steps to reproduce

      1. synchronize the system clock, e.g. with NTP
      2.  start ts2phc -l 7 -m -q -c eth0 -s nmea --ts2phc.nmea_serialport /dev/ttyUSB0 --ts2phc.extts_polarity both, where eth0 is a NIC with connected 1Hz 0.5s pulse width PPS signal and /dev/ttyUSB0 provides NMEA with a delay smaller than 0.25 seconds
      3. observe the offset between the system clock and eth0 using phc_ctl eth0 cmp

      Expected results

      offset close to 37 seconds (current TAI-UTC offset)

      Actual results

      offset 37.5 seconds (error of 0.5 seconds)

            rhn-support-mlichvar Miroslav Lichvar
            rhn-support-mlichvar Miroslav Lichvar
            Miroslav Lichvar Miroslav Lichvar
            亚霖 李 亚霖 李
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: