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
Thumbs Up Pinephone USB-C Docking Bar (Amazing !!) Gary2003 21 12,150 06-11-2022, 08:05 AM
Last Post: Peter Gamma
Wink Pinephone IMEI changing info: do you think its OK for a Wiki? mikeb 28 8,800 05-28-2022, 10:49 AM
Last Post: fxc
  Pinephone won't boot from SD card arkadione 3 193 05-25-2022, 03:26 PM
Last Post: sfb
  Pinephone refusing to charge while suspended tiol 0 185 04-29-2022, 01:47 PM
Last Post: tiol
  Severe screen flicker + occasional ghosting | Pinephone Beta edition legowave440 4 391 04-23-2022, 02:04 AM
Last Post: fxc
Question Upgrading a 2020 Community Edition Pinephone? danimations 5 831 03-10-2022, 08:18 AM
Last Post: danimations
  PinePhone Keyboard KJ6OHG 10 2,220 03-02-2022, 10:38 AM
Last Post: lacriz
  No underscore on pinephone keyboard gilwood 3 677 02-25-2022, 07:43 AM
Last Post: gilwood
  Any UK Pinephone users making telephone calls? GrapeJuice 4 860 01-24-2022, 04:37 PM
Last Post: dukla2000
Thumbs Up Airgapped Pinephone already reaches standby time of 6-8 days kuleszdl 6 1,390 01-19-2022, 01:27 PM
Last Post: GrapeJuice

Forum Jump:


Users browsing this thread: 1 Guest(s)