Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 11:50:27 +0200
From:      Jacques Fourie <jacques.fourie@gmail.com>
To:        Mario Pavlov <freebsd@abv.bg>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Re: [Call For Testing] VirtualBox for FreeBSD! take 4
Message-ID:  <be2f52430906090250s6a0053e3r766fec9270fbaec5@mail.gmail.com>
In-Reply-To: <567878105.142658.1244281258275.JavaMail.apache@mail51.abv.bg>
References:  <567878105.142658.1244281258275.JavaMail.apache@mail51.abv.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 eve=
n able to run VirtualBox
> ...I created a virtual machine for windows xp and started the installatio=
n...but the virtual machine crashes after the windows installer loads all d=
rivers and tries to start the actual installation
> and I can see this at the bottom of the vbox log
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 00:00:57.770 !!Assertion Failed!!
> 00:00:57.770 Expression: u64Now <=3D pNext->u64Expire
> 00:00:57.770 Location =A0: /usr/ports/emulators/virtualbox/work/virtualbo=
x-2.2.2r19980/src/VBox/VMM/TM.cpp(1899) void tmR3TimerQueueRunVirtualSync(V=
M*)

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 =3D pVM->tm.s.u64VirtualSync;
+       if (u64Now > pNext->u64Expire) {
+               Log4(("u64Now =3D %RU64, pNext->u64Expire =3D %RU64\n",
u64Now, pNext->u64Expire));
+               u64Now =3D pNext->u64Expire;
+       }
         Assert(u64Now <=3D pNext->u64Expire);
     }
     else

Regards,
Jacques



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?be2f52430906090250s6a0053e3r766fec9270fbaec5>