[Voyage-linux] date/time

Ingo Herz (spam-protected)
Sat Apr 4 01:55:56 HKT 2015


Hi,

since a power failure yesterday I have a date/time problem that drives 
me crazy: I can't set system date and time via comandline or ntpdate 
anymore. The system date is somehow one day forward and I can't get it 
backward. Voyage version is 0.8.5 and hardware an ALIX. hwclock is fine, 
but can't set system time, too. Here are some comands to see what happens:

> root at voyage:/etc# date
> Sa 4. Apr 19:55:05 CEST 2015
> root at voyage:/etc# date 04031830
> Fr 3. Apr 18:30:00 CEST 2015
> root at voyage:/etc# date
> Sa 4. Apr 19:55:15 CEST 2015
> root at voyage:/etc# hwclock --hctosys --debug
> hwclock from util-linux-ng 2.17.2
> Using /dev interface to clock.
> Last drift adjustment done at 1428083460 seconds after 1969
> Last calibration done at 1428083460 seconds after 1969
> Hardware clock is on UTC time
> Assuming hardware clock is kept in UTC time.
> Waiting for clock tick...
> /dev/rtc does not have interrupt functions. Waiting in loop for time 
> from /dev/rtc to change
> ...got clock tick
> Time read from Hardware Clock: 2015/04/03 17:52:12
> Hw clock time : 2015/04/03 17:52:12 = 1428083532 seconds since 1969
> Calling settimeofday:
>     tv.tv_sec = 1428083532, tv.tv_usec = 0
>     tz.tz_minuteswest = -120
> root at voyage:/etc# date
> Sa 4. Apr 19:55:30 CEST 2015
> root at voyage:/etc#

Any idea what is going on there?
regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ingo.vcf
Type: text/x-vcard
Size: 88 bytes
Desc: not available
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20150403/c418c84a/attachment.vcf>


More information about the Voyage-linux mailing list