From owner-freebsd-virtualization@FreeBSD.ORG Sun Dec 29 03:14:03 2013 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EAE97E38; Sun, 29 Dec 2013 03:14:02 +0000 (UTC) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9AB701210; Sun, 29 Dec 2013 03:14:02 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id m20so9979939qcx.18 for ; Sat, 28 Dec 2013 19:14:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=F0PI4CjoFDE/wbDwPLRDZ4wDRz3YxiPBQdV9XUnuqf4=; b=KvHAzx5O8Y1R2hlkV2HoNFON9i5BsdoJ8kla/cuoMkriYQU4Mb3CQY0SrnAYEQfjC6 y7AwYs6GJTTxt8cb2+aoif4Is60dXYpfOP2F8yDPlOvLObM2fW4rKGj2CW0UT3duiXI3 M3sp65Bf6vE33NqxGHeNZad7aVWsRVKN8O6de9t5yebrb49Jff4uzwlQtTh9E2Y+tzkY F7wfJoCWYSEfnFzFuj823UWqW+BLXE84gpaR4hxBfUfe5EQNO8fvJy6AgsJZsVw8J4cm G7GmwjZyL1aucydhj6ADn7vD9tDbtrSwo7V+sWGYHx8NjCkeE70mj8BxrnpojMOEByTT MbFw== MIME-Version: 1.0 X-Received: by 10.224.162.211 with SMTP id w19mr26898123qax.53.1388286841729; Sat, 28 Dec 2013 19:14:01 -0800 (PST) Received: by 10.140.34.17 with HTTP; Sat, 28 Dec 2013 19:14:01 -0800 (PST) In-Reply-To: <201312271205.54102.jhb@freebsd.org> References: <201312271205.54102.jhb@freebsd.org> Date: Sat, 28 Dec 2013 19:14:01 -0800 Message-ID: Subject: Re: [PATCH] Rework DSDT generation in bhyve From: Neel Natu To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2013 03:14:03 -0000 Hi John, On Fri, Dec 27, 2013 at 9:05 AM, John Baldwin wrote: > While hacking on the power button support, I also started rototilling the DSDT > generation code a bit. My initial goal was to enumerate the LPC serial ports > (COM1 and COM2) properly via ACPI. I ended up doing the following: > > - Moved the info for the top-level PCI bus into the PCI emulation code and > added ResourceProducer entries for the memory ranges decoded by the bus > for memory BARs. > - I added a framework to allow each PCI emulation driver to optionally write > an entry into the DSDT under the \_SB_.PCI0 namespace. The LPC driver uses > this to write a node for the LPC bus (\_SB_.PCI0.ISA). > - I added a linker set to allow any LPC devices to write entries into the > DSDT below the LPC node. I moved the existing block for the RTC out of > acpi.c and into the RTC driver. I added DSDT nodes for the AT PIC, > the 8254 ISA timer, and the LPC UART devices. > - I also added a "SuperIO" device under the LPC node to claim "system > resources" (as is done in real hardware). I added a linker set to allow > various drivers to add IO or memory ranges that should be claimed by > SuperIO and then added the extended RTC IO range and the registers used > for ACPI power management as system resources. > > The end result is that for the stock VM created by vmrun.sh, the attimer0, > uart0, and uart1 devices move from isa0 to acpi0. There is also a PIC > device that would be claimed by 'device atpic' (but the stock amd64 kernel > doesn't include that). The DSDT is also a bit more fleshed out, and also > looks "nice" as devices are mostly laid out in the normal tree rather than > using separate Scope() sections for each device. > > Note that I did add some helper routines for writing out DSDT lines and > resource entries to try to simplify the code in the various DSDT handlers > and make the code that generates DSDT lines a bit more readable (e.g. the > implicit newlines make things more readable IMO). > > The patch is relative to the previous power button patch and is at > http://www.FreeBSD.org/~jhb/patches/bhyve_dsdt.patch > This looks great! This is not related to your patch (it has always been there), but I was trying to understand the significance of this entry: pci_lpc_write_dsdt(): OperationRegion (P40C, PCI_Config, 0x60, 0x04) Any idea on why this is needed/interesting? best Neel > Assuming these are ok, the next thing I might work on is cleaning up > the PCI INTx interrupts. They should really all be rounted to the I/O APIC > intpins above 15 (and we should leave ISA IRQs 5, 10, and 11 alone in APIC > mode and only fall back to that if we are using the 8259As and a real ELCR). > The MP Table output would need some minor tweaking for that, and for ACPI we > should generate a _PRT table under _SB_.PCI0 in pci_emul.c. > > -- > John Baldwin > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@FreeBSD.ORG Mon Dec 30 11:06:55 2013 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ECFE876 for ; Mon, 30 Dec 2013 11:06:55 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D7F5F1115 for ; Mon, 30 Dec 2013 11:06:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rBUB6tQ5058288 for ; Mon, 30 Dec 2013 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBUB6t12058286 for freebsd-virtualization@FreeBSD.org; Mon, 30 Dec 2013 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Dec 2013 11:06:55 GMT Message-Id: <201312301106.rBUB6t12058286@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-virtualization@FreeBSD.org Subject: Current problem reports assigned to freebsd-virtualization@FreeBSD.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2013 11:06:56 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/165252 virtualization[vimage] [pf] [panic] kernel panics with VIMAGE and PF o kern/161094 virtualization[vimage] [pf] [panic] kernel panic with pf + VIMAGE wh o kern/160541 virtualization[vimage][pf][patch] panic: userret: Returning on td 0x o kern/160496 virtualization[vimage] [pf] [patch] kernel panic with pf + VIMAGE o kern/148155 virtualization[vimage] [pf] Kernel panic with PF + VIMAGE kernel opt a kern/147950 virtualization[vimage] [carp] VIMAGE + CARP = kernel crash s kern/143808 virtualization[pf] pf does not work inside jail 7 problems total. From owner-freebsd-virtualization@FreeBSD.ORG Mon Dec 30 17:16:39 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 56CF5DA for ; Mon, 30 Dec 2013 17:16:39 +0000 (UTC) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 11A381E14 for ; Mon, 30 Dec 2013 17:16:38 +0000 (UTC) Received: by mail-vc0-f178.google.com with SMTP id lh4so5871960vcb.23 for ; Mon, 30 Dec 2013 09:16:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=S5dr5HLssiAhfwnIbp2ZHKkfVXK9/uFy9C527oBi1KA=; b=WwcTieJ19nt3WNPZpdA/Hzr4m0Qe24CJhLFQLtdiy6aRhL6Hd/RVeFx94y+OwTPPBO OIy0wnjZ6XOSaYXR/sIAIWbE7QOpRN/1L7JXn7gbBQew80ta4prXtrw0zlZ6kEDSpYzD X8Cmft6r4VCb3ikBVXossvhwz8nnqcdF5sJGRRq4Hci6iYOhh7kkz62PofrUI89SIJgf GrYHIY1Bs63hS6Bw/Unmcub7vFKc58SgUR8YuJGhPuMvkLJjuOvq4i0XlBf5CwDvi/w9 QYoqvvzTioW7UxY7XQZZtQILBa8n8MDNp/eE1JKZgzk5rf37aJU83O2uGNagJD4XSgQJ 1y3g== X-Gm-Message-State: ALoCoQm2IBngIKiAee6jGL3fg/VCKazUGl98qBwGV7AQVx7vEvumHeT4HsoVYWr11Oq4ZtIheqDG MIME-Version: 1.0 X-Received: by 10.52.158.170 with SMTP id wv10mr2613485vdb.77.1388422101559; Mon, 30 Dec 2013 08:48:21 -0800 (PST) Received: by 10.52.245.67 with HTTP; Mon, 30 Dec 2013 08:48:21 -0800 (PST) X-Originating-IP: [2001:470:28:12b::3] Date: Mon, 30 Dec 2013 17:48:21 +0100 Message-ID: Subject: Real Device with BHyve From: Andrea Brancatelli To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2013 17:16:39 -0000 Hello everybody. I'm doing some experiments with bhyve on 10.0-RC3 and I got stuck at a certain point. I was trying to have a VM use a direct device (/dev/da2) instead of a disk image. I was trying it in order to understand if there was any real performance difference between using a raw drive or an image-disk on the same drive. Well, the machine starts ok but when the "child" FreeBSD starts installation something strange happens. When I get to the partitioning screen I can see the device avaiable as /dev/vtdb0 with the correct size and such. I choose autopartitioning, the installer writes the partition table but when it start to write /dev/vtdb0p2 a very cryptic error appears about being unable to write - sorry, did not write it down. The installer then stops. If I do a fdisk /dev/vtdb0 in the VM I can see the GPT partition being there. If I do a fdisk /dev/da2 on the host machine, I can see the GPT partition as well, but the VM just doesn't want to write on it. I even tried changing kern.geom.debugflags=3D16 as I thought the host machi= ne could be locking somehow the drive, but that didn't seem to make any difference. I know it was a lame check but I was out of ideas. So I just wanted to understand if such a scenario is supposed to be supported.... What I was thinking of, for example, was of having an external iSCSI device connected on the hostmachine mapped as a virtual disk for a specific VM, in order to speed the VM disk performances. Just another quick question... I have seen some improvements by having the VM's virtual disk on ZFS against UFS. Is it just me or is there any real improvement by using ZFS? Thanks a lot. --=20 *Andrea BrancatelliSchema 31 S.r.l. - Socio UnicoResponsabile ITROMA - FIRENZE - PALERMO ITALYTel: +39. 06.98.358.472* *Cell: +39 331.2488468Fax: +39. 055.71.880.466Societ=C3=A0 del Gruppo SC31 ITALIA* From owner-freebsd-virtualization@FreeBSD.ORG Tue Dec 31 09:46:59 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 129F74D5; Tue, 31 Dec 2013 09:46:59 +0000 (UTC) Received: from mail-pb0-x229.google.com (mail-pb0-x229.google.com [IPv6:2607:f8b0:400e:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D94F612C3; Tue, 31 Dec 2013 09:46:58 +0000 (UTC) Received: by mail-pb0-f41.google.com with SMTP id jt11so12452900pbb.14 for ; Tue, 31 Dec 2013 01:46:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=i15LBldCQDSvztHccLsshxjLKBzlAfmoANzhcTwrERM=; b=JmmOF+Bpff0RWpDnYC4C2G8oc0Td5i2pjM4kPYk7xQXLMuo2smac5OPYjCT6FMafy3 pkgl22kquCwYsnzNHrjlNPIUQL4KpbFINxRoWuneVl2KP056MsTJvf997N25Q0Odhc0t wyJYDHrsq0cAF+2SjqVnehDRKH83q4IbfzHHczQk03O/dHmjTX6/BjToJi4hcgHJHZ4Z eQIm+mVTJ+NFBFiQrccnOD90Yfg4nX/YrhZbHrx1HFWxk3qGW6Qx8i788BAh+RbNuJcu p3uaDzk57HZf2TdTXSZjSKz7D/DPA4G27GPUHRm7D7cPue54nb/YpnM9z/uiwRglGX/b iUQA== MIME-Version: 1.0 X-Received: by 10.66.179.143 with SMTP id dg15mr74968573pac.52.1388483218214; Tue, 31 Dec 2013 01:46:58 -0800 (PST) Received: by 10.68.185.130 with HTTP; Tue, 31 Dec 2013 01:46:58 -0800 (PST) Date: Tue, 31 Dec 2013 04:46:58 -0500 Message-ID: Subject: emulators/PetiteCloud 0.2 now available From: Aryeh Friedman To: "freebsd-virtualization@freebsd.org" , "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Dec 2013 09:46:59 -0000 Site: http://www.petitecloud.org PetiteCloud 0.2 is a front end to bhyve. It has the following features: * Install, import, start, stop and reboot instances safely (guest OS needs to be controlled independently) * Clone, backup/export, delete stopped instances 100% safely * Keep track of all your instances on one screen * All transactions that change instance state are password protected at all critical stages * Support for a growing number of useful instances and applications What is new since PetiteCloud 0.1.19: * Improved stability, robustness, and user friendliness * Instance import/export, clone, and reboot * FreeBSD port files improved and resubmitted to -ports-bugs@ Minimum System Requirements: * 2+ (3+ is preferable) cores (Any Intel that supports EPT) * 4GB RAM * 100 GB of free disk space (for instances; PetiteCloud itself needs less than 200KB) * FreeBSD 10.0 * 1 physical NIC Known bugs due to be fixed in PetiteCloud 0.2.1: * The reported amount of resources used is inconsistent after an instance is stopped. (Actual resource amounts are not affected.) * Better "please wait" functionality on the web UI. (Command line UI is not effected.) * If the user clicks "install" and then tries to back out (by clicking the "back" button), then the Unix account used for installing instances gets locked and requires manual unlocking. We would like to thank everyone on -virtualization@, especially the bhyve team, for all their assistance with helping us understand bhyve. From owner-freebsd-virtualization@FreeBSD.ORG Tue Dec 31 11:57:52 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E661327 for ; Tue, 31 Dec 2013 11:57:52 +0000 (UTC) Received: from mail-ve0-x22d.google.com (mail-ve0-x22d.google.com [IPv6:2607:f8b0:400c:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2A6041ACB for ; Tue, 31 Dec 2013 11:57:52 +0000 (UTC) Received: by mail-ve0-f173.google.com with SMTP id oz11so6541206veb.32 for ; Tue, 31 Dec 2013 03:57:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+GDANkH5dfutcSx3HnEFgxr93PNOYylY8lrwwr+gL+U=; b=GGDtNYRaVIV+enhAmXeEFzd4aIdDxxwkMnYJnF0nepN6ZVNKPf1qrolzsGoRrBVcJK qwSriqRGcntuyQXPuQ68kLyy/4C573pRsq7NOAda/dkzKlNyKq6lps8ISqx0pCNHHz7H +cSQWGZJNKQx1nOFldO3ehfqNxTkZwgyqLQwEvowpFRR20LM8Yb41uthjYm6TqChM0KU 3s8pi7HxsPxk0sR3/WyqRHK+8tNqe1pWBHOuAeN3HlYtedgS6D0Wxd9eJQNV108fomxT l+aEx0snv/0VtgVjaY63362vCXRZh19TRLKWxO9V4e+UR+mtO04E+AHlK0OC32pfOsNM 7V9w== MIME-Version: 1.0 X-Received: by 10.52.165.210 with SMTP id za18mr4835481vdb.20.1388491071193; Tue, 31 Dec 2013 03:57:51 -0800 (PST) Received: by 10.52.244.233 with HTTP; Tue, 31 Dec 2013 03:57:51 -0800 (PST) Date: Tue, 31 Dec 2013 20:57:51 +0900 Message-ID: Subject: VirtualBox build error From: Hideki Yamamoto To: freebsd-virtualization Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Dec 2013 11:57:52 -0000 Dear all; I tried to compile virtualbox-ose but failed. The error messages are as follows. It seems that libiconv.a should be linked to virtualbox. Does someone solve this problem? Thanks in advance. fbsdtmt2# cd /usr/ports/emulators/virtualbox-ose fbsdtmt2# make ===> Building for virtualbox-ose-4.2.20_2 cd /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20 && /bin/sh env.sh && VBOX_LIBPATH_X11=/usr/local VBOX_FREEBSD_SRC=/usr/src/sys /usr/local/bin/kmk -j 1 /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: overriding recipe for target `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/bin/src/vboxdrv/include/iprt/crc.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: ignoring old recipe for target `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/bin/src/vboxdrv/include/iprt/crc.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: overriding recipe for target `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/dist/bin/src/vboxdrv/include/iprt/crc.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: ignoring old recipe for target `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/dist/bin/src/vboxdrv/include/iprt/crc.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: overriding recipe for target `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/bin/src/vboxdrv/include/iprt/net.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: ignoring old recipe for target `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/bin/src/vboxdrv/include/iprt/net.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: overriding recipe for target `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/dist/bin/src/vboxdrv/include/iprt/net.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: ignoring old recipe for target `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/dist/bin/src/vboxdrv/include/iprt/net.h' kBuild: Pass - Build Programs kBuild: Compiling RuntimeBldProg - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/socket.cpp kBuild: Compiling RuntimeBldProg - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/tcp.cpp kBuild: Compiling RuntimeBldProg - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/udp.cpp kBuild: Compiling RuntimeBldProg - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/VBox/log-vbox.cpp kBuild: Compiling RuntimeBldProg - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/freebsd/mp-freebsd.cpp kBuild: Compiling RuntimeBldProg - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/freebsd/rtProcInitExePath-freebsd.cpp kBuild: Compiling RuntimeBldProg - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/freebsd/RTSystemQueryTotalRam-freebsd.cpp kBuild: Compiling RuntimeBldProg - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/posix/fs-posix.cpp kBuild: Compiling RuntimeBldProg - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/posix/fs2-posix.cpp kBuild: Linking RuntimeBldProg kBuild: Installing RuntimeBldProg => /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/lib/RuntimeBldProg.a kBuild: Linking scm /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/lib/RuntimeBldProg.a(utf8-posix.o): In function `rtStrConvertUncached': /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/posix/utf8-posix.cpp:311: undefined reference to `libiconv_open' /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/posix/utf8-posix.cpp:325: undefined reference to `libiconv' /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/posix/utf8-posix.cpp:343: undefined reference to `libiconv_close' /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/posix/utf8-posix.cpp:334: undefined reference to `libiconv_close' /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/lib/RuntimeBldProg.a(utf8-posix.o): In function `rtstrConvertCached': /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/posix/utf8-posix.cpp:199: undefined reference to `libiconv' /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/posix/utf8-posix.cpp:184: undefined reference to `libiconv_open' /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/posix/utf8-posix.cpp:240: undefined reference to `libiconv_close' /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/lib/RuntimeBldProg.a(utf8-posix.o): In function `rtStrIconvCacheDestroy': /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/r3/posix/utf8-posix.cpp:115: undefined reference to `libiconv_close' kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/obj/scm/scm] Error 1 The failing command: @g++ -m32 -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/obj/scm/scm /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/obj/scm/scm.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/obj/scm/scmdiff.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/obj/scm/scmrw.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/obj/scm/scmstream.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/obj/scm/scmsubversion.o -L/usr/local/lib -lpthread -lrt /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/lib/RuntimeBldProg.a /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/lib/VBox-kStuffStaticBldProg.a /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.x86/release/lib/RuntimeBldProg.a -lpthread -lssl -lcrypto *** Error code 2 Stop. make[1]: stopped in /usr/ports/emulators/virtualbox-ose *** Error code 1 Stop. make: stopped in /usr/ports/emulators/virtualbox-ose fbsdtmt2# ---