• Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.5
    • rhel-9.5
    • linuxptp
    • linuxptp-4.2-3.el9
    • None
    • Moderate
    • ZStream
    • rhel-sst-cs-stacks
    • ssg_core_services
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • x86_64
    • None

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

      The gnss dev is outputting the GNRMC and GNGGA message but the ts2phc log only shows the GNRMC message.

      1. cat /dev/gnss0

      $GNRMC,051011.00,A,3944.70487,N,11629.81495,E,0.000,,130624,,,A,V*18

      $GNGGA,051011.00,3944.70487,N,11629.81495,E,1,12,99.99,56.4,M,-8.1,M,,*5C

      $GNRMC,051012.00,A,3944.70487,N,11629.81495,E,0.000,,130624,,,A,V*1B

      $GNGGA,051012.00,3944.70487,N,11629.81495,E,1,12,99.99,56.4,M,-8.1,M,,*5F

      $GNRMC,051013.00,A,3944.70487,N,11629.81495,E,0.000,,130624,,,A,V*1A

      $GNGGA,051013.00,3944.70487,N,11629.81495,E,1,12,99.99,56.4,M,-8.1,M,,*5E

      ^C

      ...

      ts2phc[4913.999]: /dev/ptp4 offset          0 s2 freq      +0
      ts2phc[4914.233]: nmea sentence: GNRMC,050952.00,A,3944.70487,N,11629.81495,E,0.000,,130624,,,A,V
      ts2phc[4914.999]: nmea delay: 233169398 ns
      ts2phc[4914.999]: adding tstamp 1718255430.000000000 to clock /dev/ptp4
      ts2phc[4914.999]: nmea delay: 233169398 ns
      ts2phc[4914.999]: /dev/ptp4 offset          0 s2 freq      +0
      ts2phc[4915.183]: nmea sentence: GNRMC,050953.00,A,3944.70487,N,11629.81495,E,0.000,,130624,,,A,V
      ts2phc[4915.999]: nmea delay: 183705461 ns
      ts2phc[4915.999]: adding tstamp 1718255431.000000000 to clock /dev/ptp4
      ts2phc[4915.999]: nmea delay: 183705461 ns
      ts2phc[4915.999]: /dev/ptp4 offset          0 s2 freq      +0
      ts2phc[4916.186]: nmea sentence: GNRMC,050954.00,A,3944.70487,N,11629.81495,E,0.000,,130624,,,A,V
      ts2phc[4916.999]: nmea delay: 186948633 ns
      ts2phc[4916.999]: adding tstamp 1718255432.000000000 to clock /dev/ptp4
      ts2phc[4916.999]: nmea delay: 186948633 ns

      ...

      Please provide the package NVR for which bug is seen:

      1. uname -r
        5.14.0-457.el9.x86_64
        [root@dell-per740-29 vran]# rpm -q linuxptp
        linuxptp-4.2-2.el9.x86_64

        How reproducible:

       

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

            [RHEL-40947] Missing GNGGA nmea message in ts2phc

            Errata Tool added a comment -

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (linuxptp bug fix and enhancement update), and where to find the updated files, follow the link below.

            If the solution does not work for you, open a new bug report.
            https://access.redhat.com/errata/RHBA-2024:9269

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (linuxptp bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2024:9269

            Yalin Li added a comment -

            Fixed in linuxptp-4.2-3.el9, now other nmea message could be observed in ts2phc log:

            ...

            ts2phc[79917.516]: nmea delay: 123267681 ns
            ts2phc[79917.516]: adding tstamp 1719379304.000000000 to clock /dev/ptp2
            ts2phc[79917.516]: nmea delay: 123267681 ns
            ts2phc[79917.516]: /dev/ptp2 offset          0 s2 freq      +0
            ts2phc[79917.647]: nmea sentence: GNRMC,052107.00,A,3944.70589,N,11629.81448,E,0.035,,260624,,,A,V
            ts2phc[79917.647]: nmea sentence: GNGGA,052107.00,3944.70589,N,11629.81448,E,1,12,0.82,52.6,M,-8.1,M,,
            ts2phc[79918.516]: nmea delay: 127876388 ns
            ts2phc[79918.516]: adding tstamp 1719379305.000000000 to clock /dev/ptp2
            ts2phc[79918.516]: nmea delay: 127876388 ns
            ts2phc[79918.516]: /dev/ptp2 offset          0 s2 freq      +0
            ts2phc[79918.635]: nmea sentence: GNRMC,052108.00,A,3944.70588,N,11629.81449,E,0.034,,260624,,,A,V
            ts2phc[79918.636]: nmea sentence: GNGGA,052108.00,3944.70588,N,11629.81449,E,1,12,0.82,52.7,M,-8.1,M,,
            ts2phc[79919.516]: nmea delay: 116806017 ns
            ts2phc[79919.516]: adding tstamp 1719379306.000000000 to clock /dev/ptp2
            ts2phc[79919.516]: nmea delay: 116806017 ns
            ts2phc[79919.516]: /dev/ptp2 offset          0 s2 freq      +0
            ts2phc[79919.688]: nmea sentence: GNRMC,052109.00,A,3944.70587,N,11629.81449,E,0.033,,260624,,,A,V
            ts2phc[79919.688]: nmea sentence: GNGGA,052109.00,3944.70587,N,11629.81449,E,1,12,0.82,52.7,M,-8.1,M,,

            ...

            Yalin Li added a comment - Fixed in linuxptp-4.2-3.el9, now other nmea message could be observed in ts2phc log: ... ts2phc [79917.516] : nmea delay: 123267681 ns ts2phc [79917.516] : adding tstamp 1719379304.000000000 to clock /dev/ptp2 ts2phc [79917.516] : nmea delay: 123267681 ns ts2phc [79917.516] : /dev/ptp2 offset          0 s2 freq      +0 ts2phc [79917.647] : nmea sentence: GNRMC,052107.00,A,3944.70589,N,11629.81448,E,0.035,,260624,,,A,V ts2phc [79917.647] : nmea sentence: GNGGA,052107.00,3944.70589,N,11629.81448,E,1,12,0.82,52.6,M,-8.1,M,, ts2phc [79918.516] : nmea delay: 127876388 ns ts2phc [79918.516] : adding tstamp 1719379305.000000000 to clock /dev/ptp2 ts2phc [79918.516] : nmea delay: 127876388 ns ts2phc [79918.516] : /dev/ptp2 offset          0 s2 freq      +0 ts2phc [79918.635] : nmea sentence: GNRMC,052108.00,A,3944.70588,N,11629.81449,E,0.034,,260624,,,A,V ts2phc [79918.636] : nmea sentence: GNGGA,052108.00,3944.70588,N,11629.81449,E,1,12,0.82,52.7,M,-8.1,M,, ts2phc [79919.516] : nmea delay: 116806017 ns ts2phc [79919.516] : adding tstamp 1719379306.000000000 to clock /dev/ptp2 ts2phc [79919.516] : nmea delay: 116806017 ns ts2phc [79919.516] : /dev/ptp2 offset          0 s2 freq      +0 ts2phc [79919.688] : nmea sentence: GNRMC,052109.00,A,3944.70587,N,11629.81449,E,0.033,,260624,,,A,V ts2phc [79919.688] : nmea sentence: GNGGA,052109.00,3944.70587,N,11629.81449,E,1,12,0.82,52.7,M,-8.1,M,, ...

            The message following RMC is ignored due a missing reset of the parser. This is not a problem if there are non-RMC messages, but if the receiver is configured to generate RMC messages only, every other will be ignored.

            Fix submitted to upstream:
            https://lists.nwtime.org/sympa/arc/linuxptp-devel/2024-06/msg00024.html

            Miroslav Lichvar added a comment - The message following RMC is ignored due a missing reset of the parser. This is not a problem if there are non-RMC messages, but if the receiver is configured to generate RMC messages only, every other will be ignored. Fix submitted to upstream: https://lists.nwtime.org/sympa/arc/linuxptp-devel/2024-06/msg00024.html

              rhn-support-mlichvar Miroslav Lichvar
              rhn-support-yalli Yalin Li
              Miroslav Lichvar Miroslav Lichvar
              Yalin Li Yalin Li
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: