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 1643983

Summary: RFE: support for extended PTP_SYS_OFFSET ioctl in chrony
Product: Red Hat Enterprise Linux 7 Reporter: Miroslav Lichvar <mlichvar>
Component: chronyAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: atragler, mkolaja, mlichvar, omejzlik
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1677218 (view as bug list) Environment:
Last Closed: 2018-12-19 14:00:33 UTC Type: Bug
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:    
Bug Blocks: 1643962    

Description Miroslav Lichvar 2018-10-29 16:43:31 UTC
Description of problem:
A new ioctl is needed to enable a more accurate synchronization of the system clock with HW timestamping (bug #1643974). When available, the ioctl needs to be supported by chrony.

Version-Release number of selected component (if applicable):
chrony-3.2-2.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. run chronyd as an NTP client with HW timestamping and look for hwclock messages in the debug output:
    chronyd -d -d "server $LOCAL_NTPSERVER minpoll 2 maxpoll 2" \
       'hwtimestamp *' |& grep 'hwclock.*err='

Actual results:
2018-10-20T19:19:44Z hwclock.c:191:(HCL_AccumulateSample) HW clock samples=16 offset=-1.859570e-08 freq=2.936241e-05 raw_freq=3.643518e-05 err=1.193500e-06 ref_diff=7.251244e+03

It depends on the NIC, PCIe slot, and other things, but usually the reported error is about 0.7-2.5 microseconds.

Expected results:
Reported error smaller than 0.5 microsecond at least for some supported NICs.

Comment 3 Miroslav Lichvar 2018-11-27 14:23:08 UTC
The upstream code now supports the new ioctl.

Comment 6 Red Hat Bugzilla Rules Engine 2018-12-19 14:00:33 UTC
Product Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 10 Red Hat Bugzilla 2023-09-14 04:41:28 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days