From owner-freebsd-emulation@FreeBSD.ORG Thu May 14 21:51:34 2009 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 46DBA106566B; Thu, 14 May 2009 21:51:34 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id B52B98FC14; Thu, 14 May 2009 21:51:33 +0000 (UTC) (envelope-from artemb@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so882293ywe.13 for ; Thu, 14 May 2009 14:51:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=ZP1TyBvPNdipZN3EmsHSrT/WHKPkByFUdNiDKuHP5T0=; b=HM7+uQRTeeiHp4KP14kXoah2XTdDIvtr4B+WaYgxgCiL9B5qCVKKcJSTvxnIESpz+h i1ufA5qiYDtpAY2P0cdmsaPMivMPQEe9FdXLD3eLTpbzLR1XSdBjcPLlo4uw4kMSGFZg brd0edUNgivfacZwle1jrESNDxezFWvYfzQRs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=X+L1kxA2K9g10VwwpvD/BWW4R7TSfl3l17FqoG5pIYp5j2IfllmnvCdh6yc6RcetA0 DftXeGWokxRT4+WyC7n7Js4POU8ApaNraQloVuHsc6KFgIkO6m9L83b8qHnaoW/BwakH 5zePn3m1UOkotQ7uxSIKZGPccP9WaVs+k/JrI= MIME-Version: 1.0 Sender: artemb@gmail.com Received: by 10.90.97.18 with SMTP id u18mr2142754agb.104.1242337892922; Thu, 14 May 2009 14:51:32 -0700 (PDT) In-Reply-To: References: <20090514191237.GD70242@bsdcrew.de> Date: Thu, 14 May 2009 14:51:32 -0700 X-Google-Sender-Auth: 33b1595534a14d76 Message-ID: From: Artem Belevich To: Martin Wilke Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: [Call For Testing] VirtualBox for FreeBSD! 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: Thu, 14 May 2009 21:51:34 -0000 Few more notes from -CURRENT/amd64 * VirtualBox needs /proc mounted, otherwise it fails to start. * Kernel module must be loaded with "kldload vboxdrv" In my case, I de see bunch of relocation errors on the console, though the module does load: kldload: unexpected relocation type 10 kldload: unexpected relocation type 10 kldload: unexpected relocation type 10 kldload: unexpected relocation type 10 kldload: unexpected relocation type 10 kldload: unexpected relocation type 10 kldload: unexpected relocation type 10 kldload: unexpected relocation type 10 kldload: unexpected relocation type 10 kldload: unexpected relocation type 10 kldload: unexpected relocation type 10 kldload: unexpected relocation type 10 vboxdrv: fAsync=0 offMin=0xb25 offMax=0x39a8 * Attempt to boot new VM (64-bit FreeBSD) from -current snapshot DVD ISO results in an error: Failed to start the virtual machine FreeBSD. Failed to load VMMR0.r0 (VERR_SYMBOL_VALUE_TOO_BIG). Unknown error creating VM (VERR_SYMBOL_VALUE_TOO_BIG). Result Code: NS_ERROR_FAILURE (0x80004005) Component: Console Interface: IConsole {a7f17a42-5b64-488d-977b-4b2c639ada27} * Subsequent attempts to start VM result in an error message that kernel module is not present, even though kldstat shows it just fine. Any suggestions on how to make it work? --Artem On Thu, May 14, 2009 at 2:18 PM, Artem Belevich wrote: > I'm trying to build on CURRENT/amd64 > > kBuild binaries that come with the port are for FreeBSD-6.3 and seem > to depend on KSE and would at the very minimum need /etc/libmap.conf > tweaking in order to get them to work. > > Perhaps it would be better to make port depend on kBuild and just do > ln -s /usr/local/bin work/virtualbox-2.2.2r19673/kBuild/bin/freebsd.amd64 > > with kBuild installed from ports vbox did finish building. > > --Artem >