Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 05:52:22 -0800 (PST)
From:      Won De Erick <won.derick@yahoo.com>
To:        freebsd-hardware@freebsd.org
Subject:   Hardware clock is not SYNC'ed with kernel clock by ntpdate?
Message-ID:  <243201.37742.qm@web45806.mail.sp1.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi All,

I've done the following procedure to verify the unstable date/time being recorded in the hardware clock.

I'm using IBM x343 with FreeBSD 6.2:

1. Rebooted the box. Entered a wrong date/time as:
   Date: December 1, 2008
   Time: 12:00:00

2. When the box was UP'ed, displayed the date (the box is sync'ed with an 
   NTP server during start-up). 

   #date
   Thu Feb 12 15:37:57 PHT 2009

   It seems correct.

3. Change with a wrong date/time again, then displayed. 
   # date 0812301200
   Tue Dec 30 12:00:00 PHT 2008 

   # date
   Tue Dec 30 12:00:14 PHT 2008

   It seems correct.

4. Synchronized the date/time with an NTP Server. Then, displayed the date. 

   # ntpdate ph.pool.ntp.org
    12 Feb 15:40:59 ntpdate[3094]: step time server 202.92.128.201 
    offset 3814728.167216 sec
   
   # date
    Thu Feb 12 15:41:33 PHT 2009

   It seems correct.

5. Rebooted the box, then verified the system date/time at the BIOS config. 
   
   System Time    07:43:50
   System Date    Thu 02/12/2009

 
Wrong TIME? I think the hardware clock was not properly SYNCed with the kernel clock. I've verified this with other box, and same thing happened.

Is there any issues on using date and ntpdate?

Thanks,

Won




      




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?243201.37742.qm>