Date: Wed, 2 Oct 2013 20:39:50 +1000 (EST) From: Ian Smith <smithi@nimnet.asn.au> To: Dominic Fandrey <kamikaze@bsdforen.de> Cc: stable@freebsd.org, Alexander Motin <mav@freebsd.org> Subject: Re: Clock not ticking during S3 Message-ID: <20131002200858.I37608@sola.nimnet.asn.au> In-Reply-To: <524AAE26.1060601@bsdforen.de> References: <524AAE26.1060601@bsdforen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Oct 2013 13:12:38 +0200, Dominic Fandrey wrote: > The following is in my ntpd log. > > ... > 27 Sep 23:06:40 ntpd[3045]: Listening on interface #67 wlan0, fe80::21c:bfff:fe58:3a87#123 Enabled > 27 Sep 23:06:49 ntpd[3045]: Listening on interface #68 wlan0, 172.17.2.154#123 Enabled > > The system is sent to S3 at this point and woken 4 days later. > > This is how it comes up: > > 27 Sep 23:07:03 ntpd[3045]: no servers reachable > 27 Sep 23:19:54 ntpd[3045]: synchronized to 83.170.1.225, stratum 2 > 27 Sep 23:19:54 ntpd[3045]: time correction of 306709 seconds exceeds sanity limit (1000); set clock manually to the correct UTC time. > > Roughly 3 and a half days of time missing. I've never seen anything like > it before. > > This is my system. > FreeBSD mobileKamikaze.norad 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r254957: Tue Aug 27 19:07:40 CEST 2013 root@mobileKamikaze.norad:/usr/obj/HP6510b-9/amd64/usr/src/sys/HP6510b-9 amd64 My 9.1 system is (physically) broken at the moment so I only have 8.2 sources to hand, but in any case it looks like the RTC - the only source of clock time available on resume, at least on i386 - was either stopped on suspend when the RTC was updated from system time, or - perhaps more likely? - couldn't be properly read back to restore time on resume. Is there logging of this suspend and resume cycle in /var/log/meesages ? ccing Alexander, resident master of clocks last time I tried following RTC suspend/resume with a view to maybe implementing resume-on-alarm. cheers, Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131002200858.I37608>