From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 17 02:56:53 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 EC264106566C for ; Wed, 17 Feb 2010 02:56:53 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8759A8FC1A for ; Wed, 17 Feb 2010 02:56:53 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb) by sarah.protected-networks.net (Postfix) with ESMTPSA id 0C91A60E4; Tue, 16 Feb 2010 21:56:51 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1266375412; bh=AnE/WKdFnqmHeLGHzJc5+gH+F/u122/UfEc2JiB/Fps=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Y7wK+59p0NrayeQIWlxgMap/xc73ISNZm4MQdZ8MxeOqAa3jX/dqPuOyXDESGiiJH 3NAhuOeLOrweyg6UxcSPO0rRREB4Z/Vh6gW5jE2vYLEqFFcmfgmrPC187MyzBKq DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=BS9omn6vYaKknscByR0MsTOuRIysXozVMFcy+0BbDHzhIXaB7lrbIsODaanNAeECZ iV0+WfUWhRRNMhIuaMd2Qib9SNJbLluyh/uiZaP9FTx0mV2IIBwy4CbpTDRWB/o Message-ID: <4B7B5AEE.9020404@protected-networks.net> Date: Tue, 16 Feb 2010 21:56:46 -0500 From: Michael Butler User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100208 Thunderbird/3.0.1 MIME-Version: 1.0 To: Adam K Kirchhoff References: <4B5BF458.50507@FreeBSD.org> <4B5D0EF2.1030906@FreeBSD.org> <227662eecaa700c7c817bafb49a09de8@bluelife.at> <4B66D00E.7070506@protected-networks.net> <4B6753F4.50101@protected-networks.net> <4B71972A.6060001@protected-networks.net> <4B71B26B.8030009@voicenet.com> <4B7B3BD2.5090309@voicenet.com> In-Reply-To: <4B7B3BD2.5090309@voicenet.com> X-Enigmail-Version: 1.0.1 OpenPGP: id=0442D492 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: virtualbox-ose build fails on -current with utmp.h 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, 17 Feb 2010 02:56:54 -0000 On 02/16/10 19:44, Adam K Kirchhoff wrote: > On 02/09/10 14:07, Adam K Kirchhoff wrote: >> On 02/09/2010 12:11 PM, Michael Butler wrote: >>> This error persists despite having rebuilt everything on the -current >>> box :-( >>> >>> [ snip ] >>> >>> 00:00:01.862 ********************* End of CFGM dump >>> ********************** >>> 00:00:01.862 MM: cbHyperHeap=0x140000 (1310720) >>> 00:00:01.865 >>> 00:00:01.865 !!Assertion Failed!! >>> 00:00:01.865 Expression: paPages[i].Phys != 0&& paPages[i].Phys != >>> NIL_RTHCPHYS&& !(paPages[i].Phys& PAGE_OFFSET_MASK) >>> 00:00:01.865 Location : >>> /usr/home/imb/svn/virtualbox-ose/work/VirtualBox-3.1.4_OSE/src/VBox/VMM/MMHyper.cpp(610) >>> >>> int MMR3HyperMapPages(VM*, void*, RTR0PTR, size_t, const SUPPAGE*, const >>> char*, RTGCPTR64*) >>> 00:00:01.865 i=0x0 Phys=0000000000000000 Heap >>> >>> Clues as to where to look/tweak appreciated, [ .. snip .. ] > Has anyone even managed to determine if this is a problem in virtualbox > or a problem in -current? I tried to run this under kgdb with no success (didn't catch the right thread, I'm guessing) so I'd appreciate any suggestions as to how to turn on the debug/trace logging in each function. For example, at the top of the function in question, it has: LogFlow(("MMR3HyperMapPages: pvR3=%p pvR0=%p cPages=%zu paPages=%p pszDesc=%p:{%s} pGCPtr=%p\n", pvR3, pvR0, cPages, paPages, pszDesc, pszDesc, pGCPtr)); But I don't how to get "LogFlow" to output to something useful .. imb