Pinephone time goes too slow (not a 2115 year problem)
#1
Please help me to figure out what is going on with the system time of my Pinephone. I noticed that both system and hardware clocks run too slow for some unknown reason. For example, I could see that NTPD adjusts the clock every several hours.

I wrote a script collecting 3 kind of times: the network time (from time.nist.gov), the system time and the rtc (hwclock) time. Then I did:

1) Stop ntpd
2) Run this script  for about a day on my desktop PC and on a Pinephone (Pinephone was in a suspend most of the time)
3) Collect the data and plot the results this renderer

The results are:
[Image: clockskew.png?raw=true]
Vertical axis is the time difference, in seconds
Horizontal axis is the running time of my script, in minutes
The blue and orange lines show the difference between remote (time.nist.gov) and local clocks: system and hwclock.


As we may see, the clock skew tend to increase quickly on a pinephone.

The question is - why, and how to fix.

Note, that it is unlikely a known "year 2115" problem, because I can see both errata and the correction patch applied to the kernel.
Note2, I did stop NTPD, so I can't explain right now why the pinephone time difference became zero at 450th minute of the measurement. Maybe there is other agent which does the correction, besides ntpd.

I use Megi's kernel 5.13.7, Crust fw is 0.4, the os is MobileNixos.

I believe it is a hardware/firmware problem. Let me know if there is a better place to post it.
  Reply


Messages In This Thread
Pinephone time goes too slow (not a 2115 year problem) - by grwlf - 02-04-2022, 02:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Recycling pinephone as home server mdk 3 411 11-12-2025, 11:18 AM
Last Post: biketool
  Pinephone + Keyboard for sale, little use ruemoo 10 5,859 10-07-2025, 07:36 PM
Last Post: PinePhoneProUser
Sad PinePhone USB-C port and audio jack failure Kevin Kofler 2 5,896 07-09-2025, 02:04 PM
Last Post: georgegohl888
  Modem Issues with the Pinephone Temmie19 5 3,829 07-02-2025, 12:50 PM
Last Post: biketool
Question Third-party cheap touchscreen/LCD for the Pinephone - lost knowledge? mikeb 2 2,652 06-21-2025, 05:19 PM
Last Post: mikeb
  Pinephone not booting sd card... bruv 1 2,025 03-25-2025, 08:51 PM
Last Post: Kevin Kofler
  FOSS fw problem - PinePhonePro, EG25 modem dukla2000 5 3,186 02-05-2025, 02:30 AM
Last Post: biketool
  Pinephone - broken power button rorus 13 17,832 12-16-2024, 08:32 PM
Last Post: tllim
  various tricks to open the pinephone shengchieh 3 3,961 09-16-2024, 03:42 AM
Last Post: biketool
  my pinephone melted norayr 6 5,497 04-04-2024, 07:22 PM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 1 Guest(s)