From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 10 00:21:41 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C939C106564A for ; Wed, 10 Mar 2010 00:21:41 +0000 (UTC) (envelope-from adamk@voicenet.com) Received: from omr15.networksolutionsemail.com (omr15.networksolutionsemail.com [205.178.146.65]) by mx1.freebsd.org (Postfix) with ESMTP id 5870C8FC14 for ; Wed, 10 Mar 2010 00:21:41 +0000 (UTC) Received: from cm-omr8 (mail.networksolutionsemail.com [205.178.146.50]) by omr15.networksolutionsemail.com (8.13.6/8.13.6) with ESMTP id o2A076pe007192 for ; Tue, 9 Mar 2010 19:07:07 -0500 Authentication-Results: cm-omr8 smtp.user=adamk; auth=pass (LOGIN) Received: from [68.45.22.62] ([68.45.22.62:14946] helo=sorrow.ashke.com) by cm-omr8 (envelope-from ) (ecelerity 2.2.2.41 r(31179/31189)) with ESMTPA id 86/2C-31571-7A2E69B4; Tue, 09 Mar 2010 19:07:06 -0500 From: Adam K Kirchhoff To: freebsd-emulation@freebsd.org Date: Tue, 9 Mar 2010 19:07:02 -0500 User-Agent: KMail/1.12.4 (FreeBSD/9.0-CURRENT; KDE/4.3.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201003091907.02546.adamk@voicenet.com> Cc: emulation@freebsd.org Subject: Re: CFT: Fix VirtualBox on 9-CURRENT and recent STABLE X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2010 00:21:41 -0000 On Tuesday 09 March 2010 11:45:08 Bernhard Froehlich wrote: > Dear patient VirtualBox User. > > As you all know VirtualBox is currently broken on 9-CURRENT and STABLE > kernels. As far as i know from the various reports that only affects i386 > and not amd64 - please correct me if i am wrong. The symptom is that it > works fine on an older kernel but on newer ones the VM aborts at startup > and when build with debugging you see the following assert: > > 00:00:15.481 !!Assertion Failed!! > 00:00:15.481 Expression: paPages[i].Phys != 0 && paPages[i].Phys != > NIL_RTHCPHYS && !(paPages[i].Phys & PAGE_OFFSET_MASK) > 00:00:15.481 Location : > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE/src/VBox/VMM/ > MMHyper.cpp(610) int MMR3HyperMapPages(VM*, void*, RTR0PTR, size_t, const > SUPPAGE*, const char*, RTGCPTR64*) > 00:00:15.482 i=0x0 Phys=0000000000000000 Heap > > > Affected kernels are newer than: > * 9.0-CURRENT r202894 (Jan 23 18:42) > * 8.0-STABLE r203182 (Jan 30 06:23) > * 7.2-STABLE r203208 (Jan 30 18:17) > > > Alexander Eichner has done a rewrite of the memory allocation in > VirtualBox which is ready to get tested. This should fix the above problem > and also a double wiring problem noticed by Alan Cox. Please test our devel > ports and give us some feedback (uname -a, does this port work?) so that we > can proceed and get 3.1.2 fixed. Two different i386 machines at: FreeBSD memory.visualtech.com 9.0-CURRENT FreeBSD 9.0-CURRENT #10: Wed Feb 24 08:28:22 EST 2010 root@memory.visualtech.com:/usr/obj/usr/src/sys/MEMORY i386 The devel port you linked to works fine here now where as I was getting the errors you described above previously. Great work! Adam