Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2009 10:56:26 +0200
From:      Greg Byshenk <freebsd@byshenk.net>
To:        Martin Wilke <miwi@freebsd.org>
Cc:        ports@freebsd.org, freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Benoit Calvez <Benoit.Calvez@gmail.com>
Subject:   Re: [Call For Testing] VirtualBox for FreeBSD!
Message-ID:  <20090517085626.GD2571@core.byshenk.net>
In-Reply-To: <3481d8e60905161016k3de535e3n9a570c5bee6ba517@mail.gmail.com>
References:  <20090514191237.GD70242@bsdcrew.de> <3481d8e60905141449qfcf5da8r95d54281206304a4@mail.gmail.com> <3481d8e60905161016k3de535e3n9a570c5bee6ba517@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 16, 2009 at 07:16:13PM +0200, Benoit Calvez wrote:
> On Thu, May 14, 2009 at 11:49 PM, Benoit Calvez <Benoit.Calvez@gmail.com>wrote:
> > On Thu, May 14, 2009 at 9:12 PM, Martin Wilke <miwi@freebsd.org> 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<http://people.freebsd.org/%7Emiwi/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
_______________________________________________
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"




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