Hardware clock is not SYNC'ed with kernel clock by ntpdate?

Won De Erick won.derick at yahoo.com
Thu Feb 12 05:52:24 PST 2009


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




      



More information about the freebsd-hardware mailing list