From owner-freebsd-virtualization@FreeBSD.ORG Sun Jun 17 12:14:36 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A02A1065672; Sun, 17 Jun 2012 12:14:36 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 9C6A68FC18; Sun, 17 Jun 2012 12:14:35 +0000 (UTC) Received: by wibhj8 with SMTP id hj8so755516wib.13 for ; Sun, 17 Jun 2012 05:14:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:x-comment-to:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=BH5Pw+un3kJ42oIT/eSO8LUIaESf/wOpr4ynzPRukL8=; b=KTwrqA4HPlJUy4ZqiHFOYzicwgUIFQR4NPiwfLRlmiqRA7UUv4h8gofYV0KZcZPjKN 7FFqjAR/bTQ1OSAYezPp2lZIOMk7IdxjxNVuOrG7HOl0sS34RgaVeUKhsqgLIngjMjuQ 7ICmT06p37gPI+BcGjyJllU/u5OsPvHm6DQC8fNh7aF6CPTBF/VC5cL3aoPpEhi+cwWO pZ1UpXsqINXzTeerx6+BbhBjdOT039urN2gfFWH+irrfI3tDd+A7ltFqpldBGPVIfdb6 z4YPb837i5CRmvnu8Nk8TmqJ1nRM3FH58go6hJnqHbJ7ts0AxJnj5WG2DhIWWKS61yD9 yBcA== Received: by 10.216.50.211 with SMTP id z61mr5896348web.57.1339935273576; Sun, 17 Jun 2012 05:14:33 -0700 (PDT) Received: from localhost ([95.69.173.122]) by mx.google.com with ESMTPS id dg2sm31156034wib.4.2012.06.17.05.14.30 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jun 2012 05:14:31 -0700 (PDT) From: Mikolaj Golub To: Palle Girgensohn References: <4FD2971B.9090405@FreeBSD.org> X-Comment-To: Palle Girgensohn Sender: Mikolaj Golub Date: Sun, 17 Jun 2012 15:14:29 +0300 In-Reply-To: <4FD2971B.9090405@FreeBSD.org> (Palle Girgensohn's message of "Sat, 09 Jun 2012 02:21:47 +0200") Message-ID: <86y5nm2l0a.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: bz@FreeBSD.org, freebsd-virtualization@FreeBSD.org Subject: Re: panic when epair is removed (VNET) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 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, 17 Jun 2012 12:14:36 -0000 On Sat, 09 Jun 2012 02:21:47 +0200 Palle Girgensohn wrote: PG> Hi, PG> This seems to be well known issue, system panics when an epair is removed. PG> Isn't there anything one can do about this? I'd love to use epair in my PG> jails setups, but the risk of killing the system makes them less PG> tasty... I tried a few patches on the net that claim to fix the problem, PG> but they don't. Any ideas what actually can be done to stop the kernel PG> from panicking? PG> Here's a reference: PG> http://lists.freebsd.org/pipermail/freebsd-virtualization/2011-January/000629.html The patch works for me on the current. I had to update it to cleanly apply to the recent current. Here is the updated version: http://people.freebsd.org/~trociny/if_epair.c.epair_clone_destroy.1.patch If it does not work for you, could you please provide more details: freebsd version/revision, scenario, backtrace, so I could try to reproduce. -- Mikolaj Golub From owner-freebsd-virtualization@FreeBSD.ORG Mon Jun 18 11:08:02 2012 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E1AA1065678 for ; Mon, 18 Jun 2012 11:08:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 77B328FC22 for ; Mon, 18 Jun 2012 11:08:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5IB82A7008165 for ; Mon, 18 Jun 2012 11:08:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5IB81B5008163 for freebsd-virtualization@FreeBSD.org; Mon, 18 Jun 2012 11:08:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Jun 2012 11:08:01 GMT Message-Id: <201206181108.q5IB81B5008163@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 Cc: Subject: Current problem reports assigned to freebsd-virtualization@FreeBSD.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 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, 18 Jun 2012 11:08:02 -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/167551 virtualization[vimage] Fatal trap 12 jails, vimage, ifconfig destroy 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 f kern/152047 virtualization[vimage] [panic] TUN\TAP under jail with vimage crashe o kern/148155 virtualization[vimage] [pf] Kernel panic with PF/IPFilter + VIMAGE k a kern/147950 virtualization[vimage] [carp] VIMAGE + CARP = kernel crash s kern/143808 virtualization[pf] pf does not work inside jail a kern/141696 virtualization[rum] [vimage] [panic] rum(4)+ vimage = kernel panic 10 problems total. From owner-freebsd-virtualization@FreeBSD.ORG Tue Jun 19 07:50:12 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C1A1106564A; Tue, 19 Jun 2012 07:50:12 +0000 (UTC) (envelope-from bryanv@daemoninthecloset.org) Received: from torment.daemoninthecloset.org (torment.daemoninthecloset.org [94.242.209.234]) by mx1.freebsd.org (Postfix) with ESMTP id A16448FC1A; Tue, 19 Jun 2012 07:50:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemoninthecloset.org Received: from sage.daemoninthecloset.org (sage.daemoninthecloset.org [127.0.1.1]) by sage.daemoninthecloset.org (Postfix) with ESMTP id 215E23A8B; Tue, 19 Jun 2012 02:40:44 -0500 (CDT) Date: Tue, 19 Jun 2012 02:40:44 -0500 (CDT) From: Bryan Venteicher To: freebsd-scsi@freebsd.org Message-ID: <1449819169.793.1340091643925.JavaMail.root@sage.daemoninthecloset.org> In-Reply-To: <608701174.2086.1339136958852.JavaMail.root@sage.daemoninthecloset.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.10.20] X-Mailer: Zimbra 7.1.4_GA_2555 (ZimbraWebClient - GC19 ([unknown])/7.1.4_GA_2555) Cc: freebsd-virtualization@freebsd.org Subject: Re: [CFT] VirtIO SCSI Driver X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jun 2012 07:50:12 -0000 Hi, ----- Original Message ----- > From: "Bryan Venteicher" > To: freebsd-scsi@freebsd.org > Cc: freebsd-virtualization@freebsd.org > Sent: Friday, June 8, 2012 1:29:18 AM > Subject: [CFT] VirtIO SCSI Driver > > Hi, > > VirtIO SCSI is a virtualized HBA that offers a couple of advantages > over the existing VirtIO block disk devices. Instead of having a > vtbdX disk, familiar daX and cdX devices are created like from other > SCSI drivers. A single HBA is able to support multiple devices unlike > the VirtIO block where there is one disk per PCI device. And SCSI > devices from the host are able to be passthrough to the guest. > A second patch is available at: www.daemoninthecloset.org/~bryanv/patches/freebsd/freebsd_virtio_scsi_2.patch Most of the changes are just cleanup; the only noteworthy fix is that CAM_SCSI_STATUS_ERROR is now reported correctly. With a QEMU patch provided by the VirtIO SCSI author, bus reset now works. I hope the patch is committed soon upstream to QEMU. As I mentioned in my previous email, you need a QEMU with VirtIO SCSI support. You can check if your QEMU has the support by: $ qemu -device ? and looking for a line like: name "virtio-scsi-pci", bus PCI VirtIO SCSI should be supported by QEMU 1.1 or later. If your distribution does not provide a new enough QEMU, you'll need to compile from source. You'll then need to have QEMU create a VirtIO SCSI disk for the guest. The CLI sugar to do this is a bit ugly, but will look like: -drive file=/vm_images/vtscsi-2.img,if=none,id=drive-scsi0-0-0 \ -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x6 \ -device scsi-disk,bus=scsi0.0,scsi-id=0,drive=drive-scsi0-0-0,id=scsi0-0-0 AFAIK, this really isn't documented anywhere (the QEMU man page isn't at all helpful) and took a bit of guessing when I was first getting started with it. Bryan > > Should apply cleanly to any recent -current, and probably to a > -stable > with minimal work. > From owner-freebsd-virtualization@FreeBSD.ORG Tue Jun 19 09:10:24 2012 Return-Path: Delivered-To: freebsd-virtualization@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FCD31065693 for ; Tue, 19 Jun 2012 09:10:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B02688FC2C for ; Tue, 19 Jun 2012 09:10:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5J9AHYE087615 for ; Tue, 19 Jun 2012 09:10:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5J9AHBC087614; Tue, 19 Jun 2012 09:10:17 GMT (envelope-from gnats) Date: Tue, 19 Jun 2012 09:10:17 GMT Message-Id: <201206190910.q5J9AHBC087614@freefall.freebsd.org> To: freebsd-virtualization@FreeBSD.org From: Daan Vreeken Cc: Subject: Re: kern/158686: [vimage] [tap] [patch] Add VIMAGE support to if_tap X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daan Vreeken List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2012 09:10:24 -0000 The following reply was made to PR kern/158686; it has been noted by GNATS. From: Daan Vreeken To: Mikolaj Golub Cc: bug-followup@freebsd.org, "Alexander V. Chernikov" Subject: Re: kern/158686: [vimage] [tap] [patch] Add VIMAGE support to if_tap Date: Tue, 19 Jun 2012 11:06:26 +0200 Hi Mikolaj, On Saturday 16 June 2012 09:25:26 Mikolaj Golub wrote: > Hi Daan, > > The patch is committed. Thank you! Thanks for the commit! > Note, I have not committed the "FIB" part of the patch though because I am > not sure it was supposed to be done in this way. Your change looks > reasonable for me, as it looks like without it mbufs of all incoming > packets are not tagged on tap interface. On the other hand I don't see > examples in kernel where tag is set before if_input() call (only before > netisr_queue() or netisr_dispatch()). if_input() is actually ether_input(). > May be it is supposed to just add this tag in ether_input()? > > I cc Alexander Chernikov, who is the author of the original patch that > added mbuf tagging of incoming packets (r223741), and close this pr as the > vimage part is fixed. I don't have a working test setup or use case at this moment where we use multiple FIBs in combination with tap(4), but if I remember correctly, the kernel would instantly panic upon receiving the first packet through the interface without the call to M_SETFIB(). If I run in to this again I'll submit a separate PR for this problem. Thanks, -- Daan Vreeken Vitsch Electronics http://Vitsch.nl http://VitschVPN.nl tel: +31-(0)40-7113050 KvK nr: 17174380 From owner-freebsd-virtualization@FreeBSD.ORG Tue Jun 19 10:00:26 2012 Return-Path: Delivered-To: freebsd-virtualization@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B812106564A for ; Tue, 19 Jun 2012 10:00:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4F4AA8FC15 for ; Tue, 19 Jun 2012 10:00:26 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5JA0Qnl034441 for ; Tue, 19 Jun 2012 10:00:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5JA0Qn4034439; Tue, 19 Jun 2012 10:00:26 GMT (envelope-from gnats) Date: Tue, 19 Jun 2012 10:00:26 GMT Message-Id: <201206191000.q5JA0Qn4034439@freefall.freebsd.org> To: freebsd-virtualization@FreeBSD.org From: "Alexander V. Chernikov" Cc: Subject: Re: kern/158686: [vimage] [tap] [patch] Add VIMAGE support to if_tap X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Alexander V. Chernikov" List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2012 10:00:26 -0000 The following reply was made to PR kern/158686; it has been noted by GNATS. From: "Alexander V. Chernikov" To: Daan Vreeken Cc: Mikolaj Golub , bug-followup@freebsd.org Subject: Re: kern/158686: [vimage] [tap] [patch] Add VIMAGE support to if_tap Date: Tue, 19 Jun 2012 13:52:59 +0400 > I don't have a working test setup or use case at this moment where we use > multiple FIBs in combination with tap(4), but if I remember correctly, the > kernel would instantly panic upon receiving the first packet through the > interface without the call to M_SETFIB(). It is quite strange since M_SETFIB does nothing more than setting 4 bits in mbuf flags which are zero by default (fib 0). > > If I run in to this again I'll submit a separate PR for this problem. Can you please drop e-mail to me if this happens? From owner-freebsd-virtualization@FreeBSD.ORG Wed Jun 20 22:39:17 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 665A6106566C for ; Wed, 20 Jun 2012 22:39:17 +0000 (UTC) (envelope-from mack@macktronics.com) Received: from coco.macktronics.com (coco.macktronics.com [209.181.253.65]) by mx1.freebsd.org (Postfix) with ESMTP id 3E8D08FC0A for ; Wed, 20 Jun 2012 22:39:17 +0000 (UTC) Received: from coco.macktronics.com (coco.macktronics.com [209.181.253.65]) by coco.macktronics.com (Postfix) with ESMTP id 626F14AC40; Wed, 20 Jun 2012 17:39:15 -0500 (CDT) Date: Wed, 20 Jun 2012 17:39:15 -0500 (CDT) From: Dan Mack To: Maurizio Vairani In-Reply-To: <4FB4E9F1.3010001@cloverinformatica.it> Message-ID: <20120620173655.G2070@coco.macktronics.com> References: <4FB4E9F1.3010001@cloverinformatica.it> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-virtualization@freebsd.org Subject: Re: [PATCH] virtualbox-ose - VBoxHeadless TCPv6 port value X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 20 Jun 2012 22:39:17 -0000 I think this patch is broken. I get : /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp:94: error: 'struct _rfbScreenInfo' has no member named 'ipv6port' kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxHeadless/FramebufferVNC.o] Error 1 Dan On Thu, 17 May 2012, Maurizio Vairani wrote: > Dear list members, > the latest libvncserver has IPv6 enabled by default. VirtualBox uses this > library for VNC headless connection without specify the tcp6 port value. > Running two or more virtual machines, all are trying to use the same tpc6 > port 5900, the default value. Connecting with a VNC viewer to a virtual > machine, different from the first started, it crashes with a core dump, > probably due a bug in the FreeBSD libvncserver implementation. > This simple patch set the tcp6 port value to the same value as tcp4 port > avoiding the crash. > > Regards, > Maurizio > > > From owner-freebsd-virtualization@FreeBSD.ORG Thu Jun 21 10:31:05 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 849801065672 for ; Thu, 21 Jun 2012 10:31:05 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from smtplq01.aruba.it (smtplq-out15.aruba.it [62.149.158.35]) by mx1.freebsd.org (Postfix) with SMTP id 962608FC17 for ; Thu, 21 Jun 2012 10:31:04 +0000 (UTC) Received: (qmail 1944 invoked by uid 89); 21 Jun 2012 10:30:55 -0000 Received: from unknown (HELO smtp7.aruba.it) (62.149.158.227) by smtplq01.aruba.it with SMTP; 21 Jun 2012 10:30:55 -0000 Received: (qmail 18428 invoked by uid 89); 21 Jun 2012 10:30:55 -0000 Received: from unknown (HELO cloverinformatica.it) (info@cloverinformatica.it@151.55.85.29) by smtp7.ad.aruba.it with SMTP; 21 Jun 2012 10:30:55 -0000 Received: from [192.168.0.185] (ASUS-TERMINATOR [192.168.0.185]) by cloverinformatica.it (Postfix) with ESMTP id CBDE03A; Thu, 21 Jun 2012 12:30:55 +0200 (CEST) Message-ID: <4FE2F7DF.8050808@cloverinformatica.it> Date: Thu, 21 Jun 2012 12:30:55 +0200 From: Maurizio Vairani User-Agent: Mozilla/5.0 (Windows NT 4.0; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Dan Mack References: <4FB4E9F1.3010001@cloverinformatica.it> <20120620173655.G2070@coco.macktronics.com> In-Reply-To: <20120620173655.G2070@coco.macktronics.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: smtp7.ad.aruba.it 1.6.2 0/1000/N X-Spam-Rating: smtplq01.aruba.it 1.6.2 0/1000/N Cc: freebsd-virtualization@freebsd.org Subject: Re: [PATCH] virtualbox-ose - VBoxHeadless TCPv6 port value X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 21 Jun 2012 10:31:05 -0000 On 21/06/2012 0.39, Dan Mack wrote: > > I think this patch is broken. I get : > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp:94: > > error: 'struct _rfbScreenInfo' has no member named 'ipv6port' > kmk: *** > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxHeadless/FramebufferVNC.o] > Error 1 > > Dan > > On Thu, 17 May 2012, Maurizio Vairani wrote: > >> Dear list members, >> the latest libvncserver has IPv6 enabled by default. VirtualBox uses >> this library for VNC headless connection without specify the tcp6 >> port value. Running two or more virtual machines, all are trying to >> use the same tpc6 port 5900, the default value. Connecting with a >> VNC viewer to a virtual machine, different from the first started, >> it crashes with a core dump, probably due a bug in the FreeBSD >> libvncserver implementation. >> This simple patch set the tcp6 port value to the same value as tcp4 >> port avoiding the crash. >> >> Regards, >> Maurizio >> >> >> What version of libvncserver you have ? I have installed v. 0.9.9_2 $ pkg_info | grep libvnc libvncserver-0.9.9_2 Provide an easy API to write one's own vnc server Maurizio From owner-freebsd-virtualization@FreeBSD.ORG Fri Jun 22 22:33:02 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 87BC31065846 for ; Fri, 22 Jun 2012 22:33:01 +0000 (UTC) (envelope-from mack@macktronics.com) Received: from coco.macktronics.com (coco.macktronics.com [209.181.253.65]) by mx1.freebsd.org (Postfix) with ESMTP id 8629F8FC14 for ; Fri, 22 Jun 2012 22:33:01 +0000 (UTC) Received: from coco.macktronics.com (coco.macktronics.com [209.181.253.65]) by coco.macktronics.com (Postfix) with ESMTP id 783F54AC40; Fri, 22 Jun 2012 17:32:54 -0500 (CDT) Date: Fri, 22 Jun 2012 17:32:54 -0500 (CDT) From: Dan Mack To: Maurizio Vairani In-Reply-To: <4FE2F7DF.8050808@cloverinformatica.it> Message-ID: <20120622173029.F21389@coco.macktronics.com> References: <4FB4E9F1.3010001@cloverinformatica.it> <20120620173655.G2070@coco.macktronics.com> <4FE2F7DF.8050808@cloverinformatica.it> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-virtualization@freebsd.org Subject: Re: [PATCH] virtualbox-ose - VBoxHeadless TCPv6 port value X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 22 Jun 2012 22:33:02 -0000 On Thu, 21 Jun 2012, Maurizio Vairani wrote: > On 21/06/2012 0.39, Dan Mack wrote: >> >> I think this patch is broken. I get : >> >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/src/VBox/Frontends/VBoxHeadless/FramebufferVNC.cpp:94: >> error: 'struct _rfbScreenInfo' has no member named 'ipv6port' >> kmk: *** >> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxHeadless/FramebufferVNC.o] >> Error 1 >> >> Dan >> >> On Thu, 17 May 2012, Maurizio Vairani wrote: >> >>> Dear list members, >>> the latest libvncserver has IPv6 enabled by default. VirtualBox uses this >>> library for VNC headless connection without specify the tcp6 port value. >>> Running two or more virtual machines, all are trying to use the same tpc6 >>> port 5900, the default value. Connecting with a VNC viewer to a virtual >>> machine, different from the first started, it crashes with a core dump, >>> probably due a bug in the FreeBSD libvncserver implementation. >>> This simple patch set the tcp6 port value to the same value as tcp4 port >>> avoiding the crash. >>> >>> Regards, >>> Maurizio >>> >>> >>> > What version of libvncserver you have ? > I have installed v. 0.9.9_2 > $ pkg_info | grep libvnc > libvncserver-0.9.9_2 Provide an easy API to write one's own vnc server > > Maurizio > Ack, my bad. I still have version 0.9.8 installed; I'll re-build with 0.9.9 after 4.1.18 is released. Dan