From owner-freebsd-ports@FreeBSD.ORG Tue Jul 9 23:09:55 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 61E444A5; Tue, 9 Jul 2013 23:09:55 +0000 (UTC) (envelope-from ljboiler@gmail.com) Received: from mail-gh0-x232.google.com (mail-gh0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) by mx1.freebsd.org (Postfix) with ESMTP id 1677712AD; Tue, 9 Jul 2013 23:09:54 +0000 (UTC) Received: by mail-gh0-f178.google.com with SMTP id g15so2159486ghb.23 for ; Tue, 09 Jul 2013 16:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Otx9droBxaBy4F7ZM6hAIQVT8FUO3HIm6kiOZ4Pkl/0=; b=bJqz4A0H4eYiON81KtmywNWsHcX5XLOnPBeuCUsd544TF4RDIqfLrmfk8ZvCs8LyeN lZ7XA6qUNWQsQ5K8O+WSFjDDfwn3kkIn67ig6zg0//75UV2Gsaoy7z4zUSSYhjjSeAMd LbWXwjI2/LfdZ85awogxG21Lf+5gRneq531IqeOlU/g4pGjdJ71jdCSfdGEwIHm8Qfx8 WIOM4JjL75j0GhajpL0482ilxgjfa0hbjTO70VM3wNgPoJt7DxfQsILQ0nBuCvpEtV9H gu4tZyK7OQQcpkCJgUPrpkyIylXVEQR8LofzywQJwgtfxUowRlgv2P+9WzR2ORzJsW/R CM9g== X-Received: by 10.236.65.193 with SMTP id f41mr16807079yhd.16.1373411394362; Tue, 09 Jul 2013 16:09:54 -0700 (PDT) Received: from jmobile.jimmy.local (71-81-196-43.dhcp.stls.mo.charter.com. [71.81.196.43]) by mx.google.com with ESMTPSA id 66sm48050814yhe.20.2013.07.09.16.09.50 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Jul 2013 16:09:53 -0700 (PDT) Received: by jmobile.jimmy.local (sSMTP sendmail emulation); Tue, 09 Jul 2013 18:09:48 -0500 Date: Tue, 9 Jul 2013 18:09:48 -0500 From: Jimmy Kelley To: Bernhard =?iso-8859-1?Q?Fr=F6hlich?= Subject: Re: VirtualBox 4.2.14 unusable Message-ID: <20130709230948.GD1458@jmobile.jimmy.localnet> References: <20130708122355.GA15881@jmobile.jimmy.localnet> <1373298016.15315.7.camel@lenovo.lenzicasa> <20130708171027.GB1458@jmobile.jimmy.localnet> <20130708210314.GC1458@jmobile.jimmy.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jul 2013 23:09:55 -0000 On Tue, Jul 09, 2013 at 01:34:59PM +0200, Bernhard Fröhlich wrote: > On Mon, Jul 8, 2013 at 11:03 PM, Jimmy Kelley wrote: > > On Mon, Jul 08, 2013 at 10:14:44PM +0400, Mikhail Tsatsenko wrote: > >> 2013/7/8 Jimmy Kelley : > >> > On Mon, Jul 08, 2013 at 12:40:16PM -0300, Sergio de Almeida Lenzi wrote: > >> >> Yes it is broken, > >> >> > >> >> the logic that finds how much real memory is there in the FreeBSD > >> >> is broken, reports ZERO.. > >> >> > >> >> There is a Problem Report and a person that > >> >> says will fix it, 2 weeks ago... > >> >> > >> >> I am using the last version 4.2.12 that works > >> >> > >> >> I am still waiting for the fix... > >> >> > >> >> > >> >> Sergio > >> >> > >> > > >> > I did a search on the Freebsd PRs (http://www.freebsd.org/cgi/query-pr-summary.cgi) and > >> > cannot find anything that seems to reference this problem. Would you know the PR number? > >> > Or was this just some discussion on the mailing list? > >> > > >> > I'll file an offical PR if there isn't one. > >> > > >> > Jimmy > >> There is no PR for this problem. > >> As far as I understand memory calculation is still broken on CURRENT. > >> And I suspect it is a build-time not runtime bug. > >> Can anybody who is facing the problem send me a full build log of the > >> virtualbox-ose port from affected machine for investigation please. > >> > >> _______________________________________________ > >> > freebsd-ports@freebsd.org mailing list > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > >> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > >> > >> > >> > >> -- > >> Mikhail > > > > Attached is my build log; I'm running 10-CURRENT i386. I see the patch files commited for this > > problem with VBox 4.2.14 (PR #180086) on my machine, but I have upgraded my ports tree since > > and have the newer 4.2.16 version that I'm building. > > Please try the patch from that mail and see if it helps. From the > reports it looks reasonable to say > that the currently committed patch works only on amd64. So far the > reports where it doesn't work > are all on i386 and this matches with the description of the fix in the mail. > > http://lists.freebsd.org/pipermail/svn-ports-all/2013-July/024215.html > > -- > Bernhard Froehlich > http://www.bluelife.at/ Thanks for point out that old message. I applied that updated patch and it works now. The code is incorrectly assuming a 64-bit size for querying the hw.physmem sysctl on a 32-bit system. Jimmy