From owner-freebsd-current@FreeBSD.ORG Sun May 17 09:19:04 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9906106564A; Sun, 17 May 2009 09:19:04 +0000 (UTC) (envelope-from byshenknet@byshenk.net) Received: from core.byshenk.net (core.byshenk.net [62.58.73.230]) by mx1.freebsd.org (Postfix) with ESMTP id 5C6318FC16; Sun, 17 May 2009 09:19:04 +0000 (UTC) (envelope-from byshenknet@byshenk.net) Received: from core.byshenk.net (localhost.aoes.com [127.0.0.1]) by core.byshenk.net (8.14.3/8.14.3) with ESMTP id n4H8uQxB074884; Sun, 17 May 2009 10:56:26 +0200 (CEST) (envelope-from byshenknet@core.byshenk.net) Received: (from byshenknet@localhost) by core.byshenk.net (8.14.3/8.14.3/Submit) id n4H8uQwV074883; Sun, 17 May 2009 10:56:26 +0200 (CEST) (envelope-from byshenknet) Date: Sun, 17 May 2009 10:56:26 +0200 From: Greg Byshenk To: Martin Wilke Message-ID: <20090517085626.GD2571@core.byshenk.net> References: <20090514191237.GD70242@bsdcrew.de> <3481d8e60905141449qfcf5da8r95d54281206304a4@mail.gmail.com> <3481d8e60905161016k3de535e3n9a570c5bee6ba517@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3481d8e60905161016k3de535e3n9a570c5bee6ba517@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on core.byshenk.net X-Mailman-Approved-At: Sun, 17 May 2009 11:29:45 +0000 Cc: ports@freebsd.org, freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Benoit Calvez Subject: Re: [Call For Testing] VirtualBox for FreeBSD! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2009 09:19:05 -0000 On Sat, May 16, 2009 at 07:16:13PM +0200, Benoit Calvez wrote: > On Thu, May 14, 2009 at 11:49 PM, Benoit Calvez wrote: > > On Thu, May 14, 2009 at 9:12 PM, Martin Wilke wrote: > >> After the announcement from Alexander Eichner about > >> Virtualbox on FreeBSD, we started the work on a port > >> for FreeBSD. Now we think that we solved the most > >> problems and are ready for the first Call for Testing. > >> > >> Some notes before you can test the port: > >> Make sure you are using RELENG_7 or higher. You have > >> to use a fresh portstree with uptodate ports!! Please > >> read carefully the pkg-messages. > >> > >> Some known issues / Troubleshooting: > >> Sometimes the kernel on HEAD coredumps when loading > >> or unloading the kernel module. A small workaround > >> to prevent the crash is to not start X, mount proc, > >> then load the kernel module and start X from the > >> console. That helped me and some testers, maybe you > >> too. :P AMD64 should be work in general, it builds > >> and start. But not right tested at the moment. We > >> want here also some feedback. > >> > >> Some Thanks: > >> First of all we'd like to say many thanks to _ALL_ > >> vbox developers. Next people are Bernhard Froehlich > >> (aka decke), Beat Gaetzi (beat@), Dennis Herrmann > >> (dhn@), Pietro Cerutti (gahr@), myself (*gg*), > >> and _ALL_ who helped and provided feedback. > >> > >> Happy Testing :-) > >> > >> Download: > >> > >> http://people.freebsd.org/~miwi/vbox/vboxport.tgz > >> > >> Wiki Page: > >> http://wiki.freebsd.org/VirtualBox > >> > >> - Martin > > I'm trying to build from amd64, but got the following error. Sorry but I > > didn't look, and it's a fresh paste: > > [...] > I just tryed with the last tarball ( > http://people.freebsd.org/~miwi/vbox/virtualbox_1.tgz) and it compiles fine. > > the kernel module loads, and I'll try to boot an opensolaris in a few > moments. I've just tried with virtualbox_1.tgz, and it builds without a problem, the module installs without a problem, but attempting to start VirtualBox fails. I get no error at all, VirtualBox just hangs. If I attempt to run 'truss VirtualBox', I get the error: Effective UID is not root (euid=1001 egid=1001 uid=1001 gid=1001) (rc=-10) It may help to reinstall VirtualBox. But checking shows that VirtualBox is SUID root: $ ls -l /usr/local/lib/virtualbox/VirtualBox -r-s--x--x 1 root vboxusers 21016 May 17 10:21 /usr/local/lib/virtualbox/VirtualBox It seems that I can create a vm: $ VBoxManage createvm --name test VirtualBox Command Line Management Interface Version 2.2.51_OSE (C) 2005-2009 Sun Microsystems, Inc. All rights reserved. Virtual machine 'test' is created. UUID: 9be28271-55c2-4299-b69a-266c58716db7 Settings file: '/home/gbyshenk/.VirtualBox/Machines/test/test.xml' $ VirtualBox $ ls -l /home/gbyshenk/.VirtualBox/Machines/test/test.xml -rw------- 1 gbyshenk gbyshenk 2302 May 17 10:37 /home/gbyshenk/.VirtualBox/Machines/test/test.xml But VirtualBox itself fails to start -- even if I run as root. System is amd64, 7-STABLE as of 26-04-2009. Does it need to be more recent...? -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL