Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2013 18:09:48 -0500
From:      Jimmy Kelley <ljboiler@gmail.com>
To:        Bernhard =?iso-8859-1?Q?Fr=F6hlich?= <decke@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: VirtualBox 4.2.14 unusable
Message-ID:  <20130709230948.GD1458@jmobile.jimmy.localnet>
In-Reply-To: <CAE-m3X0S3su5CQSxK=Jz%2BKY6WEqLwiEZoiut%2BqA2qC7D12vr6A@mail.gmail.com>
References:  <20130708122355.GA15881@jmobile.jimmy.localnet> <CAGK=9AGHYa_M3noFRuJP3FmqUMRUc7XfwWG0qxT3ryFuPoEaWA@mail.gmail.com> <1373298016.15315.7.camel@lenovo.lenzicasa> <20130708171027.GB1458@jmobile.jimmy.localnet> <CAGK=9AHLWBQt8pdAprEYM228PqojrY_JM%2Bxf33zL2mbGD57jCQ@mail.gmail.com> <20130708210314.GC1458@jmobile.jimmy.localnet> <CAE-m3X0S3su5CQSxK=Jz%2BKY6WEqLwiEZoiut%2BqA2qC7D12vr6A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ljboiler@gmail.com> wrote:
> > On Mon, Jul 08, 2013 at 10:14:44PM +0400, Mikhail Tsatsenko wrote:
> >> 2013/7/8 Jimmy Kelley <ljboiler@gmail.com>:
> >> > 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




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