Re: [Call For Testing] VirtualBox for FreeBSD!

From: Greg Byshenk <freebsd_at_byshenk.net>
Date: Sun, 17 May 2009 10:56:26 +0200
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_at_gmail.com>wrote:
> > On Thu, May 14, 2009 at 9:12 PM, Martin Wilke <miwi_at_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_at_), Dennis Herrmann
> >> (dhn_at_), Pietro Cerutti (gahr_at_), 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_at_byshenk.net  -  Leiden, NL
Received on Sun May 17 2009 - 07:19:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC