Bug 1011022 - Auto delay mechanism doesn't work with P2P
Summary: Auto delay mechanism doesn't work with P2P
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: linuxptp
Version: 6.5
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Lichvar
QA Contact: Jimmy Pan
Depends On:
Blocks: 1005342
TreeView+ depends on / blocked
Reported: 2013-09-23 13:46 UTC by Miroslav Lichvar
Modified: 2015-07-20 00:55 UTC (History)
4 users (show)

Fixed In Version: linuxptp-1.4-1.20140318git2b099c.el6
Doc Type: Bug Fix
Doc Text:
Cause: The delay timer wasn't reset when ptp4l was configured to select the delay mechanism automatically and P2P delay mechanism was selected. Consequence: ptp4l didn't make any peer delay measurements. Fix: The P2P timer is reset when P2P mechanism is selected. Result: Peer delay is measured correctly when ptp4l is configured to select the delay mechanism automatically.
Clone Of:
Last Closed: 2014-10-14 07:03:44 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1491 0 normal SHIPPED_LIVE linuxptp bug fix and enhancement update 2014-10-14 01:28:25 UTC

Description Miroslav Lichvar 2013-09-23 13:46:04 UTC
Description of problem:
When ptp4l is configured to use the Auto delay mechanism and it receives a P2P request when the E2E delay timer is not running, it will switch to P2P, but not make any P2P requests itself.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. run ptp4l master with P2P
2. run ptp4l slave with Auto
3. monitor slave log

Actual results:
ptp4l not making any clock updates

Expected results:
ptp4l reporting master offsets and making clock updates

Additional info:
This is fixed by upstream commit b366b79306f0d5d8c7da0ae10acdca2b01cb54fe.

Test 18-autodm from https://github.com/mlichvar/linuxptp-testsuite tests this bug.

Comment 2 RHEL Program Management 2013-10-14 01:59:52 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 errata-xmlrpc 2014-10-14 07:03:44 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.