From owner-freebsd-current@FreeBSD.ORG Tue Jun 9 09:50:28 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E94681065672 for ; Tue, 9 Jun 2009 09:50:28 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 77CB98FC13 for ; Tue, 9 Jun 2009 09:50:28 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: by fg-out-1718.google.com with SMTP id e12so947488fga.12 for ; Tue, 09 Jun 2009 02:50:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tJ4TElnesg6UNli15s8nYkgmcJ7cDgpGeAfi6AqSPCY=; b=pblWXOx+IZggcQNcwbK08mN08fHEu8ug+Ak4Endz9sE8ZJCM+2DAjGbTp5vc7jXKUm aiKhfXkiHXgkAFky39+qJ3GcXOoHOFL9A/zY/ue0E41kGw6EZdlxow3r+lxebfLmwbY/ ZQhZxU0H8STBWP02UQqRTe9Q12/I1pMSgnSmA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=bfZrWdAxBZM9L0+czLbEtuN4IYG6s7t2N/mEB4i4t5AgJw8ZPdodHebzg5UPmZZTvs KM07R19II9tr8kiRgIlD9Zk7i1TzX2KdWdLoknYqwl6IlA6F3a+ia0h0MwdrK3JejnCn nBaDXs1eb3aWG9m1h6N1Rzv2+crP/VXqCasbw= MIME-Version: 1.0 Received: by 10.86.93.17 with SMTP id q17mr8066983fgb.75.1244541027591; Tue, 09 Jun 2009 02:50:27 -0700 (PDT) In-Reply-To: <567878105.142658.1244281258275.JavaMail.apache@mail51.abv.bg> References: <567878105.142658.1244281258275.JavaMail.apache@mail51.abv.bg> Date: Tue, 9 Jun 2009 11:50:27 +0200 Message-ID: From: Jacques Fourie To: Mario Pavlov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: Re: [Call For Testing] VirtualBox for FreeBSD! take 4 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2009 09:50:29 -0000 > 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