From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 17 03:04:11 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6721106566B for ; Sun, 17 Jul 2011 03:04:11 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (pancho.soaustin.net [76.74.250.40]) by mx1.freebsd.org (Postfix) with ESMTP id ABD998FC1A for ; Sun, 17 Jul 2011 03:04:11 +0000 (UTC) Received: by mail.soaustin.net (Postfix, from userid 502) id 758DC5615B; Sat, 16 Jul 2011 21:47:10 -0500 (CDT) Date: Sat, 16 Jul 2011 21:47:10 -0500 From: Mark Linimon To: emulation@FreeBSD.org, gabor@FreeBSD.org Message-ID: <20110717024710.GA19599@lonesome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: linimon@FreeBSD.org Subject: RFC: small patch to linux_base files for package building X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2011 03:04:11 -0000 pointyhat makes its INDEX file elsewhere from the client environment. Thus, the test for ${SYSCTL} -n compat.linux.osrelease might or might not match the clients. I want to put in the following patch in each of the Makefiles to be able to force the INDEX (same patch for each one). Any objections? Thanks. mcl Index: Makefile =================================================================== RCS file: /home/pcvs/ports/emulators/linux_base-f10/Makefile,v retrieving revision 1.60 diff -u -r1.60 Makefile --- Makefile 2 Mar 2011 10:11:21 -0000 1.60 +++ Makefile 17 Jul 2011 02:38:49 -0000 @@ -122,7 +122,9 @@ .include +.if !defined(PACKAGE_BUILDING) || (defined(PACKAGE_BUILDING) && !defined(LINUX_OSRELEASE) ) LINUX_OSRELEASE!= ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null` +.endif .if ${LINUX_OSRELEASE}x == "x" IGNORE= linuxulator is not (kld)loaded From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 17 19:20:19 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB0DA106566B for ; Sun, 17 Jul 2011 19:20:19 +0000 (UTC) (envelope-from markd@kermodei.com) Received: from nm14.bullet.mail.bf1.yahoo.com (nm14.bullet.mail.bf1.yahoo.com [98.139.212.173]) by mx1.freebsd.org (Postfix) with SMTP id 705958FC15 for ; Sun, 17 Jul 2011 19:20:19 +0000 (UTC) Received: from [98.139.212.149] by nm14.bullet.mail.bf1.yahoo.com with NNFMP; 17 Jul 2011 19:06:53 -0000 Received: from [98.139.221.52] by tm6.bullet.mail.bf1.yahoo.com with NNFMP; 17 Jul 2011 19:06:53 -0000 Received: from [127.0.0.1] by smtp105.sbc.mail.bf1.yahoo.com with NNFMP; 17 Jul 2011 19:06:53 -0000 X-Yahoo-Newman-Id: 811106.29152.bm@smtp105.sbc.mail.bf1.yahoo.com Received: from osprey.kermodei.com (markd@67.123.80.214 with login) by smtp105.sbc.mail.bf1.yahoo.com with SMTP; 17 Jul 2011 12:06:53 -0700 PDT X-Yahoo-SMTP: knGM_HSswBD5QyvFslEk1_6tqt5exkIU26bBrTLyCA-- X-YMail-OSG: vvst1wUVM1m699i4hGwpomAEExUe3rHC4MW4pXm2CBuokmV tE4Q2u.5bcG1HyADzB3z.CgISGf9UfrylNP9HeDozrZTiihiFuS3TftQgub0 XIaRoKrIf22FuflMZXEu8wATiXVSIvJ6RCMNHQbC6_FVBd7iXngIN2y1GVzS EfOe2sLjvCuKho1rmEA8m1rpALymgyeqmT._q4i9myMXrtur32kFqq3c7EO7 uzTp8XvKWE3jpdDI7hUlRBfqVUbr0XzaUYRUVKPzXomUHm0roBlTnC4hSA6B eHOTJFCxOa4jyjbmys7wNgrZawE8HSvoyD2bFwoy_PhbZuHqK1pXiM1LrUxB TrdXF_dqtQyqJzkrP X-Yahoo-Newman-Property: ymail-3 Received: by osprey.kermodei.com (Postfix, from userid 1000) id EE9CD6783A; Sun, 17 Jul 2011 12:06:51 -0700 (PDT) From: Mark Diekhans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20003.13003.836570.461991@osprey.kermodei.com> Date: Sun, 17 Jul 2011 12:06:51 -0700 To: freebsd-emulation@freebsd.org X-Mailer: VM 8.1.93a under 23.3.1 (amd64-portbld-freebsd8.1) Subject: Unable to install Ubuntu in VirtualBox OSE X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2011 19:20:19 -0000 Hi Folks, I am trying to install Ubuntu in VirtualBox OSE and hitting a wall: Configuration: FreeBSD 8.1-RELEASE amd64 GENERIC kernel virtualbox-ose-4.0.10 virtualbox-ose-kmod-4.0.10 Using remote X11 access, not a local server no special virtualbox configuration changes Tried both: ubuntu-11.04-desktop-amd64.iso ubuntu-11.04-desktop-i386.iso Makes it to timezone selection screen and VirtualBox machine aborts and machine window closes. No messages are added to the log after the install starts. Any ideas? Thanks Mark From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 17 19:48:28 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF2BF106564A for ; Sun, 17 Jul 2011 19:48:28 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 6FED28FC16 for ; Sun, 17 Jul 2011 19:48:28 +0000 (UTC) Received: by qyk30 with SMTP id 30so1344748qyk.13 for ; Sun, 17 Jul 2011 12:48:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=3NYXh4usFMkZr2l+uBU34Eac5nTQ6c+fgcX+4/3IGBg=; b=vqzUFbGZesRyKGFFwWYocT5xsmMZixNCio7mpNa4f4IRYDEVx0uDuTQZdylv5rKagz FUjObWB6P3kRdApgC7HCCS+mZoDsXfLTGCWjL4UAySxOjB90UcZScpLn5pHliwHedOzb +1vaKiAaKixCj3gjmFOmSfz+dWRDh6PepQsrQ= MIME-Version: 1.0 Received: by 10.229.77.161 with SMTP id g33mr4244533qck.131.1310930745264; Sun, 17 Jul 2011 12:25:45 -0700 (PDT) Received: by 10.229.219.19 with HTTP; Sun, 17 Jul 2011 12:25:45 -0700 (PDT) In-Reply-To: <20003.13003.836570.461991@osprey.kermodei.com> References: <20003.13003.836570.461991@osprey.kermodei.com> Date: Sun, 17 Jul 2011 23:25:45 +0400 Message-ID: From: Subbsd To: Mark Diekhans Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-emulation@freebsd.org Subject: Re: Unable to install Ubuntu in VirtualBox OSE X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2011 19:48:28 -0000 Hi On Sun, Jul 17, 2011 at 11:06 PM, Mark Diekhans wrote: > > Hi Folks, > > I am trying to install Ubuntu in VirtualBox OSE and hitting > a wall: > > Configuration: > =A0 =A0FreeBSD 8.1-RELEASE amd64 GENERIC kernel > =A0 =A0virtualbox-ose-4.0.10 > =A0 =A0virtualbox-ose-kmod-4.0.10 > =A0 =A0Using remote X11 access, not a local server > =A0 =A0no special virtualbox configuration changes > > Tried both: > =A0 =A0 =A0ubuntu-11.04-desktop-amd64.iso > =A0 =A0 =A0ubuntu-11.04-desktop-i386.iso > > Makes it to timezone selection screen and VirtualBox machine > aborts and machine window closes. =A0No messages are added to the > log after the install starts. > > Any ideas? Try use IDE Controller in VM istead of SATA > Thanks > Mark > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.o= rg" > From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 17 20:02:43 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0DDF1065678 for ; Sun, 17 Jul 2011 20:02:43 +0000 (UTC) (envelope-from markd@kermodei.com) Received: from nm26.access.bullet.mail.mud.yahoo.com (nm26.access.bullet.mail.mud.yahoo.com [66.94.237.91]) by mx1.freebsd.org (Postfix) with SMTP id 612468FC27 for ; Sun, 17 Jul 2011 20:02:43 +0000 (UTC) Received: from [66.94.237.127] by nm26.access.bullet.mail.mud.yahoo.com with NNFMP; 17 Jul 2011 19:49:04 -0000 Received: from [66.94.237.96] by tm2.access.bullet.mail.mud.yahoo.com with NNFMP; 17 Jul 2011 19:49:04 -0000 Received: from [127.0.0.1] by omp1001.access.mail.mud.yahoo.com with NNFMP; 17 Jul 2011 19:49:04 -0000 X-Yahoo-Newman-Id: 377116.15703.bm@omp1001.access.mail.mud.yahoo.com Received: (qmail 40665 invoked from network); 17 Jul 2011 19:49:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1310932144; bh=sx5TkTMr+ri5ZT42xdJZywfmKf68nbdVCXa8PR+bOuo=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:From:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID:Date:To:Cc:Subject:In-Reply-To:References:X-Mailer; b=s4EvFX7u3vbthK2tjYeyR/OdOViQMTv4+8lewV/smJQEDPAm27ZzuEy+UN83QP4et2UyScKGW2F6ejiAtQzsQlILxG99WCQyG2HyTVx49ZuNgB7b/fZcxIw0Qbu+UZWfaHBj8z/dtuonpui+Ebk7BEUxzPLbCmgZPJqarmHzJi4= Received: from osprey.kermodei.com (markd@67.123.80.214 with login) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 17 Jul 2011 12:49:03 -0700 PDT X-Yahoo-SMTP: knGM_HSswBD5QyvFslEk1_6tqt5exkIU26bBrTLyCA-- X-YMail-OSG: XDdbPlgVM1kl6oWsKUbCk8SgKQJG_JIAJVcr16F8Ov7bAGT UmIvxNKxJIm992xfXHiX7jYfSxAb7OHl8O0fZlbAHNyYYQm.5lT0H5vwrogj vqiWh9uvw7AsFWSRJXZUhgs_ZejZpglGaYSLy8ElwiEsDfwi9BpCpuWn8i56 4ezyJ2ejmcMLFrP3OoOw7HFC1vtRBsQLCfp9iPKiaUJWZm.jT5sIsyI5ldIJ kpXa8tdk4CTUTjXron6kvfKnYhwdFJJSukJWqezaoPpGvKmpHSOqYBER7zFv HmW77I9o5u50Zc8yTYzu4YwDnsjVGYTsGv_Z5SUMuQj0AHBZaJX6DwulUtd9 sinKBEey4KnnqaD3LxByfxQ0L0kCOKGR5FRa1hOBUGw-- X-Yahoo-Newman-Property: ymail-3 Received: by osprey.kermodei.com (Postfix, from userid 1000) id 7EAE06782E; Sun, 17 Jul 2011 12:49:02 -0700 (PDT) From: Mark Diekhans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20003.15534.385769.37029@osprey.kermodei.com> Date: Sun, 17 Jul 2011 12:49:02 -0700 To: Subbsd In-Reply-To: References: <20003.13003.836570.461991@osprey.kermodei.com> X-Mailer: VM 8.1.93a under 23.3.1 (amd64-portbld-freebsd8.1) Cc: freebsd-emulation@freebsd.org Subject: Re: Unable to install Ubuntu in VirtualBox OSE X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2011 20:02:43 -0000 Thanks!! Switching to IDE fixed this problem. Is there an outstanding PR or should I file one? Mark Subbsd writes: > Try use IDE Controller in VM istead of SATA From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 17 20:53:14 2011 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E3051065670; Sun, 17 Jul 2011 20:53:14 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 18C4F8FC14; Sun, 17 Jul 2011 20:53:14 +0000 (UTC) Received: from outgoing.leidinger.net (p4FC42EE7.dip.t-dialin.net [79.196.46.231]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id DB7DD84401C; Sun, 17 Jul 2011 22:35:03 +0200 (CEST) Received: from unknown (IO.Leidinger.net [192.168.1.12]) by outgoing.leidinger.net (Postfix) with ESMTP id 2498C26A7; Sun, 17 Jul 2011 22:35:01 +0200 (CEST) Date: Sun, 17 Jul 2011 22:35:01 +0200 From: Alexander Leidinger To: Mark Linimon Message-ID: <20110717223501.000005c4@unknown> In-Reply-To: <20110717024710.GA19599@lonesome.com> References: <20110717024710.GA19599@lonesome.com> X-Mailer: Claws Mail 3.7.8cvs47 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: DB7DD84401C.A3151 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1, required 6, autolearn=disabled, ALL_TRUSTED -1.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1311539704.05257@as9BmUtle9pBH+H2PEdwfg X-EBL-Spam-Status: No Cc: emulation@FreeBSD.org, gabor@FreeBSD.org, linimon@FreeBSD.org Subject: Re: RFC: small patch to linux_base files for package building X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2011 20:53:14 -0000 On Sat, 16 Jul 2011 21:47:10 -0500 Mark Linimon wrote: > pointyhat makes its INDEX file elsewhere from the client environment. > Thus, the test for ${SYSCTL} -n compat.linux.osrelease might or might > not match the clients. > > I want to put in the following patch in each of the Makefiles to be > able to force the INDEX (same patch for each one). Any objections? Whatever helps you. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 18 05:30:28 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBA371065672 for ; Mon, 18 Jul 2011 05:30:28 +0000 (UTC) (envelope-from Peter.Ross@bogen.in-berlin.de) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.freebsd.org (Postfix) with ESMTP id 796858FC08 for ; Mon, 18 Jul 2011 05:30:28 +0000 (UTC) X-Envelope-From: Peter.Ross@bogen.in-berlin.de Received: from localhost (okapi.in-berlin.de [192.109.42.117]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id p6I5UQFu023561; Mon, 18 Jul 2011 07:30:26 +0200 Received: from 124-254-118-24-static.bb.ispone.net.au (124-254-118-24-static.bb.ispone.net.au [124.254.118.24]) by webmail.in-berlin.de (Horde Framework) with HTTP; Mon, 18 Jul 2011 15:30:26 +1000 Message-ID: <20110718153026.10384ps0jqajxrle@webmail.in-berlin.de> Date: Mon, 18 Jul 2011 15:30:26 +1000 From: "Peter Ross" To: "Adam Vande More" References: <20110714095717.35581xj4rdju1pel@webmail.in-berlin.de> <20110714115504.20182xr8y5z7o3ug@webmail.in-berlin.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.3.3 X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Cc: freebsd-emulation@freebsd.org Subject: Re: Network problems while running VirtualBox X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 05:30:29 -0000 Quoting "Adam Vande More" : > On Wed, Jul 13, 2011 at 10:02 PM, Adam Vande More > wrote: > >> I suspect this has less to do with actual memory and more to do with some >> other buffer-like bottleneck. Does tuning any of the network buffers make >> any difference? A couple to try: >> >> net.inet.ip.intr_queue_maxlen >> net.link.ifqmaxlen >> kern.ipc.nmbclusters >> >> If possible, does changing from VM bridged -> NAT or vice-versa result in >> any behavior change? >> > > Also check vmstat -z, net.graph.maxdata may be a candidate as well. I tried FTP (to have something completely different) and it fails as well: (ftp: netout: Cannot allocate memory) I watched vmstat -z, and every time it fails, I have another failure reported for "NetGraph data items". Regards Peter From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 18 07:34:05 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C7D0106564A for ; Mon, 18 Jul 2011 07:34:05 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by mx1.freebsd.org (Postfix) with ESMTP id E9FE58FC08 for ; Mon, 18 Jul 2011 07:34:04 +0000 (UTC) Received: by fxe6 with SMTP id 6so4554436fxe.17 for ; Mon, 18 Jul 2011 00:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8d8POVUS4PLYJ4fscoOkPMLR2M5o34GN7y96Ks9Anec=; b=waPUCXXpz6kmx7RzyLCog7+KbDsgmb+XSBaP6RQuZu2jxVoyhtOevnH1yOwvnmv5hg UCbCiAzpl5n/O0l329STy1jrZ8hrjX6QdzqDUKWkJ8xBRDnPoQmsyDGvlC0Q6tlc1K4k 8hQEQFGdaU0m/GRgaPINslujC9axrvXhMSQIE= MIME-Version: 1.0 Received: by 10.223.18.25 with SMTP id u25mr3111035faa.69.1310974443569; Mon, 18 Jul 2011 00:34:03 -0700 (PDT) Received: by 10.223.124.67 with HTTP; Mon, 18 Jul 2011 00:34:03 -0700 (PDT) In-Reply-To: <20110718153026.10384ps0jqajxrle@webmail.in-berlin.de> References: <20110714095717.35581xj4rdju1pel@webmail.in-berlin.de> <20110714115504.20182xr8y5z7o3ug@webmail.in-berlin.de> <20110718153026.10384ps0jqajxrle@webmail.in-berlin.de> Date: Mon, 18 Jul 2011 02:34:03 -0500 Message-ID: From: Adam Vande More To: Peter Ross Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-emulation@freebsd.org Subject: Re: Network problems while running VirtualBox X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 07:34:05 -0000 On Mon, Jul 18, 2011 at 12:30 AM, Peter Ross wrote: > I tried FTP (to have something completely different) and it fails as well: > (ftp: netout: Cannot allocate memory) > > I watched vmstat -z, and every time it fails, I have another failure > reported for "NetGraph data items". > > Regards > Peter > > > First, are your kernel and world in sync? If not you'll want to make sure they are. Does raising the value of net.graph.maxdata help? Set it in /boot/loader.conf. Raising the the values of kern.ipc.maxsockbuf, net.graph.maxdgram, net.graph.recvspace may also help -- Adam Vande More From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 18 09:47:56 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49127106564A for ; Mon, 18 Jul 2011 09:47:56 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from dash.upc.es (dash.upc.es [147.83.2.50]) by mx1.freebsd.org (Postfix) with ESMTP id C247F8FC12 for ; Mon, 18 Jul 2011 09:47:55 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by dash.upc.es (8.14.1/8.13.1) with ESMTP id p6I8UeUd000867 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 18 Jul 2011 10:30:40 +0200 Received: from portgus.lan ([147.83.40.234]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id p6I8UaMv002197 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 18 Jul 2011 10:30:40 +0200 Message-ID: <4E240B40.6030106@entel.upc.edu> Date: Mon, 18 Jul 2011 10:30:24 +0000 From: =?ISO-8859-1?Q?Gustau_P=E9rez?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ca-ES; rv:1.9.2.18) Gecko/20110713 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org References: <20110714095717.35581xj4rdju1pel@webmail.in-berlin.de> In-Reply-To: <20110714095717.35581xj4rdju1pel@webmail.in-berlin.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (dash.upc.es [147.83.2.50]); Mon, 18 Jul 2011 10:30:41 +0200 (CEST) Cc: Subject: Re: Network problems while running VirtualBox X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 09:47:56 -0000 Al 13/07/2011 23:57, En/na Peter Ross ha escrit: > Hi all, > > I have a problem with the network while running VirtualBox. > > As soon as I _run_ a VirtualBox I am not able to copy large files > (e.g. virtual disks or ZFS snapshots) using ssh/scp to another machine. > > The ssh crashes with "Write failed: Cannot allocate memory" > > thrown by a write(2) in /usr/src/crypto/openssh/roaming_common.c (in > function roaming_write). It returns the ENOMEM (an error it should > never return, according to the mainpage;-) > > It is immediately working when I stop the VirtualBox, even if the > VirtualBox kernel modules are still loaded. > > I also "replaced" the VirtualBox load with lookbusy occuping the 2GB > of memory the VirtualBox usually uses (to emulate the memory > footprint) but it still works. > > I experienced the problem with VirtualBox 3.2 first but the upgrade to > VirtualBox 4.0.8 and the base system recently did not help. Hi, I have AMD64/STABLE+virtualbox[4.0.10|4.1Beta] on a Dell R710 with two scenarios: 1.- Sending large files from the host to the guest with scp. 1,. rsync+ssh in the host machine (with virtualbox) sending large files to a remote machine. in fact both scenarios are the same, the host machine sending large chunks of data. Both fail as it fails to everyone in the list. Ok. So far so good. To track down the problem I tested may changes of configuration with STABLE (if you want the details please let me know and I'll send them to the list). None did the trick. I even tried communications between the host and the guest with vboxnet. scp failed with the "no memory allocation" problem. Now I tried AMD64/CURRENT+virtualbox 4.0.10 on a laptop. I tested an scenario like the one described in number 1. It worked just fine. In fact I tried something like this in the host machine just to be sure: # for i in {1..10} do cat "large_file.data" | ssh -l root 192.168.56.101 "cat -> /dev/null" done Where 192.168.56.101 is the guest machine (I'm using vboxnet). This large file is 8 Gb file. So it gave me an 80Gb transfer. It worked fine. This scenario would have failed with STABLE. So I guess it has something to do with the combo STABLE+Virtualbox. There must a change in CURRENT that doesn't trigger the problem. I think it would be appropriate if anyone else could also try with CURRENT. As an addition I remember all of this worked with 8.1 and an early version of virtualbox 3.2 series . But I can't say which revision of 8.1 I had when I was using that kind of scenarios. From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 18 11:07:01 2011 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55997106566B for ; Mon, 18 Jul 2011 11:07:01 +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 29A7A8FC08 for ; Mon, 18 Jul 2011 11:07:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6IB71qa026751 for ; Mon, 18 Jul 2011 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6IB70Jk026749 for freebsd-emulation@FreeBSD.org; Mon, 18 Jul 2011 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Jul 2011 11:07:00 GMT Message-Id: <201107181107.p6IB70Jk026749@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 11:07:01 -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 -------------------------------------------------------------------------------- f kern/156691 emulation [vmware] [panic] panic when using hard disks as RAW de o kern/156353 emulation [ibcs2] ibcs2 binaries that execute on 4.x not working o kern/155577 emulation [boot] BTX halted after install. Reboot during install o kern/155040 emulation [linux] [patch] Linux recvfrom doesn't handle proto fa o kern/153990 emulation [hyper-v]: Will not install into Hyper-V on Server 200 o kern/153887 emulation [linux] Linux emulator not understand STB_GNU_UNIQUE b o kern/153243 emulation [ibcs2] Seg fault whne running COFF binary using iBCS2 o ports/151714 emulation [linux] print/acroread9 not usable due to lack of supp a bin/150262 emulation [patch] truss(1) -f doesn't follow descendants of the a kern/150186 emulation [parallels] [panic] Parallels Desktop: CDROM disconnec o ports/148097 emulation [patch] suggested addition to linux_base-* packages to o ports/148096 emulation emulators/linux_base-* can not be built from ports on o kern/147793 emulation [vmware] [panic] cdrom handling, panic, possible race o kern/146237 emulation [linux] Linux binaries not reading directories mounted p kern/144584 emulation [linprocfs][patch] bogus values in linprocfs o ports/142837 emulation [patch] emulators/linux_base-* packages fails to insta o kern/140156 emulation [linux] cdparanoia fails to read drive data f kern/138944 emulation [parallels] [regression] Parallels no longer works in o kern/138880 emulation [linux] munmap segfaults after linux_mmap2 stresstest o ports/135337 emulation [PATCH] emulators/linux_base-f10: incorrect bash usage s kern/133144 emulation [linux] linuxulator 2.6 crashes with nvidias libGL.so. o kern/129169 emulation [linux] [patch] Linux Emulation ENOTCONN error using n o kern/126232 emulation [linux] Linux ioctl TCGETS (0x5401) always fails o kern/86619 emulation [linux] linux emulator interacts oddly with cp a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/41543 emulation [patch] [request] easier wine/w23 support o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/36952 emulation [patch] [linux] ldd(1) command of linux does not work o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 30 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 18 11:28:08 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D9111065670 for ; Mon, 18 Jul 2011 11:28:08 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id F002F8FC08 for ; Mon, 18 Jul 2011 11:28:07 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id D117614E5ADD; Mon, 18 Jul 2011 13:11:50 +0200 (CEST) X-Virus-Scanned: amavisd-new at server.mypc.hu Received: from server.mypc.hu ([127.0.0.1]) by server.mypc.hu (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9VaaO5E2LVOz; Mon, 18 Jul 2011 13:11:45 +0200 (CEST) Received: from [193.137.158.178] (unknown [193.137.158.178]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id E8BFA14E5AF0; Mon, 18 Jul 2011 13:11:44 +0200 (CEST) Message-ID: <4E241503.20401@FreeBSD.org> Date: Mon, 18 Jul 2011 12:12:03 +0100 From: Gabor Kovesdan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Mark Linimon References: <20110717024710.GA19599@lonesome.com> In-Reply-To: <20110717024710.GA19599@lonesome.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: emulation@FreeBSD.org Subject: Re: RFC: small patch to linux_base files for package building X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 11:28:08 -0000 Em 17-07-2011 03:47, Mark Linimon escreveu: > pointyhat makes its INDEX file elsewhere from the client environment. > Thus, the test for ${SYSCTL} -n compat.linux.osrelease might or might > not match the clients. > > I want to put in the following patch in each of the Makefiles to be > able to force the INDEX (same patch for each one). Any objections? > No strong objection from me, however, I would definitely be happier to see this code as part of bsd.port.mk as I proposed in ports/135221: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/135221 It would result in cleaner Makefiles and less duplicated code to put the logic into bsd.port.mk and conditionally disable the check there. Gabor Kovesdan From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 18 21:28:54 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 143371065672; Mon, 18 Jul 2011 21:28:54 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (pancho.soaustin.net [76.74.250.40]) by mx1.freebsd.org (Postfix) with ESMTP id EC5C28FC14; Mon, 18 Jul 2011 21:28:53 +0000 (UTC) Received: by mail.soaustin.net (Postfix, from userid 502) id 7CA8F561B2; Mon, 18 Jul 2011 16:28:53 -0500 (CDT) Date: Mon, 18 Jul 2011 16:28:53 -0500 From: Mark Linimon To: Gabor Kovesdan Message-ID: <20110718212853.GB31033@lonesome.com> References: <20110717024710.GA19599@lonesome.com> <4E241503.20401@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E241503.20401@FreeBSD.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: emulation@FreeBSD.org Subject: Re: RFC: small patch to linux_base files for package building X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 21:28:54 -0000 On Mon, Jul 18, 2011 at 12:12:03PM +0100, Gabor Kovesdan wrote: > No strong objection from me, however, I would definitely be happier > to see this code as part of bsd.port.mk as I proposed in > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/135221 I agree that this should be tested ... but there is a lot of code there that I didn't have time to puzzle through for my current -exp run. If the stanzas in the ports go away, then my hack goes away as well :-) Consider it temporary in the meantime. fwiw, right now it only affects pointyhat-west, which is currently only being used for -exp runs. However, sometime soon I want to start using it for regular builds. There are still a few bugs to work out. mcl From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 18 22:01:29 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 6C9631065679; Mon, 18 Jul 2011 22:01:29 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-4.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 4146715F0D1; Mon, 18 Jul 2011 22:00:58 +0000 (UTC) Message-ID: <4E24AD19.20403@FreeBSD.org> Date: Mon, 18 Jul 2011 15:00:57 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110706 Thunderbird/5.0 MIME-Version: 1.0 To: Mark Linimon References: <20110717024710.GA19599@lonesome.com> <4E241503.20401@FreeBSD.org> <20110718212853.GB31033@lonesome.com> In-Reply-To: <20110718212853.GB31033@lonesome.com> X-Enigmail-Version: 1.2pre OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: emulation@FreeBSD.org, Gabor Kovesdan Subject: Re: RFC: small patch to linux_base files for package building X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 22:01:29 -0000 On 07/18/2011 14:28, Mark Linimon wrote: > On Mon, Jul 18, 2011 at 12:12:03PM +0100, Gabor Kovesdan wrote: >> No strong objection from me, however, I would definitely be happier >> to see this code as part of bsd.port.mk as I proposed in >> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/135221 Doing it properly in bpm does indeed seem preferable. > I agree that this should be tested ... but there is a lot of code there > that I didn't have time to puzzle through for my current -exp run. > > If the stanzas in the ports go away, then my hack goes away as well :-) > Consider it temporary in the meantime. Unfortunately our "temporary" hacks seem to have a habit of becoming less so over time. Doing it properly in the first place helps nip that in the bud. Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-emulation@FreeBSD.ORG Tue Jul 19 06:34:12 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 357AD106564A for ; Tue, 19 Jul 2011 06:34:12 +0000 (UTC) (envelope-from Peter.Ross@bogen.in-berlin.de) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.freebsd.org (Postfix) with ESMTP id AAA3F8FC1A for ; Tue, 19 Jul 2011 06:34:11 +0000 (UTC) X-Envelope-From: Peter.Ross@bogen.in-berlin.de Received: from localhost (okapi.in-berlin.de [192.109.42.117]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id p6J6Y9Zr024382; Tue, 19 Jul 2011 08:34:09 +0200 Received: from 124-254-118-24-static.bb.ispone.net.au (124-254-118-24-static.bb.ispone.net.au [124.254.118.24]) by webmail.in-berlin.de (Horde Framework) with HTTP; Tue, 19 Jul 2011 16:34:09 +1000 Message-ID: <20110719163409.20783u5ulqkszlup@webmail.in-berlin.de> Date: Tue, 19 Jul 2011 16:34:09 +1000 From: "Peter Ross" To: "Adam Vande More" References: <20110714095717.35581xj4rdju1pel@webmail.in-berlin.de> <20110714115504.20182xr8y5z7o3ug@webmail.in-berlin.de> <20110718153026.10384ps0jqajxrle@webmail.in-berlin.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) 4.3.3 X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Cc: freebsd-emulation@freebsd.org Subject: Re: Network problems while running VirtualBox X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2011 06:34:12 -0000 Quoting "Adam Vande More" : > On Mon, Jul 18, 2011 at 12:30 AM, Peter Ross > wrote: > >> I tried FTP (to have something completely different) and it fails as wel= l: >> (ftp: netout: Cannot allocate memory) >> >> I watched vmstat -z, and every time it fails, I have another failure >> reported for "NetGraph data items". > Does raising the value of net.graph.maxdata help? Set it in > /boot/loader.conf. Indees it does. I raised it to 65536 and now I can copy large files =20 and do not see "NetGraph data items" failures in vmstat -z anymore. I wonder whether it could be a recommendation of the VirtualBox ports? =20 I am not the first one to be bitten by it so it would make sense to =20 send a warning. E.g. Marlon discarded the whole FreeBSD/VirtualBox setup and went =20 Citrix instead. It does not have to be like that;-) In one way it makes sense that the _start_ of the VirtualBox makes the =20 difference. It is a busy company mailserver with SMTP and HTTP access =20 and a lot of traffic going through - it all has to go through the =20 netgraph items. Of course, I have in my setup another way of working around the =20 problem: at the moment VirtualBox is using the same interface than the =20 host. I have a still unused interface I should use instead to separate =20 the traffic. Regards Peter From owner-freebsd-emulation@FreeBSD.ORG Tue Jul 19 06:41:04 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E1F31065670 for ; Tue, 19 Jul 2011 06:41:04 +0000 (UTC) (envelope-from Peter.Ross@bogen.in-berlin.de) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.freebsd.org (Postfix) with ESMTP id 891498FC12 for ; Tue, 19 Jul 2011 06:41:03 +0000 (UTC) X-Envelope-From: Peter.Ross@bogen.in-berlin.de Received: from localhost (okapi.in-berlin.de [192.109.42.117]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id p6J6exp9024722; Tue, 19 Jul 2011 08:40:59 +0200 Received: from 124-254-118-24-static.bb.ispone.net.au (124-254-118-24-static.bb.ispone.net.au [124.254.118.24]) by webmail.in-berlin.de (Horde Framework) with HTTP; Tue, 19 Jul 2011 16:40:59 +1000 Message-ID: <20110719164059.13124pmfuonx6tbv@webmail.in-berlin.de> Date: Tue, 19 Jul 2011 16:40:59 +1000 From: "Peter Ross" To: "Gustau =?iso-8859-1?b?UOlyZXo=?=" References: <20110714095717.35581xj4rdju1pel@webmail.in-berlin.de> <4E240B40.6030106@entel.upc.edu> In-Reply-To: <4E240B40.6030106@entel.upc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 4.3.3 X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Cc: freebsd-emulation@freebsd.org Subject: Re: Network problems while running VirtualBox X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2011 06:41:04 -0000 Quoting "Gustau Pérez" : > Al 13/07/2011 23:57, En/na Peter Ross ha escrit: >> I have a problem with the network while running VirtualBox. >> >> As soon as I _run_ a VirtualBox I am not able to copy large files >> (e.g. virtual disks or ZFS snapshots) using ssh/scp to another >> machine. >> >> The ssh crashes with "Write failed: Cannot allocate memory" >> >> thrown by a write(2) in /usr/src/crypto/openssh/roaming_common.c >> (in function roaming_write). It returns the ENOMEM (an error it >> should never return, according to the mainpage;-) >> >> It is immediately working when I stop the VirtualBox, even if the >> VirtualBox kernel modules are still loaded. >> .. >> I experienced the problem with VirtualBox 3.2 first but the upgrade >> to VirtualBox 4.0.8 and the base system recently did not help. > > I have AMD64/STABLE+virtualbox[4.0.10|4.1Beta] on a Dell R710 > with two scenarios: > > 1.- Sending large files from the host to the guest with scp. > 1,. rsync+ssh in the host machine (with virtualbox) sending > large files to a remote machine. > > in fact both scenarios are the same, the host machine sending > large chunks of data. Both fail as it fails to everyone in the list. > > Ok. So far so good. To track down the problem I tested may > changes of configuration with STABLE (if you want the details please > let me know and I'll send them to the list). None did the trick. I > even tried communications between the host and the guest with > vboxnet. scp failed with the "no memory allocation" problem. > > Now I tried AMD64/CURRENT+virtualbox 4.0.10 on a laptop. I tested > an scenario like the one described in number 1. It worked just fine. > In fact I tried something like this in the host machine just to be > sure: > > # for i in {1..10} > do > cat "large_file.data" | ssh -l root > 192.168.56.101 "cat -> /dev/null" > done > > Where 192.168.56.101 is the guest machine (I'm using vboxnet). > This large file is 8 Gb file. So it gave me an 80Gb transfer. It > worked fine. This scenario would have failed with STABLE. > > So I guess it has something to do with the combo > STABLE+Virtualbox. There must a change in CURRENT that doesn't > trigger the problem. I think it would be appropriate if anyone else > could also try with CURRENT. > > As an addition I remember all of this worked with 8.1 and an > early version of virtualbox 3.2 series . But I can't say which > revision of 8.1 I had when I was using that kind of scenarios. I experienced the problem first on VirtualBox 3.2 and FreeBSD-8.2-PRERELEASE. Marlon already in September 2010. The laptop isn't the ultimate test as long as you haven't the same data going through the netgraph subsystem. Can you try to set net.graph.maxdata as well (see my other e-mail). Does it solve your problem too? Thanks for your help Peter From owner-freebsd-emulation@FreeBSD.ORG Tue Jul 19 09:35:02 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 444FE106564A for ; Tue, 19 Jul 2011 09:35:02 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ey0-f176.google.com (mail-ey0-f176.google.com [209.85.215.176]) by mx1.freebsd.org (Postfix) with ESMTP id BD7498FC17 for ; Tue, 19 Jul 2011 09:35:01 +0000 (UTC) Received: by eya28 with SMTP id 28so3214174eya.21 for ; Tue, 19 Jul 2011 02:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Ve3DbbaurKYHNvStKepLXSG3UPWnK6huWMKhAa53V04=; b=Thjr3fY1WisOPaRyHwEP8Nof0vn5k17lpZoRPBBu2LdgLDJ4GoOOH/zPK/xC6Qkm4H /kDNq3p+lGyT6qnHuU97lYP9X7J5YdruFK6DRDyPmx80K3+cv5HiTeC97Nqewdqh7Oru LalHdiUJR8V/Ws1rrReE5dcWAGp1OjoCQeibE= Received: by 10.213.96.144 with SMTP id h16mr2615048ebn.16.1311068100435; Tue, 19 Jul 2011 02:35:00 -0700 (PDT) Received: from vux.3501.lan ([46.247.249.127]) by mx.google.com with ESMTPS id e9sm2604235eeb.20.2011.07.19.02.34.57 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Jul 2011 02:34:59 -0700 (PDT) Message-ID: <4E254FB4.9020307@gmail.com> Date: Tue, 19 Jul 2011 12:34:44 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110705 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: another virtualbox crash X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2011 09:35:02 -0000 Hi all. I was little unprepaired... This one crashed just after another machine was taken off the same way. > VBoxManage controlvm xp_1 savestate Type Manifest File: /home/arcade/.VirtualBox/xpti.dat nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) !!Assertion Failed!! Expression: aI Location : /tmp/ports/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.10_OSE/src/VBox/Main/glue/ErrorInfo.cpp(193) void com::ErrorInfo::init(nsISupports*, const nsID&, bool) Trace/BPT trap(запиÑано core) The machine logs ends up with: 141:26:50.250 NAT: DHCP offered IP address 10.0.2.15 141:27:53.190 NAT: DHCP offered IP address 10.0.2.15 141:29:11.296 NAT: DHCP offered IP address 10.0.2.15 144:45:38.511 Guest Additions capability report: (0x5) seamless: yes, hostWindowMapping: no, graphics: yes 144:45:38.566 Guest Additions capability report: (0x5) seamless: yes, hostWindowMapping: no, graphics: yes 144:54:46.990 NAT: DHCP offered IP address 10.0.2.15 146:21:28.685 Changing the VM state from 'RUNNING' to 'SUSPENDING'. 146:21:29.041 Changing the VM state from 'SUSPENDING' to 'SUSPENDED'. 146:21:29.059 146:21:29.059 !!Assertion Failed!! 146:21:29.059 Expression: pVM->tm.s.cVirtualTicking 146:21:29.059 Location : /tmp/ports/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.10_OSE/src/VBox/VMM/VMMAl/TMAllVirtual.cpp(609) uint64_t tmVirtualSyncGetEx(VM*, bool, uint64_t*) I can give full logs, but testing or dumping core will be no more - the machine is already updated to 4.0.12. -- Sphinx of black quartz judge my vow. From owner-freebsd-emulation@FreeBSD.ORG Tue Jul 19 10:05:12 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6624A1065675 for ; Tue, 19 Jul 2011 10:05:12 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id ED2CE8FC1A for ; Tue, 19 Jul 2011 10:05:11 +0000 (UTC) Received: by ewy1 with SMTP id 1so2591549ewy.13 for ; Tue, 19 Jul 2011 03:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=xk5Hf6O8BWnSzEwou5FCYSD24baBmr10U5fK6fF1vnQ=; b=AgCAUTWFpdWj0tiIRTu8/Vlgym037YvkjOHC1gBVgKkR0ihA5UGNpxT9ApLun90AG2 AvtpqFMPxuM6KPkU5sXuDebgpAzmVpQZpFUzMaIL3Bwyyv3tRdK0p4LFSb8WSo+ef3No z7Fkk38UBE57VATIZw15nnMbOhR5I9tYjkm58= Received: by 10.213.33.195 with SMTP id i3mr2620274ebd.142.1311069909834; Tue, 19 Jul 2011 03:05:09 -0700 (PDT) Received: from vux.3501.lan ([46.247.249.127]) by mx.google.com with ESMTPS id y9sm2633018eeh.0.2011.07.19.03.05.08 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Jul 2011 03:05:09 -0700 (PDT) Message-ID: <4E2556D2.5070806@gmail.com> Date: Tue, 19 Jul 2011 13:05:06 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110705 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: virtualbox one more crash X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2011 10:05:12 -0000 Hi all. I just like all that crashes... > VBoxHeadless -s 7_0 -n -m 18083 Oracle VM VirtualBox Headless Interface 4.0.12_OSE (C) 2008-2011 Oracle Corporation All rights reserved. Type Manifest File: /home/arcade/.VirtualBox/xpti.dat nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) 19/07/2011 12:54:37 Listening for VNC connections on TCP port 18083 Set framebuffer: buffer=803c04000 w=800 h=600 bpp=32 !!Assertion Failed!! Expression: Location : /tmp/ports/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/VMM/VMMR3/CFGM.cpp(133) int CFGMR3Init(VM*, int (*)(VM*, void*), void*) Constructor failed with rc=VERR_NOT_FOUND pfnCFGMConstructor=0000000802cfd6f0 Trace/BPT trap Machine log contains this: 00:00:00.158 VMSetError: /tmp/ports/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/src-client/ConsoleImpl2.cpp(2099) int Console::configConstructorInner(VM*, util::AutoWriteLock*); rc=VERR_NOT_FOUND 00:00:00.158 VMSetError: Implementation of the USB 2.0 controller not found! 00:00:00.158 Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be started. To fix this problem, either install the 'Oracle VM VirtualBox Extension Pack' or disable USB 2.0 support in the VM settings 00:00:00.160 00:00:00.160 !!Assertion Failed!! 00:00:00.160 Expression: 00:00:00.160 Location : /tmp/ports/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/VMM/VMMR3/CFGM.cpp(133) int CFGMR3Init(VM*, int (*)(VM*, void*), void*) 00:00:00.160 Constructor failed with rc=VERR_NOT_FOUND pfnCFGMConstructor=0000000802cfd6f0 If I disable --usbehci everything seem to work fine. -- Sphinx of black quartz judge my vow. From owner-freebsd-emulation@FreeBSD.ORG Wed Jul 20 14:20:00 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAE87106566C for ; Wed, 20 Jul 2011 14:20:00 +0000 (UTC) (envelope-from rich@enterprisesystems.net) Received: from oproxy8-pub.bluehost.com (oproxy8-pub.bluehost.com [69.89.22.20]) by mx1.freebsd.org (Postfix) with SMTP id 754268FC1F for ; Wed, 20 Jul 2011 14:20:00 +0000 (UTC) Received: (qmail 20483 invoked by uid 0); 20 Jul 2011 13:53:20 -0000 Received: from unknown (HELO box394.bluehost.com) (69.89.31.194) by oproxy8.bluehost.com with SMTP; 20 Jul 2011 13:53:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=enterprisesystems.net; h=Received:Message-ID:From:To:Subject:Date:MIME-Version:Content-Type:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-Identified-User; b=DpmxYNfSIxMTZlEjrkHr1DKrpL5PwjUpuWp4oaTVvdUY+ptT2o1ek3LBD3a0bpuqBcyO2YEwVWHfVWvmsvaMJDDrlTb1emSEQXoUuPjrIHy8ex6W39Qv98jAiId4Mp1W; Received: from mail.qlcom.com ([209.254.241.90] helo=COMPAQGR) by box394.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1QjXDD-0003mF-6R for freebsd-emulation@freebsd.org; Wed, 20 Jul 2011 07:53:20 -0600 Message-ID: <62358EEA788F4379AD461DBC5D721039@COMPAQGR> From: "Rich Naill" To: Date: Wed, 20 Jul 2011 09:53:21 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Identified-User: {1433:box394.bluehost.com:enterpt1:enterprisesystems.net} {sentby:smtp auth 209.254.241.90 authed with rich@enterprisesystems.net} Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: IBCS2 regression in FreeBSD 5?? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2011 14:20:00 -0000 Hello, We have been using FREEBSD 4.x now 4.11 for several years. Running old Altos binaries with ibcs2 emulation. Starting with BSD 5.x thur 8.x the binarys will not run anymore using = ibcs2. See problem report 156353 Also references to ibcs2 regression in FreeBSD 5 We would very much like to get this corrected $$$ Any help would be great Rich Naill Enterprise Systems Inc 616-243-9883 rich@enterprisesystems.net From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 21 08:30:03 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF95F106566B for ; Thu, 21 Jul 2011 08:30:03 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 465138FC12 for ; Thu, 21 Jul 2011 08:30:02 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p6L8HRvt029234 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Jul 2011 11:17:27 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p6L8HRpW031203; Thu, 21 Jul 2011 11:17:27 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p6L8HQmR031202; Thu, 21 Jul 2011 11:17:26 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 21 Jul 2011 11:17:26 +0300 From: Kostik Belousov To: Rich Naill Message-ID: <20110721081726.GR17489@deviant.kiev.zoral.com.ua> References: <62358EEA788F4379AD461DBC5D721039@COMPAQGR> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXjkYym6qfApNY5c" Content-Disposition: inline In-Reply-To: <62358EEA788F4379AD461DBC5D721039@COMPAQGR> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-emulation@freebsd.org Subject: Re: IBCS2 regression in FreeBSD 5?? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 08:30:03 -0000 --BXjkYym6qfApNY5c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 20, 2011 at 09:53:21AM -0400, Rich Naill wrote: > Hello, >=20 > We have been using FREEBSD 4.x now 4.11 for several years. >=20 > Running old Altos binaries with ibcs2 emulation. >=20 > Starting with BSD 5.x thur 8.x the binarys will not run anymore using ibc= s2. >=20 > See problem report 156353 >=20 > Also references to ibcs2 regression in FreeBSD 5 >=20 > We would very much like to get this corrected $$$ >=20 > Any help would be great FreeBSD 5.x is too old to be interested. Can you test on HEAD or at least stable/8 ? Can you provide a self-contained test binary and clear description what does not work ? --BXjkYym6qfApNY5c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk4n4JYACgkQC3+MBN1Mb4j7gQCfVcFE0TTOHMXtODJanAWKFSC9 h6UAn0A0tEOICnGQoq710x1vqyR2aXOo =SIcu -----END PGP SIGNATURE----- --BXjkYym6qfApNY5c-- From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 21 14:13:46 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3142106566B for ; Thu, 21 Jul 2011 14:13:46 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from violet.upc.es (violet.upc.es [147.83.2.51]) by mx1.freebsd.org (Postfix) with ESMTP id 297548FC18 for ; Thu, 21 Jul 2011 14:13:45 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by violet.upc.es (8.14.1/8.13.1) with ESMTP id p6LEDanR025106 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 21 Jul 2011 16:13:36 +0200 Received: from portgus.lan (129.Red-88-13-8.dynamicIP.rima-tde.net [88.13.8.129]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id p6LEDW4V002443 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 21 Jul 2011 16:13:35 +0200 Message-ID: <4E28343A.8010903@entel.upc.edu> Date: Thu, 21 Jul 2011 16:14:18 +0200 From: =?ISO-8859-1?Q?Gustau_P=E9rez?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ca-ES; rv:1.9.2.18) Gecko/20110713 Thunderbird/3.1.11 MIME-Version: 1.0 To: Peter Ross References: <20110714095717.35581xj4rdju1pel@webmail.in-berlin.de> <4E240B40.6030106@entel.upc.edu> <20110719164059.13124pmfuonx6tbv@webmail.in-berlin.de> In-Reply-To: <20110719164059.13124pmfuonx6tbv@webmail.in-berlin.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (violet.upc.es [147.83.2.51]); Thu, 21 Jul 2011 16:13:36 +0200 (CEST) Cc: freebsd-emulation@freebsd.org Subject: Re: Network problems while running VirtualBox X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 14:13:46 -0000 Al 19/07/2011 08:40, En/na Peter Ross ha escrit: > Quoting "Gustau Pérez" : > >> Al 13/07/2011 23:57, En/na Peter Ross ha escrit: >>> I have a problem with the network while running VirtualBox. >>> >>> As soon as I _run_ a VirtualBox I am not able to copy large files >>> (e.g. virtual disks or ZFS snapshots) using ssh/scp to another machine. >>> >>> The ssh crashes with "Write failed: Cannot allocate memory" >>> >>> thrown by a write(2) in /usr/src/crypto/openssh/roaming_common.c (in >>> function roaming_write). It returns the ENOMEM (an error it should >>> never return, according to the mainpage;-) >>> >>> It is immediately working when I stop the VirtualBox, even if the >>> VirtualBox kernel modules are still loaded. >>> .. >>> I experienced the problem with VirtualBox 3.2 first but the upgrade >>> to VirtualBox 4.0.8 and the base system recently did not help. >> >> I have AMD64/STABLE+virtualbox[4.0.10|4.1Beta] on a Dell R710 with >> two scenarios: >> >> 1.- Sending large files from the host to the guest with scp. >> 1,. rsync+ssh in the host machine (with virtualbox) sending >> large files to a remote machine. >> >> in fact both scenarios are the same, the host machine sending >> large chunks of data. Both fail as it fails to everyone in the list. >> >> Ok. So far so good. To track down the problem I tested may changes >> of configuration with STABLE (if you want the details please let me >> know and I'll send them to the list). None did the trick. I even >> tried communications between the host and the guest with vboxnet. scp >> failed with the "no memory allocation" problem. >> >> Now I tried AMD64/CURRENT+virtualbox 4.0.10 on a laptop. I tested >> an scenario like the one described in number 1. It worked just fine. >> In fact I tried something like this in the host machine just to be sure: >> >> # for i in {1..10} >> do >> cat "large_file.data" | ssh -l root >> 192.168.56.101 "cat -> /dev/null" >> done >> >> Where 192.168.56.101 is the guest machine (I'm using vboxnet). >> This large file is 8 Gb file. So it gave me an 80Gb transfer. It >> worked fine. This scenario would have failed with STABLE. >> >> So I guess it has something to do with the combo >> STABLE+Virtualbox. There must a change in CURRENT that doesn't >> trigger the problem. I think it would be appropriate if anyone else >> could also try with CURRENT. >> >> As an addition I remember all of this worked with 8.1 and an early >> version of virtualbox 3.2 series . But I can't say which revision of >> 8.1 I had when I was using that kind of scenarios. > > I experienced the problem first on VirtualBox 3.2 and > FreeBSD-8.2-PRERELEASE. Marlon already in September 2010. > > The laptop isn't the ultimate test as long as you haven't the same > data going through the netgraph subsystem. > > Can you try to set net.graph.maxdata as well (see my other e-mail). > Does it solve your problem too? > > Thanks for your help > Peter > > Hi, My test system is a FreeBSD8.2/AMD64 Stable r222508 in a DELL R710 with 24GB of RAM with a dual Intel PRO/1000 and 4 Broadcom Extreme II BCM5709. The broadcoms are lagged together giving bridged connectivity to the virtual machines to the real world. I'm also using a vboxnet network to bring a dedicated network between the virtual machines and the host system. I've been testing with net.graph.maxdata="65536". I've been able to do large transfers (like 25GB with rsync and scp) from the host to a remote system. Also I've been able to do transfers of about 10GB from the host system to one guest system and they went well. Without setting net.graph.maxdata I usually triggered the problem with transfers of about 1 or 2GB. As you can see, I saw no problems with the real network nor with the virtual network. I did not report earlier because I wanted to be sure enough. Now I would say that maxdata removed the problem for me. What I do not get is why it works with CURRENT having net.graph.maxdata="256". Anyway I think it would be nice to know why setting the maxdata solves the problem because it would allow the virtualbox team to add a note in pkg-message with the appropriate explanation or even proposing a PR to STABLE to fix the issue. Gustau From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 21 23:58:53 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D92F1106566B for ; Thu, 21 Jul 2011 23:58:53 +0000 (UTC) (envelope-from Peter.Ross@bogen.in-berlin.de) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.freebsd.org (Postfix) with ESMTP id 46C928FC14 for ; Thu, 21 Jul 2011 23:58:52 +0000 (UTC) X-Envelope-From: Peter.Ross@bogen.in-berlin.de Received: from localhost (okapi.in-berlin.de [192.109.42.117]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id p6LNwnGf023114; Fri, 22 Jul 2011 01:58:49 +0200 Received: from 124-254-118-24-static.bb.ispone.net.au (124-254-118-24-static.bb.ispone.net.au [124.254.118.24]) by webmail.in-berlin.de (Horde Framework) with HTTP; Fri, 22 Jul 2011 09:58:49 +1000 Message-ID: <20110722095849.79811epc2wbd4oc9@webmail.in-berlin.de> Date: Fri, 22 Jul 2011 09:58:49 +1000 From: "Peter Ross" To: "Gustau =?iso-8859-1?b?UOlyZXo=?=" References: <20110714095717.35581xj4rdju1pel@webmail.in-berlin.de> <4E240B40.6030106@entel.upc.edu> <20110719164059.13124pmfuonx6tbv@webmail.in-berlin.de> <4E28343A.8010903@entel.upc.edu> In-Reply-To: <4E28343A.8010903@entel.upc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 4.3.3 X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Cc: freebsd-emulation@freebsd.org Subject: Re: Network problems while running VirtualBox X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 23:58:53 -0000 Quoting "Gustau Pérez" : > Al 19/07/2011 08:40, En/na Peter Ross ha escrit: >> Quoting "Gustau Pérez" : >> >>> Al 13/07/2011 23:57, En/na Peter Ross ha escrit: >>>> I have a problem with the network while running VirtualBox. >>>> >>>> As soon as I _run_ a VirtualBox I am not able to copy large files >>>> (e.g. virtual disks or ZFS snapshots) using ssh/scp to another >>>> machine. >>>> >>>> The ssh crashes with "Write failed: Cannot allocate memory" >>>> >>>> thrown by a write(2) in /usr/src/crypto/openssh/roaming_common.c >>>> (in function roaming_write). It returns the ENOMEM (an error it >>>> should never return, according to the mainpage;-) >>>> >>>> It is immediately working when I stop the VirtualBox, even if the >>>> VirtualBox kernel modules are still loaded. >>>> .. >>>> I experienced the problem with VirtualBox 3.2 first but the >>>> upgrade to VirtualBox 4.0.8 and the base system recently did not >>>> help. >>> >>> I have AMD64/STABLE+virtualbox[4.0.10|4.1Beta] on a Dell R710 >>> with two scenarios: >>> >>> 1.- Sending large files from the host to the guest with scp. >>> 1,. rsync+ssh in the host machine (with virtualbox) sending >>> large files to a remote machine. >>> >>> in fact both scenarios are the same, the host machine sending >>> large chunks of data. Both fail as it fails to everyone in the list. >>> >>> Ok. So far so good. To track down the problem I tested may >>> changes of configuration with STABLE (if you want the details >>> please let me know and I'll send them to the list). None did the >>> trick. I even tried communications between the host and the guest >>> with vboxnet. scp failed with the "no memory allocation" problem. >>> >>> Now I tried AMD64/CURRENT+virtualbox 4.0.10 on a laptop. I >>> tested an scenario like the one described in number 1. It worked >>> just fine. In fact I tried something like this in the host machine >>> just to be sure: >>> >>> # for i in {1..10} >>> do >>> cat "large_file.data" | ssh -l root >>> 192.168.56.101 "cat -> /dev/null" >>> done >>> >>> Where 192.168.56.101 is the guest machine (I'm using vboxnet). >>> This large file is 8 Gb file. So it gave me an 80Gb transfer. It >>> worked fine. This scenario would have failed with STABLE. >>> >>> So I guess it has something to do with the combo >>> STABLE+Virtualbox. There must a change in CURRENT that doesn't >>> trigger the problem. I think it would be appropriate if anyone >>> else could also try with CURRENT. >>> >>> As an addition I remember all of this worked with 8.1 and an >>> early version of virtualbox 3.2 series . But I can't say which >>> revision of 8.1 I had when I was using that kind of scenarios. >> >> I experienced the problem first on VirtualBox 3.2 and >> FreeBSD-8.2-PRERELEASE. Marlon already in September 2010. >> >> The laptop isn't the ultimate test as long as you haven't the same >> data going through the netgraph subsystem. >> >> Can you try to set net.graph.maxdata as well (see my other e-mail). >> Does it solve your problem too? >> >> Thanks for your help >> Peter >> >> > > Hi, > > My test system is a FreeBSD8.2/AMD64 Stable r222508 in a DELL > R710 with 24GB of RAM with a dual Intel PRO/1000 and 4 Broadcom > Extreme II BCM5709. The broadcoms are lagged together giving bridged > connectivity to the virtual machines to the real world. I'm also > using a vboxnet network to bring a dedicated network between the > virtual machines and the host system. > > I've been testing with net.graph.maxdata="65536". I've been able > to do large transfers (like 25GB with rsync and scp) from the host > to a remote system. Also I've been able to do transfers of about > 10GB from the host system to one guest system and they went well. > Without setting net.graph.maxdata I usually triggered the problem > with transfers of about 1 or 2GB. As you can see, I saw no problems > with the real network nor with the virtual network. > > I did not report earlier because I wanted to be sure enough. Now I > would say that maxdata removed the problem for me. > > What I do not get is why it works with CURRENT having > net.graph.maxdata="256". This is tested on the laptop? Are you able to upgrade the Dell to -current to confirm? (Or did you do it already?) > Anyway I think it would be nice to know why setting the maxdata > solves the problem because it would allow the virtualbox team to > add a note in pkg-message with the appropriate explanation or even > proposing a PR to STABLE to fix the issue. Of course 65536 is a very high value. I just used it as a starting point to test but I planning to decrease it gradually next week. Are your VirtualBoxes busy "network-wise"? My one is. It is a Zimbra mail server running on Red Hat Enterprise Linux (the only inhouse Linux server I could not convert to native FreeBSD but I did not want it to give an extra server on its own..) It serves 50 accounts, and gets SMTP traffic (spam) arriving, Outlook connections using HTTP, a web interface, internal redirections to spamassassin and amavis etc. The buffers are limited by default to avoid general kernel memory shortage I guess. There is some advice related to network tuning (e.g. http://www.freebsdonline.com/content/view/49/63/ ) But I (and others, as it looks like) did not see the reason why it failed. You could call it a pilot error if I did not consider the network load as an issue. In the beginning I saw the scp as an isolated process and wondered why it failed (the host system isn't really busy). It is probably not really a VirtualBox issue at all. It is just VirtualBox is "the box" that hides all that's going on, it is always good to remember that the load is still there. I had issues in the past with VMWare as well. It was difficult for people to understand "why it's so slow" when grunty boxes were "subdivided" by developers in many many virtual servers. The combined load was very hard to grasp, it is difficult to have all relevant data available when an intermittent problem occurs. We had VMWare consultants called in by the management who walked away after a day with "the problem does not exist"... Regards Peter From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 22 03:22:53 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8559B106566B for ; Fri, 22 Jul 2011 03:22:53 +0000 (UTC) (envelope-from tedm@mittelstaedt.us) Received: from mail.freebsd-corp-net-guide.com (unknown [IPv6:2607:fa80:40::6]) by mx1.freebsd.org (Postfix) with ESMTP id 481F08FC1A for ; Fri, 22 Jul 2011 03:22:53 +0000 (UTC) Received: from [IPv6:2607:fa80:101:100:21d:6aff:fe2a:7a11] ([IPv6:2607:fa80:101:100:21d:6aff:fe2a:7a11]) (authenticated bits=0) by mail.freebsd-corp-net-guide.com (8.14.4/8.14.4) with ESMTP id p6M3MeNa059482 for ; Thu, 21 Jul 2011 20:22:49 -0700 (PDT) (envelope-from tedm@mittelstaedt.us) Message-ID: <4E28ECFD.6030803@mittelstaedt.us> Date: Thu, 21 Jul 2011 20:22:37 -0700 From: Ted Mittelstaedt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org References: <62358EEA788F4379AD461DBC5D721039@COMPAQGR> <20110721081726.GR17489@deviant.kiev.zoral.com.ua> In-Reply-To: <20110721081726.GR17489@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.3 required=4.5 tests=HELO_NO_DOMAIN,RDNS_NONE autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.freebsd-corp-net-guide.com Subject: Re: IBCS2 regression in FreeBSD 5?? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2011 03:22:53 -0000 On 7/21/2011 1:17 AM, Kostik Belousov wrote: > On Wed, Jul 20, 2011 at 09:53:21AM -0400, Rich Naill wrote: >> Hello, >> >> We have been using FREEBSD 4.x now 4.11 for several years. >> >> Running old Altos binaries with ibcs2 emulation. >> >> Starting with BSD 5.x thur 8.x the binarys will not run anymore using ibcs2. >> According to the following: http://www.freebsd.org/cgi/query-pr.cgi?pr=73978 ibcs2 was running under FreeBSD 5.3-release. I think you need to review all of the PR reports, the closed ones too. Ted >> See problem report 156353 >> >> Also references to ibcs2 regression in FreeBSD 5 >> >> We would very much like to get this corrected $$$ >> >> Any help would be great > > FreeBSD 5.x is too old to be interested. > > Can you test on HEAD or at least stable/8 ? > Can you provide a self-contained test binary and clear description > what does not work ? From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 22 16:52:05 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFD081065674 for ; Fri, 22 Jul 2011 16:52:05 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 5BF898FC16 for ; Fri, 22 Jul 2011 16:52:04 +0000 (UTC) Received: from park.js.berklix.net (p5DCBF004.dip.t-dialin.net [93.203.240.4]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id p6MGW7AG013885; Fri, 22 Jul 2011 16:32:08 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id p6MGW2tP050244; Fri, 22 Jul 2011 18:32:02 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id p6MGVqtT038587; Fri, 22 Jul 2011 16:31:57 GMT (envelope-from jhs@fire.js.berklix.net) Message-Id: <201107221631.p6MGVqtT038587@fire.js.berklix.net> To: "Rich Naill" From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Wed, 20 Jul 2011 09:53:21 EDT." <62358EEA788F4379AD461DBC5D721039@COMPAQGR> Date: Fri, 22 Jul 2011 18:31:52 +0200 Sender: jhs@berklix.com Cc: freebsd-emulation@freebsd.org Subject: Re: IBCS2 regression in FreeBSD 5?? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2011 16:52:05 -0000 Hi Rich Naill cc freebsd-emulation@freebsd.org , Reference: > From: "Rich Naill" > Date: Wed, 20 Jul 2011 09:53:21 -0400 > Message-id: <62358EEA788F4379AD461DBC5D721039@COMPAQGR> "Rich Naill" wrote: > Hello, > > We have been using FREEBSD 4.x now 4.11 for several years. > > Running old Altos binaries with ibcs2 emulation. > > Starting with BSD 5.x thur 8.x the binarys will not run anymore using ibcs2. > > See problem report 156353 > > Also references to ibcs2 regression in FreeBSD 5 > > We would very much like to get this corrected $$$ ............................................... ^^^ If '$$$' is an indication your company wants to pay a FreeBSD person at commercial rates to solve its's problem, here's a world wide geographic indexed list of FreeBSD consultants: http://berklix.com/consultants/ & please cc freebsd-emulation@freebsd.org as some on list would probably be interested. > Any help would be great > > Rich Naill > > Enterprise Systems Inc > 616-243-9883 > rich@enterprisesystems.net Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below, not above; Indent with "> "; Cumulative like a play script. Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 23 13:51:06 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D13FC106566C for ; Sat, 23 Jul 2011 13:51:06 +0000 (UTC) (envelope-from tedm@mittelstaedt.us) Received: from mail.freebsd-corp-net-guide.com (unknown [IPv6:2607:fa80:40::6]) by mx1.freebsd.org (Postfix) with ESMTP id 78AE08FC15 for ; Sat, 23 Jul 2011 13:51:06 +0000 (UTC) Received: from [IPv6:2607:fa80:101:100:21d:6aff:fe2a:7a11] ([IPv6:2607:fa80:101:100:21d:6aff:fe2a:7a11]) (authenticated bits=0) by mail.freebsd-corp-net-guide.com (8.14.4/8.14.4) with ESMTP id p6NDop5s074677 for ; Sat, 23 Jul 2011 06:51:01 -0700 (PDT) (envelope-from tedm@mittelstaedt.us) Message-ID: <4E2AD1BC.2040002@mittelstaedt.us> Date: Sat, 23 Jul 2011 06:50:52 -0700 From: Ted Mittelstaedt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org References: <201107221631.p6MGVqtT038587@fire.js.berklix.net> In-Reply-To: <201107221631.p6MGVqtT038587@fire.js.berklix.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.3 required=4.5 tests=HELO_NO_DOMAIN,RDNS_NONE autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.freebsd-corp-net-guide.com Subject: Re: IBCS2 regression in FreeBSD 5?? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2011 13:51:06 -0000 While I will be among the first to say that FreeBSD is often used in this capacity (serving as a base for a commercial product), it would be - in my opinion - a far better use of money to pay a developer to write a FreeBSD application that would run on FreeBSD 8 and duplicate whatever functionality that this antique SCO program is doing. FreeNSD 4.X runs great under VirtualBox and that is probably what the OP should be doing. I also happen to have a FreeBSD 8 system that has a VirtualBox session running FreeBSD 4 that an older program is running in. Ted On 7/22/2011 9:31 AM, Julian H. Stacey wrote: > Hi Rich Naill > cc freebsd-emulation@freebsd.org > , > Reference: >> From: "Rich Naill" >> Date: Wed, 20 Jul 2011 09:53:21 -0400 >> Message-id: <62358EEA788F4379AD461DBC5D721039@COMPAQGR> > > "Rich Naill" wrote: >> Hello, >> >> We have been using FREEBSD 4.x now 4.11 for several years. >> >> Running old Altos binaries with ibcs2 emulation. >> >> Starting with BSD 5.x thur 8.x the binarys will not run anymore using ibcs2. >> >> See problem report 156353 >> >> Also references to ibcs2 regression in FreeBSD 5 >> >> We would very much like to get this corrected $$$ > ............................................... ^^^ > > If '$$$' is an indication your company wants to pay a FreeBSD person > at commercial rates to solve its's problem, > here's a world wide geographic indexed list of FreeBSD consultants: > http://berklix.com/consultants/ > & please cc freebsd-emulation@freebsd.org as some on list would probably > be interested. > > >> Any help would be great >> >> Rich Naill >> >> Enterprise Systems Inc >> 616-243-9883 >> rich@enterprisesystems.net > > Cheers, > Julian