You are not logged in.

#1 2011-12-16 20:32:19

chejo
Member
Registered: 2011-12-16
Posts: 13

Clock goes haywire after resume

After my PC wakes up from sleep, as soon as it connects to my network the time goes haywire. It goes several days in the future. NTPD is running and it is not fixing the time.

Offline

#2 2011-12-17 22:16:44

eXine
Member
From: Poland
Registered: 2010-03-17
Posts: 15
Website

Re: Clock goes haywire after resume

I have the same issue here, like about 1 month or so. My laptop is ASUS N52DA - I think that posting some details can be useful.

https://gist.github.com/1491574

If someone needs any other info - please ask. Setting up NTPD doesn't help anything. On Windows it works fine.

Offline

#3 2011-12-18 13:32:57

eXine
Member
From: Poland
Registered: 2010-03-17
Posts: 15
Website

Re: Clock goes haywire after resume

Sorry for double-posting, but I found out that disabling ntpd before going to sleep fixes it now. Apparently main cause of this issue are problems with ntpd's support of s2ram.

Offline

#4 2011-12-18 17:59:08

chejo
Member
Registered: 2011-12-16
Posts: 13

Re: Clock goes haywire after resume

Nope, even with the NTPD daemon disabled my clock still shows inaccurate time. But the time changes(to the inaccurate state) when I connect to the network. If I am not connected to a network my clock is fine.

Offline

#5 2011-12-18 21:05:23

eXine
Member
From: Poland
Registered: 2010-03-17
Posts: 15
Website

Re: Clock goes haywire after resume

What I can personally suggest as a temporary fix is triggering ntpdate somehow after connection is made.

Offline

#6 2011-12-18 21:34:54

chejo
Member
Registered: 2011-12-16
Posts: 13

Re: Clock goes haywire after resume

But the problem is after suspend I cannot run ntpdate. It says that ntpd is running. And if I kill it, i cannot start it after I run ntpdate.

Offline

#7 2011-12-18 21:44:02

eXine
Member
From: Poland
Registered: 2010-03-17
Posts: 15
Website

Re: Clock goes haywire after resume

Strange. You're sure that it's dead? Check in /var/lock and it's subfolders if it haven't left some kind of lockfiles in /var/lock or any pidfile.

Offline

#8 2011-12-18 22:13:58

chejo
Member
Registered: 2011-12-16
Posts: 13

Re: Clock goes haywire after resume

The /var/lock is empty. No files or folders. But rc.d list shows the daemon as started. And if I try to stop it from there it fails.

Offline

Board footer

Powered by FluxBB