DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
Old 26th August 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

As I have also stated earlier in this post, a small battery operated clock/timer is in your system.. and it ticks even when the mains power is off.

If this battery is dead or dying, it will either be wrong or very inaccurate.. slight irregularities and drifting are common for even a fully charged battery, hence the purpose of a time server.

It is also possible that the time was incorrectly set in the BIOS configuration panel, or by another operating system.. prior to installing OpenBSD.

And it could also be innocent.. the clock in question.. called the RTC.. was originally supposed to be set to UTC time, but many set it to local time to avoid a bug in DOS/Windows.
Reply With Quote
Old 26th August 2009
plexter plexter is offline
Shell Scout
 
Join Date: May 2008
Posts: 124
Thanked 0 Times in 0 Posts
Default

My system is running virtualized and thus does not have physical hardware of its own (no battery).

However I suppose it is still possible there is some sort of virtual misconfiguration since there technically is still a BIOS that loads...etc.

I will investigate that when I have physical access.

Thanks
Reply With Quote
Old 26th August 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

You should have told us this was an emulated environment.. timing related issues are very common, the hardware-assisted kernel timer doesn't operate at a rate fast enough to keep the emulated timer very accurate.
Reply With Quote
Old 26th August 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,886
Thanked 214 Times in 189 Posts
Default

Run your ntpd server on an OS running on physical hardware. Remove it from the virtual machine. (Any OS will do, even Windows.)

Expect any virtual machine to have time-of-day clock problems. Different VM engines manage clocking in different ways.

If you wish help with your VM engine's clocking, take that question to their support and/or community forums.
Reply With Quote
Old 9th September 2009
plexter plexter is offline
Shell Scout
 
Join Date: May 2008
Posts: 124
Thanked 0 Times in 0 Posts
Default

Hi all,

I just wanted to confirm/update on the status. I've been playing around and watching how the time setting is going. I've moved the NTP server to another machine, off of the VM, and it would appear all is working properly now. The clocks are getting adjusted but seem to say the correct time consistantly now.

Thanks for all your help! Much appreciated.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opera Port - conflicting pkgs in "make install" IronForge OpenBSD Packages and Ports 5 29th October 2009 05:10 AM
Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia" jb_daefo Guides 0 5th October 2009 09:31 PM
"Thanks" and "Edit Tags". diw Feedback and Suggestions 2 29th March 2009 12:06 AM
Scripted sysinstall fails with "Command 'system' failed" PeterSteele FreeBSD Installation and Upgrading 0 13th November 2008 11:31 PM


All times are GMT. The time now is 08:30 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick