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
#2
The story continues here: https://github.com/crust-firmware/crust/issues/203
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone + Keyboard for sale, little use ruemoo 4 374 10-28-2024, 08:37 PM
Last Post: AltonFox
  Modem Issues with the Pinephone Temmie19 2 237 10-16-2024, 07:54 AM
Last Post: Temmie19
  various tricks to open the pinephone shengchieh 3 1,314 09-16-2024, 03:42 AM
Last Post: biketool
  my pinephone melted norayr 6 2,005 04-04-2024, 07:22 PM
Last Post: Zebulon Walton
  Pinephone refusing to charge while suspended tiol 1 1,562 04-02-2024, 10:54 AM
Last Post: joH_N_Doe64
  pinephone can provide more than 500mA to a usb-c displayport device? unrznbl 2 901 03-21-2024, 08:52 AM
Last Post: unrznbl
  pinephone keyboard + dock question tuxcall 7 4,170 02-05-2024, 03:17 PM
Last Post: wigan
  Unsatisfactory GPS reception on PinePhone? LinAdmin2 53 65,600 12-17-2023, 11:42 AM
Last Post: robin.com.au
  PinePhone Pro not booting (Cap error!, pctl timeout) jealda 2 2,055 11-16-2023, 05:03 AM
Last Post: DrYak
  Pinephone frame damages Uturn 2 1,611 10-23-2023, 02:49 AM
Last Post: Uturn

Forum Jump:


Users browsing this thread: 1 Guest(s)