Re: Re: [Call For Testing] VirtualBox for FreeBSD! take 4

From: Jacques Fourie <jacques.fourie_at_gmail.com>
Date: Tue, 9 Jun 2009 11:50:27 +0200
> Hi,
> thanks a lot for that fix
> it worked for me, please find attached the patch file, slightly modified so it can be successfully applied
> the good news is that when I loaded the module it didn't panic, I was even able to run VirtualBox
> ...I created a virtual machine for windows xp and started the installation...but the virtual machine crashes after the windows installer loads all drivers and tries to start the actual installation
> and I can see this at the bottom of the vbox log
> ==========================================================================================================================
> 00:00:57.770 !!Assertion Failed!!
> 00:00:57.770 Expression: u64Now <= pNext->u64Expire
> 00:00:57.770 Location  : /usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/VMM/TM.cpp(1899) void tmR3TimerQueueRunVirtualSync(VM*)

Hi,

I ran into this issue as well - didn't have time to look into a proper
fix but the following hack seems to work for me. Please be aware that
this is only a hack and not a proper fix - your mileage may vary :) My
Ubuntu VM has been running fine for about 3 days now, under load.

--- src/VBox/VMM/TM.cpp 2009-05-19 15:14:54.000000000 +0200
+++ src/VBox/VMM/TM.cpp 2009-06-08 11:07:34.815865375 +0200
_at__at_ -1896,6 +1896,10 _at__at_
     {
         STAM_COUNTER_INC(&pVM->tm.s.StatVirtualSyncRunStoppedAlready);
         u64Now = pVM->tm.s.u64VirtualSync;
+       if (u64Now > pNext->u64Expire) {
+               Log4(("u64Now = %RU64, pNext->u64Expire = %RU64\n",
u64Now, pNext->u64Expire));
+               u64Now = pNext->u64Expire;
+       }
         Assert(u64Now <= pNext->u64Expire);
     }
     else

Regards,
Jacques
Received on Tue Jun 09 2009 - 07:50:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:49 UTC