VirtualBox

Opened 10 years ago

Closed 10 years ago

#12756 closed defect (worksforme)

Guest OS time incorrect(not sync) after resume from "save the machine state"

Reported by: CharleXu Owned by:
Component: guest additions Version: VirtualBox 4.3.6
Keywords: time Cc:
Guest type: Windows Host type: Mac OS X

Description

Vbox/Ext. Ver: 4.3.6 r91406 Host: Mac OS X 10.9.1 Guest: Windows XP SP3

Suggest to make the guest additions sync with the host system time after resume.

Attachments (1)

VBox.log (73.9 KB ) - added by CharleXu 10 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by Frank Mehnert, 10 years ago

Actually this is already implemented but of course only works if you have the VirtualBox Guest Additions installed (VBoxService must run in the guest). If that's the case for your guest, please attach the VBox.log file of your VM session.

by CharleXu, 10 years ago

Attachment: VBox.log added

comment:2 by CharleXu, 10 years ago

I installed that additions and confirm that the service is running.

comment:3 by CharleXu, 10 years ago

This issue also appears after the host sleep and wake with the power key or time out.

comment:4 by Frank Mehnert, 10 years ago

Host sleeping is another story. See the user manual section 9.14.3. A host sleep should be caught by the timesync threshold which defaults to 20 minutes. If the guest time differs more than 20 minutes from the host, the guest time is hard-set to the host time. And you can also see that timesync-set-on-restore is enabled by default so the question is why this doesn't work for you. Will do some local tests and come back later.

comment:5 by CharleXu, 10 years ago

Yes, it often differs more than several hours.

comment:6 by Frank Mehnert, 10 years ago

Just tried to reproduce your problem with VBox 4.3.8 and failed. Please could you do the following: Open 'regedit' and change

HKLM\SYSTEM\CurrentControlSet\Services\VBoxService\ImagePath

to

system32\VBoxService.exe -vvvv --logfile c:\VBoxService.log

After that, reboot your guest. Then let it running for 1-2 minutes, then save the state, then wait for a few minutes, then restore the guest from the saved state. Now copy the file c:\VBoxService.log to somewhere out of your guest and attach the file to this ticket. This should help debugging your problem.

comment:7 by CharleXu, 10 years ago

So, I just follow your comment, but no vboxservice.log there then I check that the vbox guest additional services is stopped as manual start. I thing it may be changed by my security/optimization software. All time sync correct after I started the services. Sorry for I just confirmed the services running by the sys tray icon and display driver looks ok before.

But I strongly suggest that icon in sys tray can identify the status of service running or stopped.

And please close this issue.

comment:8 by Frank Mehnert, 10 years ago

Resolution: worksforme
Status: newclosed

That's a good idea. We will think about making the status of VBoxService visible in the VBoxTray icon. Thanks for the information.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use