ptp4l instance doesn't assume clockClass=6 due to new label introduced by new ice driver version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Teresa Ho |
Bug Description
Brief Description
-----------------
The new ice driver version changed the status text from "locked_ho_ack" to "locked_ho_acq" so collectd isn't reading it correctly. This is preventing ptp4l instance to assume clockClass=6 and may have other effects.
This was found with Logan Beach NIC using ice driver as below:
[sysadmin@
driver: ice
version: 1.9.11
firmware-version: 4.00 0x800117eb 1.3236.0
The status of GNSS signal used to be "locked_ho_ack", now it is as below:
[root@controller-0 ptpinstance(
Found ZL80032 CGU
DPLL Config ver: 1.3.0.1
CGU Input status:
input (idx) | state | EEC (0) | PPS (1) | ESync fail |
-----
CVL-SDP22 (0) | invalid | 8 | 8 | N/A |
CVL-SDP20 (1) | invalid | 15 | 3 | N/A |
C827_0-RCLKA (2) | invalid | 4 | 4 | N/A |
C827_0-RCLKB (3) | invalid | 5 | 5 | N/A |
C827_1-RCLKA (4) | invalid | 6 | 6 | N/A |
C827_1-RCLKB (5) | invalid | 7 | 7 | N/A |
SMA1 (6) | invalid | 1 | 1 | N/A |
SMA2/U.FL2 (7) | invalid | 2 | 2 | N/A |
GNSS-1PPS (8) | valid | 0 | 0 | N/A |
EEC DPLL:
Current reference: GNSS-1PPS
Status: locked_ho_acq
PPS DPLL:
Current reference: GNSS-1PPS
Status: locked_ho_acq
Phase offset [ns]: 11
Severity
--------
<Critical: System/Feature is not usable after the defect>
Steps to Reproduce
------------------
Configure host as a GM with ptp4l, ts2phc and clock instances.
Make sure GNSS signal is available and locked.
Expected Behavior
ptp4l instance should assume clockClass=6 and timeTraceable=1
[sysadmin@
Password:
sending: GET GRANDMASTER_
40a6b7.
clockClass 6
leap61 0
leap59 0
timeSource 0xa0
Actual Behavior
---------------
ptp4l is clockClass=248 and not timeTraceable
[sysadmin@
Password:
sending: GET GRANDMASTER_
40a6b7.
clockClass 248
leap61 0
leap59 0
timeSource 0xa0
Reproducibility
---------------
Reproducible
System Configuration
-------
AIO-SX + GNSS signal
Branch/Pull Time/Commit
-------
2022-10-26_18-01-09
Last Pass
---------
Test used to pass with the older driver version
Test Activity
-------------
Regression Testing
Workaround
----------
NA
Changed in starlingx: | |
assignee: | nobody → Teresa Ho (teresaho) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.8.0 stx.networking |
Fix proposed to branch: master /review. opendev. org/c/starlingx /monitoring/ +/863095
Review: https:/