From owner-freebsd-virtualization@FreeBSD.ORG Tue Jun 25 16:44:11 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 43227371 for ; Tue, 25 Jun 2013 16:44:11 +0000 (UTC) (envelope-from kron24@gmail.com) Received: from mail-bk0-x236.google.com (mail-bk0-x236.google.com [IPv6:2a00:1450:4008:c01::236]) by mx1.freebsd.org (Postfix) with ESMTP id C918B17C4 for ; Tue, 25 Jun 2013 16:44:10 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id it16so4547841bkc.13 for ; Tue, 25 Jun 2013 09:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=31qTi4NysI9rgZfSUhg2Saias5ODh7Iw/SDEZ868310=; b=BGwK+IyWxoKXn66XVzAXjGQGBK6N2ZXKyMtDyGjhj039R3/KBAv9RyZXd9pgswDLP7 FuMrYFjXaWTKBfoOEEQs8ufEWZhn2qTIJUPwfapDpQG6etQMmZefW6mPQQ/+s8Zsy39T V6Vhvo1c57cYBLc22TCymXLI0NKjIsIs4M88s4WI0WvQPt8rA/O9cOw4tcnEgUcBQG3k u+xHwZV8V7MEBoUyWfguj6b2CL1bECnwgp5g43kJ/Pz5NHqfvQDcHVqtemsEkGpTh1OZ zd1MosamU8vof0BsJ5WCJDthE1jjMHJybXwGjoM3ynfKn8vqPmT/iyDHBzmO94wqU8Ta C1TQ== X-Received: by 10.204.76.72 with SMTP id b8mr139538bkk.67.1372178649820; Tue, 25 Jun 2013 09:44:09 -0700 (PDT) Received: from nbvk.local (uidzr185150.sattnet.cz. [212.96.185.150]) by mx.google.com with ESMTPSA id ch16sm6716544bkb.17.2013.06.25.09.44.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Jun 2013 09:44:09 -0700 (PDT) Message-ID: <51C9C8D8.6080103@gmail.com> Date: Tue, 25 Jun 2013 18:44:08 +0200 From: kron User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130602 Thunderbird/17.0.6 MIME-Version: 1.0 To: Mikhail Tsatsenko Subject: Re: VirtualBox: The value of the Base Memory field on the System page is not complete References: <51C93F52.4050209@gmail.com> <51C96E75.2020103@gmail.com> In-Reply-To: Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jun 2013 16:44:11 -0000 On 2013/06/25 18:23, Mikhail Tsatsenko wrote: > 2013/6/25 kron : >> On 2013/06/25 09:16, Mikhail Tsatsenko wrote: >>> 2013/6/25 kron : >>>> Greetings, >>>> >>>> I'm running virtualbox-ose-4.2.14 on FreeBSD 9.1-STABLE r252094M >>>> amd64. The GUI of VirtualBox cannot create/update virtual box >>>> definitions (the *.vbox) files. The scrollbar and the form field >>>> for "Base Memory" are broken and the following error message >>>> is displayed: >>>> >>>> "The value of the Base Memory field on the System page is not >>>> complete." >>>> >>>> I guess it comes from the base memory upper bound preset to zero >>>> but I have no clue what's the source for the zero value. >>>> >>>> The problem is just in the GUI: >>>> - I can create or update VMs using the CLI >>>> - the VMs created in older VirtualBox versions run fine >>>> >>>> I anyone facing the same problem? >>> I confirm the problem. Apparently this is a regression in the latest version. >>> >>> Currently I'm looking at full diff between VirtualBox 4.2.12 and >>> 4.2.14, but still can't find a change which could cause the issue. >> >> At a first glance, RTSystemQueryAvailableRam? I see some >> new occurrences in the diff. Unfortunately, it's one of >> the OS dependent functions. However, I don't speak C++, >> so I'm just guessing... ... or RTSystemQueryTotalRam ... > Thanks for suggestion. > Perhaps you are right, furthermore I can not see FreeBSD version of > that function, so currently we have at least two different approaches: > - Rollback to an old version of system memory calculation method > (which was a dirty hack,according to code comments) > - Or just implement such function and send it upstream. Agreed. > The second way seems to me more preferable. It takes me a few days, > until that you have to use cli tools or previous VirtualBox port > revision from svn. I am OK with the CLI tools. Thank you very much for taking this! BR, Oli