[Call For Testing] VirtualBox for FreeBSD! take 4

Jacques Fourie jacques.fourie at gmail.com
Tue Jun 9 09:50:29 UTC 2009


> 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
@@ -1896,6 +1896,10 @@
     {
         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


More information about the freebsd-current mailing list