VirtualBox

Ticket #6152 (new defect)

Opened 4 years ago

Last modified 4 years ago

Pauses on Ubuntu 64 host (SetSystemTimeAdjustment => ERROR_PRIVILEGE_NOT_HELD?)

Reported by: FokkerCharlie Owned by:
Priority: major Component: other
Version: VirtualBox 3.1.2 Keywords: pause,performance
Cc: Guest type: Windows
Host type: Linux

Description

Hi

I have been using VirtualBox for a few years now on an Ubuntu host with an XP guest OS. Recently, I installed a Vista (Home Premium 32) guest, but have run into a problem.

Approximately every 10 seconds, I see a pause for about 2 sec. This seems to affect the whole guest OS- mouse animations, video pauses etc. I have installed guest additions, but I saw this problem before doing that- and before installation, the pause would even affect mouse cursor movement.

I then rebooted into the XP VM, and see that the effect is present there, too. It does seem to be a bit less pronounced there, though.

I've attached a screenshot with my settings. I have had a good old fiddle with them, to no good effect. Also attached is a log from the Vista VM.

I can't find much about pauses from googling or searching this site, but apologies if I've missed something. If there's any more information I need to include, please let me know, I'll be happy to do so.

Cheers Charlie

My PC Specs: Ubuntu 9.10 64 Acer 5920G, Intel C2D T7300 4 GB RAM NVidia 8600M

Attachments

screenshot1.png Download (60.7 KB) - added by FokkerCharlie 4 years ago.
VB Vista on Ubuntu.log Download (43.5 KB) - added by FokkerCharlie 4 years ago.
Vista-2010-02-11-22-43-46.log Download (85.7 KB) - added by FokkerCharlie 4 years ago.
Verbose log
Vista-2010-02-12-09-14-43.log Download (220.2 KB) - added by FokkerCharlie 4 years ago.
Vista-2010-02-13-15-52-28.log Download (121.7 KB) - added by FokkerCharlie 4 years ago.
Vista-2010-02-22-12-12-12.log Download (90.6 KB) - added by FokkerCharlie 4 years ago.
dmesg vb output Download (705 bytes) - added by FokkerCharlie 4 years ago.

Change History

Changed 4 years ago by FokkerCharlie

Changed 4 years ago by FokkerCharlie

comment:1 Changed 4 years ago by frank

  • Summary changed from Pauses on Ubuntu 64 host to Pauses on Ubuntu 64 host (SetSystemTimeAdjustment => ERROR_PRIVILEGE_NOT_HELD?)

comment:2 Changed 4 years ago by pentagonik

Could you please edit the following line in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VBoxService

, where value

"ImagePath" = "system32\VBoxService.exe" to "ImagePath" = "system32\VBoxService.exe -vvvv".

This enabled a more verbose output of our Guest Addition service in order to figure out what's going wrong.

After that please reboot the system and attach the new log here. Thanks!

Changed 4 years ago by FokkerCharlie

Verbose log

comment:3 Changed 4 years ago by FokkerCharlie

There you go!

If it's not right, let me know.

Charlie

comment:4 Changed 4 years ago by frank

Please could you repeat your last experiment? Make sure that you wait for some minutes before you shut down your guest. Make sure that your guest shows some of the paused states you described in the bug description. Then attach the (verbose) VBox.log file again.

You can also try if the additions of VBox 3.1.4 Beta 2 fix your problem.

comment:5 Changed 4 years ago by FokkerCharlie

Latest log attached.

VM was running for over 10 mins, and most certainly exhibited the pause behaviour many times!

I'll see if I can get the new version working later.

Charlie

Changed 4 years ago by FokkerCharlie

comment:6 Changed 4 years ago by FokkerCharlie

Behaviour still evident with VirtualBox 3.1.4. New log attached.

Changed 4 years ago by FokkerCharlie

comment:7 Changed 4 years ago by frank

Did you update the guest additions to 3.1.4? According to the logfile no ...

comment:8 Changed 4 years ago by FokkerCharlie

Hmmm.... I thought I had upgraded the Guest Additions. Anyway, I've installed again, and attach a new log file. I can't see where the G.A. version is in this log, but it's reported as 3.1.14 in the toolbar.

Changed 4 years ago by FokkerCharlie

comment:9 Changed 4 years ago by FokkerCharlie

Attached is output from dmesg | grep vbox , in case that helps.

Charlie

Changed 4 years ago by FokkerCharlie

comment:10 Changed 4 years ago by frank

Thanks. I have the following suspicion: Such pauses of the guest (the whole guest isn't responsive for a short amount of time) usually happen if some host system function is called which is supposed to return immediately but which returns after with such a delay. Because this host function is called from the main VM context, the whole VM pauses until this host function returns. Usually suspects are functions of the sound backend or host ACPI functions.

Could you do the following experiment:

sudo chmod u+s /usr/bin/strace
strace -ftt -o ~/log -s256 /usr/lib/virtualbox/VirtualBox -startvm VM_NAME

The chmod for strace is necessary to allow it to strace VirtualBox which is an suid root process. The trace should show the called host OS functions including a timestamp. Please let this test run for a while and make sure that these delays occur. Then shutdown your guest. Finally compress the log file and send it to me via private E-mail at frank _dot_ mehnert _at_ sun _dot_ com. If this compressed file is too big I can tell you a server where you can upload the file. Thank you!

comment:11 Changed 4 years ago by FokkerCharlie

I have emailed you as requested.

Charlie

comment:12 Changed 4 years ago by frank

Thank you for this trace. Unfortunately I didn't spot anything unusual. A wild guess: Could you disable the sound for this VM and check if these pauses still occur?

comment:13 Changed 4 years ago by FokkerCharlie

Unfortunately, I still observe the pauses after disabling sound. I can try to disable other services to see if that has any effect?

Charlie

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use