Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2123277

Summary: Reading of PHC fails and phc2sys exits [rhel-8.6.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: linuxptpAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED ERRATA QA Contact: Yalin.Li <yalli>
Severity: medium Docs Contact:
Priority: urgent    
Version: 8.4CC: dcain, fkrska, mlichvar, psklenar, pvaanane, yalli
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: linuxptp-3.1.1-2.el8_6.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2079129 Environment:
Last Closed: 2022-10-25 09:32:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2079129    
Bug Blocks:    

Comment 1 Yalin.Li 2022-09-07 07:28:38 UTC
phc2sys doesn't end after "device or resource busy" error happened. Marked as Tested.
# uname -r
4.18.0-372.26.1.el8_6.x86_64
# rpm -q linuxptp
linuxptp-3.1.1-2.el8_6.1.x86_64
# tail ptp4l.log
ptp4l[11599.278]: master offset          7 s2 freq     +50 path delay       321
ptp4l[11599.340]: master offset          4 s2 freq     +46 path delay       322
ptp4l[11599.402]: master offset          9 s2 freq     +55 path delay       322
ptp4l[11599.464]: master offset         -7 s2 freq     +28 path delay       322
ptp4l[11599.527]: master offset         -3 s2 freq     +35 path delay       322
ptp4l[11599.589]: master offset        -11 s2 freq     +21 path delay       322
ptp4l[11599.664]: master offset          7 s2 freq     +50 path delay       321
ptp4l[11599.729]: master offset        -14 s2 freq     +15 path delay       321
ptp4l[11599.787]: master offset         -7 s2 freq     +26 path delay       320
ptp4l[11599.850]: master offset         -2 s2 freq     +34 path delay       320
# tail phc2sys.log 
phc2sys[11416.233]: CLOCK_REALTIME phc offset         1 s2 freq  -82523 delay    605
phc2sys[11416.296]: CLOCK_REALTIME phc offset       -16 s2 freq  -82540 delay    605
phc2sys[11416.358]: CLOCK_REALTIME phc offset        -2 s2 freq  -82531 delay    554
phc2sys[11416.421]: CLOCK_REALTIME phc offset       -10 s2 freq  -82540 delay    561
phc2sys[11416.484]: CLOCK_REALTIME phc offset        -8 s2 freq  -82541 delay    555
phc2sys[11416.546]: CLOCK_REALTIME phc offset        -9 s2 freq  -82544 delay    559
phc2sys[11416.609]: CLOCK_REALTIME phc offset        -1 s2 freq  -82539 delay    601
phc2sys[11416.672]: CLOCK_REALTIME phc offset        -4 s2 freq  -82542 delay    610
phc2sys[11416.734]: CLOCK_REALTIME phc offset       -12 s2 freq  -82551 delay    559
# grep busy phc2sys
phc2sys[11040.778]: ioctl PTP_SYS_OFFSET_EXTENDED: Device or resource busy
phc2sys[11178.129]: ioctl PTP_SYS_OFFSET_EXTENDED: Device or resource busy
phc2sys[11185.632]: ioctl PTP_SYS_OFFSET_EXTENDED: Device or resource busy
phc2sys[11230.949]: ioctl PTP_SYS_OFFSET_EXTENDED: Device or resource busy

Comment 4 Yalin.Li 2022-09-14 03:54:15 UTC
Verified in comment 1. Mark as verified.

Comment 10 errata-xmlrpc 2022-10-25 09:32:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (linuxptp bug fix 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-2022:7121