Skip to content

Conversation

chaitu236
Copy link

@chaitu236 chaitu236 commented Jul 23, 2025

This reverts commit 2591195 as it causes clock_adjtime to fail with "ptp: physical clock is free running" in kernel log.

WI: AB#3184608

Testing

  • ./testptp -f 0 succeeds on a cRIO-9049 (testptp from tools/testing/selftests/ptp/testptp.c). It fails without this revert.
  • With NI drivers installed on cRIO-9049, lsof /dev/ptp0 shows multiple processes have opened /dev/ptp0.

Note

The problematic commit is not yet present in nilrt/master/6.12. I've added notes in kernel upgrade work items in this cycle AB#3125763 and AB#3125752 to address this bug if the commit ends up in 6.12 eventually.

This reverts commit 2591195 as it
causes clock_adjtime to fail with "ptp: physical clock is free running"
in kernel log.

Signed-off-by: Chaitanya Vadrevu <[email protected]>
@chaitu236 chaitu236 requested a review from gratian July 23, 2025 19:54
@gratian gratian merged commit 9e1e6e6 into ni:nilrt/master/6.6 Jul 23, 2025
1 check passed
@chaitu236 chaitu236 deleted the dev/cvadrevu/ptp branch July 23, 2025 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants