#
#asahi · 2023-08-04 18:21
PaulFertserjeisom: I'm reading that source code right atm, are you sure your RTC isn't set as having non-UTC time?
#asahi · 2023-08-04 18:20
jeisomPaulFertser: I have systemd-timesyncd.service enabled and I would expect that to meet that requirement, but obviously it isn't auto-synced
#asahi · 2023-08-04 18:16
PaulFertserjeisom: odd story, Linux auto-syncs system clock to RTC by default every 11 minutes if NTP software reports proper sync. https://elixir.bootlin.com/linux/latest/source/kernel/time/ntp.c#L615 enabled by default: https://elixir.bootlin.com/linux/latest/source/drivers/rtc/Kconfig#L53 . And it's been this way for ages.
#asahi · 2023-08-04 17:48
jeisomI know at the end of the day it doesn't really matter as the kernel has it's own way of maintaining time.
#asahi · 2023-08-04 17:46
jeisomI disabled it agian on July 12th
#asahi · 2023-08-04 17:46
jeisomAs you all are/were talking about the clock, my m1 mini's rtc clock has gained about 39 seconds since July 12th. Anybody else experiancing that? I noticed the clock difference in april or may and set a hwclock sync in cron
#asahi · 2023-08-04 14:54
sid-linuxhow is the UTC time being maintained ? Does it not derive from RTC or there is some other clock
#asahi · 2023-08-04 14:53
sid-linuxbtw... when I do `timedatectl` i notice a ~4 second difference between RTC time and UTC time... is that expected/normal ?
#asahi · 2023-08-04 14:42
sid-linuxjournald entries getting lost could be a plausible explanation also. thanks for helping out ! wonder what happend...
#asahi · 2023-08-04 14:36
marcanI don't know how all this journald stuff works tbh :p
#asahi · 2023-08-04 14:36
marcanthat's weird, unless journals got lost due to hard reboots or something?
#asahi · 2023-08-04 14:35
sid-linux*where I can see
#asahi · 2023-08-04 14:35
sid-linuxI have timestamps on my system for files that are August 3. Those timestamps make sense. But I'm not able to find a `journalctl -b X` where X=some integer I can see August 3 mention
#asahi · 2023-08-04 14:34
marcanunless those boots really *were* from two days ago?
#asahi · 2023-08-04 14:33
marcannot sure what happened there then
#asahi · 2023-08-04 14:33
sid-linuxyes -- good point. But here the BS time fixed itself. In journalctl -b -1 and journalctl -b -2 the fictional old time is never fixed
#asahi · 2023-08-04 14:32
marcanI mean that would happen on every boot if the RTC comes in late, no?
#asahi · 2023-08-04 14:31
marcanthen timesyncd had some kind of checkpoint with a later time and decided to roll forward, but still several seconds behind (presumably the time it took you to reboot)
#asahi · 2023-08-04 14:31
sid-linuxbut the funny thing is i have BS time in my journalctl -b -1 , journalctl -b -2 also
#asahi · 2023-08-04 14:31
marcanby then it was already Aug 4 so it's not like your files would have the wrong times
#asahi · 2023-08-04 14:31
marcanthe Aug 2 time probably came from some early boot time thing / fallback stuff
#asahi · 2023-08-04 14:30
marcanit sounds like you had one BS time, then timesyncd constructed another BS time it thinks is less BS, then finally the RTC showed up and set the right time
#asahi · 2023-08-04 14:30
marcansid-linux: the RTC came in late, that means the original time was probably BS
#asahi · 2023-08-04 14:12
sid-linuxthe most puzzling thing for me _jannau__has been the fact that seeing entries in /var/log/pacman.log, other time stamps for other applications are all correct and i see a good distribution from Aug 02 - August 04. So it seems the rest of the system seemed to be getting the time correct but `journalctl -b` got it wrong
#asahi · 2023-08-04 14:05
sid-linuxyes. there is /usr/lib/modules/6.3.0-asahi-13-1-edge-ARCH/kernel/drivers/rtc/rtc-macsmc.ko
#asahi · 2023-08-04 14:05
sid-linuxsorry wrong one
#asahi · 2023-08-04 14:04
sid-linux*macsmc-rtkit.ko
#asahi · 2023-08-04 14:04
sid-linuxI see macsmc.ko and macsmc-rtkit.so in initrd (/usr/lib/modules/6.3.0-asahi-13-1-edge-ARCH/kernel/drivers/platform/apple)
#asahi · 2023-08-04 13:57
_jannau__that's too late. can you check whether the module is in the initrd? I'd guess it's not but it probably should be
#asahi · 2023-08-04 13:54
sid-linuxAug 04 14:47:58 <some-hostname> kernel: macsmc-rtc macsmc-rtc: setting system clock to 2023-08-04T09:17:58 UTC (1691140678)
#asahi · 2023-08-04 13:54
sid-linuxAug 04 14:47:58 <some-hostname> systemd-resolved[537]: Clock change detected. Flushing caches.
#asahi · 2023-08-04 13:54
sid-linuxAug 04 14:47:34 <some-hostname> kernel: hci_bcm4377 0000:01:00.1: enabling device (0000 -> 0002)
#asahi · 2023-08-04 13:54
sid-linuxAug 04 14:47:34 <some-hostname> kernel: macsmc-rtc macsmc-rtc: registered as rtc0
#asahi · 2023-08-04 13:51
sid-linuxim using asahi linux ALARM
#asahi · 2023-08-04 13:51
sid-linuxthis is log is for a single boot btw. `journalctl -b`
#asahi · 2023-08-04 13:51
_jannau__do you have macsmc-rtc log messages? is this with packaged kernels from asahi or fedora?
#asahi · 2023-08-04 13:50
sid-linuxtz could have been a possible explanation what explains the jump in 2 days?
#asahi · 2023-08-04 13:49
sid-linuxThere is a big jump from Aug 02 -> Aug 04
#asahi · 2023-08-04 13:48
ChaosPrincesswrong tz?
#asahi · 2023-08-04 13:48
sid-linuxthe funny thing is that my system time was not out of sync AFAIK. Looking at /var/log/pacman, other logs and files, they have the correct times on them
#asahi · 2023-08-04 13:47
sid-linuxAug 04 14:47:34 <my-hostname> systemd-timesyncd[539]: System clock time unset or jumped backwards, restored from recorded timestamp: Fri 2023-08-04 14:47:34 <my-timezone>
#asahi · 2023-08-04 13:47
sid-linuxAug 04 14:47:34 <my-hostname> systemd-resolved[537]: Clock change detected. Flushing caches.
#asahi · 2023-08-04 13:47
sid-linuxAug 02 05:24:48 <my-hostname> systemd[1]: Reached target Host and Network Name Lookups.
#asahi · 2023-08-04 13:47
sid-linux--- snip ... 10 lines later ---
#asahi · 2023-08-04 13:47
sid-linuxAug 02 05:24:48 <my-hostname> systemd[1]: Starting Network Time Synchronization...
#asahi · 2023-08-04 13:47
sid-linuxI noticed a strange journalctl time discontinuity issue
#asahi · 2023-08-04 08:31
ChaosPrincessff here, as long is i close and reopen the tab, it works
#asahi · 2023-08-04 08:28
bluetaildoesnt make sense to delete history while having sites still open
#asahi · 2023-08-04 08:28
bluetailits expected
#asahi · 2023-08-04 08:27
mini_you have to quit and reload the browser too

plus ›