Thread View: muc.lists.freebsd.bugs
5 messages
5 total messages
Started by bugzilla-noreply
Mon, 12 Oct 2026 16:18
[Bug 299337] Time is behind in a FreeBSD UTM VM after it wakes up from sleep
Author: bugzilla-noreply
Date: Mon, 12 Oct 2026 16:18
Date: Mon, 12 Oct 2026 16:18
42 lines
3161 bytes
3161 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299337
Bug ID: 299337
Summary: Time is behind in a FreeBSD UTM VM after it wakes up
from sleep
Product: Base System
Version: 16.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: yuri@freebsd.org
16-CURRENT is running in a UTM VM on a very new MacBook laptop.
Initially the time is synced with an outside NTP server. The time is running
fine. ntpd is not running.
How to reproduce the problem:
1. Suspend the host system by closing the laptop lid and disconnecting power.
2. Wake it up after 5 minutes.
3. Observe that the time is behind by ~30 secs.
The problem is reproducible.
It looks like FreeBSD updates the time after it wakes up but it doesn't update
it correctly.
The time is behind by 30 secs, not 5 minutes.
--
You are receiving this mail because:
You are the assignee for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
[Bug 299337] Time is behind in a FreeBSD UTM VM after it wakes up from sleep
Author: bugzilla-noreply
Date: Mon, 12 Oct 2026 17:03
Date: Mon, 12 Oct 2026 17:03
15 lines
2575 bytes
2575 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299337 --- Comment #1 from Yuri Victorovich <yuri@freebsd.org> --- IMO, the expected behavior is that there should be correct time adjustment on wake-up without the need of forced NTP update in /etc/rc.resume scripts. -- You are receiving this mail because: You are the assignee for the bug. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
[Bug 299337] Time is behind in a FreeBSD UTM VM after it wakes up from sleep
Author: bugzilla-noreply
Date: Mon, 12 Oct 2026 20:43
Date: Mon, 12 Oct 2026 20:43
34 lines
3405 bytes
3405 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299337 --- Comment #2 from Yuri Victorovich <yuri@freebsd.org> --- Some relevant sysctl values: kern.timecounter.nanosleep_precise: 1 kern.timecounter.fast_gettime: 1 kern.timecounter.tick: 1 kern.timecounter.choice: ARM MPCore Timecounter(1000) dummy(-1000000) kern.timecounter.hardware: ARM MPCore Timecounter kern.timecounter.alloweddeviation: 5 kern.timecounter.timehands_count: 2 kern.timecounter.stepwarnings: 0 kern.timecounter.tc.ARM MPCore Timecounter.quality: 1000 kern.timecounter.tc.ARM MPCore Timecounter.frequency: 24000000 kern.timecounter.tc.ARM MPCore Timecounter.counter: 818740853 kern.timecounter.tc.ARM MPCore Timecounter.mask: 4294967295 kern.eventtimer.choice: ARM MPCore Eventtimer(1000) kern.eventtimer.et.ARM MPCore Eventtimer.quality: 1000 kern.eventtimer.et.ARM MPCore Eventtimer.frequency: 24000000 kern.eventtimer.et.ARM MPCore Eventtimer.flags: 6 kern.eventtimer.periodic: 0 kern.eventtimer.timer: ARM MPCore Eventtimer kern.eventtimer.idletick: 0 kern.eventtimer.singlemul: 4 -- You are receiving this mail because: You are the assignee for the bug. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
[Bug 299337] Time is behind in a FreeBSD UTM VM after it wakes up from sleep
Author: bugzilla-noreply
Date: Fri, 16 Oct 2026 16:38
Date: Fri, 16 Oct 2026 16:38
27 lines
3186 bytes
3186 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299337
John Baldwin <jhb@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jhb@FreeBSD.org
--- Comment #3 from John Baldwin <jhb@FreeBSD.org> ---
This might be a bug in the hypervisor if it is not skewing the timecounter
value sufficiently after a sleep in which case there is not anything FreeBSD as
a guest can do about that. It might be that FreeBSD needs to handle an event
from the hypervisor invoked after a wakeup during a resume (I'm not sure if
that hypervisor even has such an event), but if such an event did exist, it
would need to just trigger NTP. I don't think there's any real solution to
this that doesn't involve NTP in some fashion.
--
You are receiving this mail because:
You are the assignee for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
[Bug 299337] Time is behind in a FreeBSD UTM VM after it wakes up from sleep
Author: bugzilla-noreply
Date: Fri, 16 Oct 2026 16:45
Date: Fri, 16 Oct 2026 16:45
13 lines
2464 bytes
2464 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299337 --- Comment #4 from Yuri Victorovich <yuri@freebsd.org> --- QEMU is a hypervisor in UTM on MacOS. -- You are receiving this mail because: You are the assignee for the bug. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads