Donnerstag, 14 Mai 2009

Howdy Guys,

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


14 Responses to “”

  1. Dennis Herrmann Says:

    :) but I found a typos ;/ , Herrman . Meinen Nachname schreibt man mit zwei nn.

    -Dennis

  2. Martin Says:

    Fixed dennis sorry ;)

  3. VirtualBox : prêt pour les premiers essais ! at FreeBSD-fr: Les nouvelles du géant en français Says:

    [...] [...]

  4. akephalos » VirtualBox für FreeBSD Says:

    [...] /usr/home/miwi [...]

  5. [Call For Testing] VirtualBox for FreeBSD. | Martin Wilke | Cell Call World Says:

    [...] the original post:

  6. DimanNe Says:

    kBuild: Compiling PcBiosBin – /usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/out/freebsd.x86/release/obj/PcBiosBin/_rombios_.c
    kBuild: cpp VgaBiosBin – /usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/src/VBox/Devices/Graphics/BIOS/vgabios.c
    kBuild: Compiling VgaDefBiosLogo – /usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/out/freebsd.x86/release/obj/VgaBiosBin/VgaDefBiosLogo.c
    /usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/out/freebsd.x86/release/obj/PcBiosBin/_rombios_.c:471.66: error: need ‘;’
    /usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/out/freebsd.x86/release/obj/PcBiosBin/_rombios_.c:471.66: error: need variable name
    kmk[2]: *** [/usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/out/freebsd.x86/release/obj/PcBiosBin/rombios0.s] Error 1
    kmk[2]: *** Deleting file `/usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/out/freebsd.x86/release/obj/PcBiosBin/rombios0.s’
    kmk[2]: *** Waiting for unfinished jobs….
    kmk[2]: Leaving directory `/usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673′
    kmk[2]: Entering directory `/usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673′
    kmk[2]: *** Exiting with status 2
    kmk[1]: *** [pass_libraries_this] Error 2
    kmk[1]: Leaving directory `/usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673′
    kmk: *** [pass_libraries_order] Error 2
    *** Error code 2

    Stop in /usr/ports/emulators/virtualbox.
    Impedance#
    Impedance# uname -a
    FreeBSD Impedance 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
    Impedance#

  7. decke Says:

    DimanNe please deinstall devel/bcc and the port will compile fine

  8. FAndrey Says:

    > uname -a
    FreeBSD my_book 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Apr 29 20:02:37 MSD 2009 andrey@my_book:/usr/obj/usr/src/sys/MY_BOOK amd64
    # svn co http://svn.bluelife.at/projects/packages/blueports/emulators/virtualbox
    #make install clean

    kBuild: Compiling RuntimeR3NoCRTGCC – /usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/src/VBox/Runtime/common/string/strlen_alias.c
    kmk[2]: *** No rule to make target `/usr/src/sys/kern/bus_if.m’, needed by `/usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/out/freebsd.amd64/release/obj/RuntimeR0Drv/bus_if.h’. Stop.
    kmk[2]: *** Waiting for unfinished jobs….
    kmk[2]: Leaving directory `/usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673′
    kmk[2]: Entering directory `/usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673′
    kmk[2]: *** Exiting with status 2
    kmk[1]: *** [pass_libraries_this] Error 2
    kmk[1]: Leaving directory `/usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673′
    kmk: *** [pass_libraries_order] Error 2
    *** Error code 2

    Stop in /usr/ports/emulators/virtualbox.

    if

    http://people.freebsd.org/~miwi/vbox/vboxport.tgz
    #make install clean

    Successfully generated ‘/usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/AutoConfig.kmk’ and ‘/usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/env.sh’.
    Source ‘/usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/env.sh’ once before you start to build VBox:

    source /usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/env.sh
    kmk

    +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++
    Hardening is enabled which means that the VBox binaries will not run from
    the binary directory. The binaries have to be installed suid root and some
    more prerequisites have to be fulfilled which is normally done by installing
    the final package. For development, the hardening feature can be disabled
    by specifying the –disable-hardening parameter. Please never disable that
    feature for the final distribution!
    +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++

    Enjoy!
    ===> Building for virtualbox-2.2.2r19673
    cd /usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673 && /bin/sh env.sh && VBOX_LIBPATH_X11=/usr/local /usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/kBuild/bin/freebsd.amd64/kmk
    Config.kmk:1664: /usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/out/freebsd.amd64/release/GCCConfig.kmk: No such file or directory
    Config.kmk:3789: /usr/ports/emulators/virtualbox/work/virtualbox-2.2.2r19673/out/freebsd.amd64/release/revision.kmk: No such file or directory
    Fatal error ‘kse_create() failed
    ‘ at line 469 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 2)
    *** Error code 1

    Stop in /usr/ports/emulators/virtualbox.

  9. Martin Says:

    @ FAndrey

    please Read following:
    http://lists.freebsd.org/pipermail/freebsd-ports/2009-May/054570.html

  10. May 14th, 2009 - Technology Says:

    [...] [Call For Testing] VirtualBox for FreeBSD. | Martin WilkeBy Martin Howdy Guys, After the announcement from Alexander Eichner about Virtualbox on FreeBSD, we started the work on a port for FreeBSD. Now we think that we.Martin Wilke – http://bsdcrew.de/blog/ [...]

  11. Some FreeBSD Stuff | CHARGED's Digital Lifestyle at Work or Play Says:

    [...] on Virtualbox on FreeBSD is progressing. Martin Wilke is looking for testers of the upcoming port, details are on his blog. Read the original article [...]

  12. petr999 Says:

    - Cannot use CD/DVD. Iso image works fine.
    - Thanks for port.

  13. sam Says:

    If you ever need help with testing FreeBSD as a client OS, lemme know. :) I tried a few times with kernel crashes when the system got under load. 7.x.

    Sam

  14. Max Says:

    I have problems with make install VirtualBox from ports on FreeBSD 7.2-RELEASE amd64.
    Ports are cvsupped.
    Install options selected: QT4, DBUS. All other options unchecked.
    I have reviewed make log for errors but didn’t find any.

    Here is the install error:

    install -s -o root -g wheel -m 555 /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/bin/VBoxNetDHCP /usr/local/lib/virtualbox/
    /bin/ln -sf /usr/local/lib/virtualbox/VBoxNetDHCP /usr/local/bin/
    install -s -o root -g wheel -m 555 /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/bin/VBoxSVC /usr/local/lib/virtualbox/
    /bin/ln -sf /usr/local/lib/virtualbox/VBoxSVC /usr/local/bin/
    install -s -o root -g wheel -m 555 /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/bin/VBoxXPCOMIPCD /usr/local/lib/virtualbox/
    /bin/ln -sf /usr/local/lib/virtualbox/VBoxXPCOMIPCD /usr/local/bin/
    install -s -o root -g wheel -m 555 /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/bin/VBoxHeadless /usr/local/lib/virtualbox/
    /bin/ln -sf /usr/local/lib/virtualbox/VBoxHeadless /usr/local/bin/
    install -s -o root -g wheel -m 555 /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/bin/VirtualBox /usr/local/lib/virtualbox/
    install: /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/bin/VirtualBox: No such file or directory
    *** Error code 71

    Stop in /usr/ports/emulators/virtualbox.
    *** Error code 1

    Stop in /usr/ports/emulators/virtualbox.
    [root@core /usr/ports/emulators/virtualbox]# uname -a
    FreeBSD core 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Oct 12 20:34:10 UTC 2009 makos@core:/usr/src/sys/amd64/compile/GENERIC amd64

    there is no directory in work/virtualbox-3.0.51r22902/out/freebsd.amd64/release/bin/ named VirtialBox

    PS: Also when I compile the port with NLS support the install script fails with message that it can’t find /virtualbox-3.0.51r22902/out/freebsd.amd64/release/obj/VirtualBox/qtnls file, and there were no obj/VirtualBox directory as well.

Leave a Reply

»
«