I have a dual boot Win 7 and Ubuntu 11.04 system.
Windows wants the CMOS clock set in local time (UTC-8 w/DST) and Linux wants UTC.
Linux at least does a time sync on boot but Windows just pretends I moved to London.
Booting in Linux then Windows and then manually doing an Internet Time Update cause BOINC to give the following messages:
8/18/2011 3:45:04 PM | | System clock was turned backwards; clearing timeouts
And then doesn't do anything for a while. It takes a while to even get a project listed to do a manual update.
Does anyone have a better way to deal with this than put Windows on UTC all the time?
Joe
Copyright © 2024 Einstein@Home. All rights reserved.
Windows vs Linux Clock causing problems
)
Shut down BOINC client before turning the clock backward or don't autostart BOINC to begin with and start it manually after adjusting the clock.
Gruß,
Gundolf
Computer sind nicht alles im Leben. (Kleiner Scherz)
How about switching Linux to
)
How about switching Linux to use your current timezone?
You can copy a timezone file in /usr/share/zoneinfo to /etc/localtime. You can also create a link to the timezone of your choosing. I would backup the localtime file first.
RE: Shut down BOINC client
)
thanks that should work. It is a big difference I wasn't sure if the checkpointed tasks would detect it also.
Joe
RE: How about switching
)
I do have Linux in the proper timezone.
The issue is what gets stored in the system clock that is only used on reboot.
Linux expects it to be UTC, Windows the local time zone. As far as I can tell there's no way to convince either one of them otherwise.
I tried some registry hacks I found on the web in Windows and they did not work well (I'm being nice) some things got it others didn't worse possible scenario.
If I don't pay attention all the mail I send out of Windows is timestamped in the future.
Maybe the easiest way to deal with this is to move to London or Chad.
RE: The issue is what gets
)
That's not entirely true. While Windows doesn't leave you any other choice but to set the RTC to local time, Linux does give you the choice.
This HowTo might help you.
mickydl*
RE: That's not entirely
)
Thanks! I'll read that whole thing as soon as I can. I may be back.
Joe
I believe I found a decent
)
I believe I found a decent solution to this, at least for Win7.
It's explained in this blog in detail.
By default time synchronization is done weekly. The idea is to add another trigger to do it at startup.
Works well.
Joe
Well, thanks, I'm running the
)
Well, thanks, I'm running the same combo of OSses, Windows 7 and UBUNTU 11.4, (2 older EDUBUNTU) all 64BIT.
I ran UBUNTU the last month, now Windows 7 and installed BOINC 6.10.60.
Also noticed a 1 hour time difference, but after some addional safety Windows 7
updates, made it work OK, now.
But I'll watch it when I reBOOT UBUNTU and Windows 7, again.