From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 6 02:23:19 2007 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 2042D16A418 for ; Mon, 6 Aug 2007 02:23:19 +0000 (UTC) (envelope-from SRS0=7ml9CC=ND=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailout12.yourhostingaccount.com (mailout12.yourhostingaccount.com [65.254.253.100]) by mx1.freebsd.org (Postfix) with ESMTP id E42E513C483 for ; Mon, 6 Aug 2007 02:23:18 +0000 (UTC) (envelope-from SRS0=7ml9CC=ND=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailscan15.yourhostingaccount.com ([10.1.15.15] helo=mailscan15.yourhostingaccount.com) by mailout12.yourhostingaccount.com with esmtp (Exim) id 1IHrlw-0000Zj-E0 for freebsd-emulation@freebsd.org; Sun, 05 Aug 2007 21:52:40 -0400 Received: from impout03.yourhostingaccount.com ([10.1.55.3] ident=exim) by mailscan15.yourhostingaccount.com with spamscanlookuphost (Exim) id 1IHrlv-0003Xw-EW for freebsd-emulation@freebsd.org; Sun, 05 Aug 2007 21:52:39 -0400 Received: from impout03.yourhostingaccount.com ([10.1.55.3] helo=impout03.yourhostingaccount.com) by mailscan15.yourhostingaccount.com with esmtp (Exim) id 1IHrlu-0001cu-Rz for freebsd-emulation@freebsd.org; Sun, 05 Aug 2007 21:52:38 -0400 Received: from authsmtp10.yourhostingaccount.com ([10.1.18.10]) by impout03.yourhostingaccount.com with NO UCE id YRse1X0030D2B7u0000000; Sun, 05 Aug 2007 21:52:38 -0400 X-EN-OrigOutIP: 10.1.18.10 X-EN-IMPSID: YRse1X0030D2B7u0000000 Received: from cpe-24-93-100-44.columbus.res.rr.com ([24.93.100.44] helo=vixen42) by authsmtp10.yourhostingaccount.com with esmtpa (Exim) id 1IHrlu-0005Of-H3 for freebsd-emulation@freebsd.org; Sun, 05 Aug 2007 21:52:38 -0400 Date: Sun, 5 Aug 2007 21:53:29 -0400 From: "Zane C.B." To: freebsd-emulation@freebsd.org Message-ID: <20070805215329.07f0a062@vixen42> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EN-UserInfo: 0d1ca1697cdb7a831d4877828571b7ab:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox2 Sender: "Zane C.B." X-EN-OrigIP: 24.93.100.44 X-EN-OrigHost: cpe-24-93-100-44.columbus.res.rr.com Subject: qemu issues 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, 06 Aug 2007 02:23:19 -0000 Any time I've used qemu recently, it exits with a 140 and prints out "Bad system call". Any ideas? From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 6 02:54:08 2007 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 1D14216A417 for ; Mon, 6 Aug 2007 02:54:08 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id DCD0413C45A for ; Mon, 6 Aug 2007 02:54:07 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l762s62r043316; Sun, 5 Aug 2007 22:54:07 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-emulation@freebsd.org Date: Sun, 5 Aug 2007 22:53:10 -0400 User-Agent: KMail/1.9.7 References: <20070805215329.07f0a062@vixen42> In-Reply-To: <20070805215329.07f0a062@vixen42> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708052253.10904.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Subject: Re: qemu issues 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, 06 Aug 2007 02:54:08 -0000 On Sunday 05 August 2007, Zane C.B. wrote: > Any time I've used qemu recently, it exits with a 140 and prints out > "Bad system call". > > Any ideas? Don't forget to load the aio kernel module on your host. JN From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 6 02:57:48 2007 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 7B2BD16A41A for ; Mon, 6 Aug 2007 02:57:48 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 2630013C467 for ; Mon, 6 Aug 2007 02:57:47 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.1/8.14.1) id l762veiW045202; Sun, 5 Aug 2007 21:57:40 -0500 (CDT) (envelope-from dan) Date: Sun, 5 Aug 2007 21:57:39 -0500 From: Dan Nelson To: John Nielsen Message-ID: <20070806025738.GH77822@dan.emsphone.com> References: <20070805215329.07f0a062@vixen42> <200708052253.10904.lists@jnielsen.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200708052253.10904.lists@jnielsen.net> X-OS: FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-emulation@freebsd.org Subject: Re: qemu issues 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, 06 Aug 2007 02:57:48 -0000 In the last episode (Aug 05), John Nielsen said: > On Sunday 05 August 2007, Zane C.B. wrote: > > Any time I've used qemu recently, it exits with a 140 and prints out > > "Bad system call". > > > > Any ideas? > > Don't forget to load the aio kernel module on your host. Wouldn't returning ENOSYS be a lost nicer to the calling process than signaling SIGSYS? I always think of SIGSYS as a hint that you're trying to run a binary from a completely different OS, rather than just trying to use a valid syscall that just hasn't been enabled. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 6 07:35:27 2007 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 0A41416A417; Mon, 6 Aug 2007 07:35:27 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id B4D0913C461; Mon, 6 Aug 2007 07:35:26 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A55A8D.dip.t-dialin.net [84.165.90.141]) by redbull.bpaserver.net (Postfix) with ESMTP id 4391D2E135; Mon, 6 Aug 2007 09:35:17 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id E90AF5B5A04; Mon, 6 Aug 2007 09:33:03 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l767X3mS033431; Mon, 6 Aug 2007 09:33:03 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 06 Aug 2007 09:33:03 +0200 Message-ID: <20070806093303.axopv21aw0ckowco@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 06 Aug 2007 09:33:03 +0200 From: Alexander Leidinger To: Boris Samorodov References: <45722684@bsam.ru> In-Reply-To: <45722684@bsam.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 8, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@freebsd.org, freebsd-jail@freebsd.org Subject: Re: Is it safe to change compat.linux.osrelease inside a jail? 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, 06 Aug 2007 07:35:27 -0000 Quoting Boris Samorodov (from Sat, 04 Aug 2007 00:00:35 +0400): > Hi! > > > I'm porting some Fedora Core 6 applications. Since the FreeBSD > package of a FC6 port should be build with non-default > compat.linux.osrelease and pointyhat is using jails to create > packages, here is the question at the Subject. > > I know it _may_ be changed (I've tried and succeeded). Can someone > say that it's quite OK to do so (without bad effects to jail/host)? > Sure I ask about -CURRENT. Roman did some work to make this a per-jail feature. I haven't seen any obvious stuff in the code which would make using this a bad idea. So: there are no known side-effects to use this in a jail. Bye, Alexander. -- "Well, if you can't believe what you read in a comic book, what *___can* you believe?!" -- Bullwinkle J. Moose [Jay Ward] 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 Aug 6 07:58:15 2007 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 DBB6E16A419; Mon, 6 Aug 2007 07:58:15 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 57E5F13C459; Mon, 6 Aug 2007 07:58:15 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A55A8D.dip.t-dialin.net [84.165.90.141]) by redbull.bpaserver.net (Postfix) with ESMTP id D7CB42E146; Mon, 6 Aug 2007 09:58:06 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id C376B5B5A04; Mon, 6 Aug 2007 09:55:53 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l767trs9037257; Mon, 6 Aug 2007 09:55:53 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 06 Aug 2007 09:55:53 +0200 Message-ID: <20070806095553.l75rul9eok0kw004@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 06 Aug 2007 09:55:53 +0200 From: Alexander Leidinger To: Boris Samorodov References: <52921778@bsam.ru> <1186178328.46188.2.camel@ikaros.oook.cz> <86849396@bsam.ru> In-Reply-To: <86849396@bsam.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-13.35, required 8, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10, TW_GD 0.08, TW_GT 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@FreeBSD.org, kris@FreeBSD.org, pav@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: ldconfig when PACKAGE_BUILDING=YES (and linux ports) 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, 06 Aug 2007 07:58:16 -0000 Quoting Boris Samorodov (from Sat, 04 Aug 2007 02:09:47 +0400)= : [CCing emulation@...] > On Fri, 03 Aug 2007 23:58:47 +0200 Pav Lucistnik wrote: >> Boris Samorodov p=C3=AD=C5=A1e v so 04. 08. 2007 v 01:30 +0400: > >> > Seems that running ldconfig while building a package at package >> > cluster (i.e. when PACKAGE_BUILDING is defined) is quite useless. [1] >> > >> > To be more specific I'm interested at linux ports. ATM we run linux >> > ldconfig (using linuxulator) _at package building_. Hence to create a >> > package for FC6 port we should change compat.linux.osrelease (which I >> > don't like and try to avoid). If the "ldconfig" stage may be skipped >> > when PACKAGE_BUILDING is defined then things get way too easier both >> > for default kernel linux.osrelease and default linux_base port change. > >> I don't follow - what is the problem? > > An FC6 port can't be build (and more specific -- linux-fc6 ldconfig > doesn't run) with current default compat.linux.osrelease=3D2.4.2. So > this sysctl should be changed to 2.6.16 for package building sake. > When the default compat.linux.osrelease will be switched to 2.6.16 we > will get the other way round problem if we try to build and FC4 port. > > I don't like the status quo and want to find a way to siplify it. It's not only a ldconfig problem, it's a generic problem. The gtk =20 ports run plugin detection programs (gtk-query-immodules-2.0-32 and =20 gdk-pixbuf-query-loaders-32) at installation time. Do you think it is a problem when the non-default linux port is not =20 available as a package? Currently I don't think it is a big problem =20 (you can check the value of the sysctl and IGNORE if it is not ok). When we switch the default, it will be a problem for those releases =20 which we still support but which have not the "good" default value for =20 the linux emulation (AFAIK pointyhat is running -current with some =20 jails for RELENG_x builds). One workaround would be that portmgr sets =20 the right value in the jail for the package build for the =20 corresponding release. This would be the cleanest solution, as all =20 linux ports are then build in the right environment and we don't have =20 to add magic code to every linux port (or bsd.port.mk). Kris, your opinion? Bye, Alexander. --=20 Howe's Law: =09Everyone has a scheme that will not work. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 6 09:04:29 2007 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 23CD816A418 for ; Mon, 6 Aug 2007 09:04:29 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id C953313C459 for ; Mon, 6 Aug 2007 09:04:28 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id A82578C0B87; Mon, 6 Aug 2007 11:04:26 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b9L3vVOfNleU; Mon, 6 Aug 2007 11:04:25 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 7FDA58C0B81; Mon, 6 Aug 2007 11:04:25 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l7694M3X047185; Mon, 6 Aug 2007 11:04:22 +0200 (CEST) (envelope-from rdivacky) Date: Mon, 6 Aug 2007 11:04:22 +0200 From: Roman Divacky To: Alexander Leidinger Message-ID: <20070806090422.GA47161@freebsd.org> References: <45722684@bsam.ru> <20070806093303.axopv21aw0ckowco@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070806093303.axopv21aw0ckowco@webmail.leidinger.net> User-Agent: Mutt/1.4.2.3i Cc: emulation@freebsd.org, freebsd-jail@freebsd.org Subject: Re: Is it safe to change compat.linux.osrelease inside a jail? 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, 06 Aug 2007 09:04:29 -0000 On Mon, Aug 06, 2007 at 09:33:03AM +0200, Alexander Leidinger wrote: > Quoting Boris Samorodov (from Sat, 04 Aug 2007 00:00:35 > +0400): > > >Hi! > > > > > >I'm porting some Fedora Core 6 applications. Since the FreeBSD > >package of a FC6 port should be build with non-default > >compat.linux.osrelease and pointyhat is using jails to create > >packages, here is the question at the Subject. > > > >I know it _may_ be changed (I've tried and succeeded). Can someone > >say that it's quite OK to do so (without bad effects to jail/host)? > >Sure I ask about -CURRENT. > > Roman did some work to make this a per-jail feature. I haven't seen > any obvious stuff in the code which would make using this a bad idea. > So: there are no known side-effects to use this in a jail. I didnt do anything.. this has always been per-jail attribute :) From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 6 09:51:39 2007 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 E337816A418; Mon, 6 Aug 2007 09:51:38 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 95B6F13C45A; Mon, 6 Aug 2007 09:51:38 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A55A8D.dip.t-dialin.net [84.165.90.141]) by redbull.bpaserver.net (Postfix) with ESMTP id 1E4EE2E13F; Mon, 6 Aug 2007 11:51:27 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 00A445B5A04; Mon, 6 Aug 2007 11:49:13 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l769nDEa056125; Mon, 6 Aug 2007 11:49:13 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 06 Aug 2007 11:49:13 +0200 Message-ID: <20070806114913.vwjsryyko4kgo4g8@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 06 Aug 2007 11:49:13 +0200 From: Alexander Leidinger To: Roman Divacky References: <45722684@bsam.ru> <20070806093303.axopv21aw0ckowco@webmail.leidinger.net> <20070806090422.GA47161@freebsd.org> In-Reply-To: <20070806090422.GA47161@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-15.4, required 8, autolearn=not spam, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@freebsd.org, freebsd-jail@freebsd.org Subject: Re: Is it safe to change compat.linux.osrelease inside a jail? 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, 06 Aug 2007 09:51:39 -0000 Quoting Roman Divacky (from Mon, 6 Aug 2007 =20 11:04:22 +0200): > On Mon, Aug 06, 2007 at 09:33:03AM +0200, Alexander Leidinger wrote: >> Quoting Boris Samorodov (from Sat, 04 Aug 2007 00:00:35 >> +0400): >> >> >Hi! >> > >> > >> >I'm porting some Fedora Core 6 applications. Since the FreeBSD >> >package of a FC6 port should be build with non-default >> >compat.linux.osrelease and pointyhat is using jails to create >> >packages, here is the question at the Subject. >> > >> >I know it _may_ be changed (I've tried and succeeded). Can someone >> >say that it's quite OK to do so (without bad effects to jail/host)? >> >Sure I ask about -CURRENT. >> >> Roman did some work to make this a per-jail feature. I haven't seen >> any obvious stuff in the code which would make using this a bad idea. >> So: there are no known side-effects to use this in a jail. > > I didnt do anything.. this has always been per-jail attribute :) Yes. Sorry for not being clear. You did the right work from the =20 beginning to make the sysctl per jail instead of making it a global =20 property of the system. And the feature which is protected by this =20 sysctl should be able to work correctly for the use case. Hmmm... while I think about jails... wouldn't it be better from a =20 security perspective to have the list/queue/... which is behind the =20 use26 part be a per jail list/queue/...? It may be not an issue, but =20 can you verify that root in jail A can not do something (kill/...) / =20 get some info (even if it is just a PID of a linux process) from jail =20 B when both -current jails run in the non-default linuxulator? I ask =20 as I don't have time to look at it ATM. Bye, Alexander. --=20 Q:=09How can we get the Beatles to reunite for one more concert? A:=09With three more bullets. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 6 11:08:15 2007 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 3463316A47E for ; Mon, 6 Aug 2007 11:08:15 +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 257F213C468 for ; Mon, 6 Aug 2007 11:08:15 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l76B8F0V029825 for ; Mon, 6 Aug 2007 11:08:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l76B8DxR029821 for freebsd-emulation@FreeBSD.org; Mon, 6 Aug 2007 11:08:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Aug 2007 11:08:13 GMT Message-Id: <200708061108.l76B8DxR029821@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 you 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, 06 Aug 2007 11:08:15 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/77710 emulation [linux] Linux page fault sigcontext information is wro o kern/97326 emulation [linux] file descriptor leakage in linux emulation o kern/101453 emulation [linux] [patch] linprocfs disallows non-zero file offs o kern/102956 emulation [linux] [patch] Add partial support for SO_PEERCRED in 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/41543 emulation [patch] feature request: easier wine/w23 support o kern/55835 emulation [linux] [patch] Linux IPC emulation missing SETALL sys a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula o ports/112355 emulation [PATCH] emulators/vmware3: cleanup non-supported FreeB 9 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 6 18:20:47 2007 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 8F9A916A421 for ; Mon, 6 Aug 2007 18:20:47 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.freebsd.org (Postfix) with ESMTP id 0100C13C467 for ; Mon, 6 Aug 2007 18:20:46 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bsam.ru ([85.172.12.83]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id l76HrKtS039773; Mon, 6 Aug 2007 21:53:30 +0400 (MSD) Received: (from bsam@localhost) by bsam.ru (8.14.1/8.14.1/Submit) id l76HrfIG001226; Mon, 6 Aug 2007 21:53:41 +0400 (MSD) (envelope-from bsam@ipt.ru) X-Authentication-Warning: bsam.ru: bsam set sender to bsam@ipt.ru using -f To: Alexander Leidinger References: <52921778@bsam.ru> <1186178328.46188.2.camel@ikaros.oook.cz> <86849396@bsam.ru> <20070806095553.l75rul9eok0kw004@webmail.leidinger.net> From: Boris Samorodov Date: Mon, 06 Aug 2007 21:53:41 +0400 In-Reply-To: <20070806095553.l75rul9eok0kw004@webmail.leidinger.net> (Alexander Leidinger's message of "Mon\, 06 Aug 2007 09\:55\:53 +0200") Message-ID: <88563594@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: emulation@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: ldconfig when PACKAGE_BUILDING=YES (and linux ports) 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, 06 Aug 2007 18:20:47 -0000 On Mon, 06 Aug 2007 09:55:53 +0200 Alexander Leidinger wrote: > Quoting Boris Samorodov (from Sat, 04 Aug 2007 02:09:47 +04= 00): > [CCing emulation@...] > > On Fri, 03 Aug 2007 23:58:47 +0200 Pav Lucistnik wrote: > >> Boris Samorodov p=C3=AD=C5=A1e v so 04. 08. 2007 v 01:30 +0400: > > > >> > Seems that running ldconfig while building a package at package > >> > cluster (i.e. when PACKAGE_BUILDING is defined) is quite useless. [1] > >> > > >> > To be more specific I'm interested at linux ports. ATM we run linux > >> > ldconfig (using linuxulator) _at package building_. Hence to create a > >> > package for FC6 port we should change compat.linux.osrelease (which I > >> > don't like and try to avoid). If the "ldconfig" stage may be skipped > >> > when PACKAGE_BUILDING is defined then things get way too easier both > >> > for default kernel linux.osrelease and default linux_base port chang= e. > > > >> I don't follow - what is the problem? > > > > An FC6 port can't be build (and more specific -- linux-fc6 ldconfig > > doesn't run) with current default compat.linux.osrelease=3D2.4.2. So > > this sysctl should be changed to 2.6.16 for package building sake. > > When the default compat.linux.osrelease will be switched to 2.6.16 we > > will get the other way round problem if we try to build and FC4 port. > > > > I don't like the status quo and want to find a way to siplify it. > It's not only a ldconfig problem, it's a generic problem. The gtk > ports run plugin detection programs (gtk-query-immodules-2.0-32 and > gdk-pixbuf-query-loaders-32) at installation time. Sure you are right. If we can solve this problem soon -- that will be great. > Do you think it is a problem when the non-default linux port is not > available as a package? No, the problem is in ability to run a linux binary. > Currently I don't think it is a big problem > (you can check the value of the sysctl and IGNORE if it is not ok). Agreed. WBR --=20 bsam From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 6 18:21:16 2007 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 E1D2316A419; Mon, 6 Aug 2007 18:21:16 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.freebsd.org (Postfix) with ESMTP id 4FD2513C4E8; Mon, 6 Aug 2007 18:21:15 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bsam.ru ([85.172.12.83]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id l76HjMWW038884; Mon, 6 Aug 2007 21:45:32 +0400 (MSD) Received: (from bsam@localhost) by bsam.ru (8.14.1/8.14.1/Submit) id l76HjgEx001222; Mon, 6 Aug 2007 21:45:42 +0400 (MSD) (envelope-from bsam@ipt.ru) X-Authentication-Warning: bsam.ru: bsam set sender to bsam@ipt.ru using -f To: Alexander Leidinger References: <45722684@bsam.ru> <20070806093303.axopv21aw0ckowco@webmail.leidinger.net> <20070806090422.GA47161@freebsd.org> <20070806114913.vwjsryyko4kgo4g8@webmail.leidinger.net> From: Boris Samorodov Date: Mon, 06 Aug 2007 21:45:42 +0400 In-Reply-To: <20070806114913.vwjsryyko4kgo4g8@webmail.leidinger.net> (Alexander Leidinger's message of "Mon\, 06 Aug 2007 11\:49\:13 +0200") Message-ID: <54644073@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: emulation@FreeBSD.org, Roman Divacky , freebsd-jail@FreeBSD.org Subject: Re: Is it safe to change compat.linux.osrelease inside a jail? 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, 06 Aug 2007 18:21:17 -0000 On Mon, 06 Aug 2007 11:49:13 +0200 Alexander Leidinger wrote: > Quoting Roman Divacky (from Mon, 6 Aug 2007 > 11:04:22 +0200): > > On Mon, Aug 06, 2007 at 09:33:03AM +0200, Alexander Leidinger wrote: > >> Quoting Boris Samorodov (from Sat, 04 Aug 2007 00:00:35 > >> +0400): > >> >I'm porting some Fedora Core 6 applications. Since the FreeBSD > >> >package of a FC6 port should be build with non-default > >> >compat.linux.osrelease and pointyhat is using jails to create > >> >packages, here is the question at the Subject. > >> > > >> >I know it _may_ be changed (I've tried and succeeded). Can someone > >> >say that it's quite OK to do so (without bad effects to jail/host)? > >> >Sure I ask about -CURRENT. > >> > >> Roman did some work to make this a per-jail feature. I haven't seen > >> any obvious stuff in the code which would make using this a bad idea. > >> So: there are no known side-effects to use this in a jail. > > > > I didnt do anything.. this has always been per-jail attribute :) > Yes. Sorry for not being clear. You did the right work from the > beginning to make the sysctl per jail instead of making it a global > property of the system. And the feature which is protected by this > sysctl should be able to work correctly for the use case. Got it, thanks. WBR -- bsam From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 9 15:47:11 2007 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 B246416A496 for ; Thu, 9 Aug 2007 15:47:11 +0000 (UTC) (envelope-from SRS0=e46Z3w=NG=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailout16.yourhostingaccount.com (mailout16.yourhostingaccount.com [65.254.253.129]) by mx1.freebsd.org (Postfix) with ESMTP id 809ED13C45E for ; Thu, 9 Aug 2007 15:47:11 +0000 (UTC) (envelope-from SRS0=e46Z3w=NG=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailscan13.yourhostingaccount.com ([10.1.15.13] helo=mailscan13.yourhostingaccount.com) by mailout16.yourhostingaccount.com with esmtp (Exim) id 1IJ9fv-0005rU-Pz for freebsd-emulation@freebsd.org; Thu, 09 Aug 2007 11:11:47 -0400 Received: from impout03.yourhostingaccount.com ([10.1.55.3] helo=impout03.yourhostingaccount.com) by mailscan13.yourhostingaccount.com with esmtp (Exim) id 1IJ9fv-0002kA-CT; Thu, 09 Aug 2007 11:11:47 -0400 Received: from authsmtp09.yourhostingaccount.com ([10.1.18.9]) by impout03.yourhostingaccount.com with NO UCE id ZrBm1X00C0BkWne0000000; Thu, 09 Aug 2007 11:11:46 -0400 X-EN-OrigOutIP: 10.1.18.9 X-EN-IMPSID: ZrBm1X00C0BkWne0000000 Received: from cpe-24-93-100-44.columbus.res.rr.com ([24.93.100.44] helo=vixen42) by authsmtp09.yourhostingaccount.com with esmtpa (Exim) id 1IJ9fu-0003w2-Ry; Thu, 09 Aug 2007 11:11:47 -0400 Date: Thu, 9 Aug 2007 11:12:25 -0400 From: "Zane C.B." Message-ID: <20070809111225.0d725c52@vixen42> In-Reply-To: <20070806025738.GH77822@dan.emsphone.com> References: <20070805215329.07f0a062@vixen42> <200708052253.10904.lists@jnielsen.net> <20070806025738.GH77822@dan.emsphone.com> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EN-UserInfo: 0d1ca1697cdb7a831d4877828571b7ab:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox2 Sender: "Zane C.B." X-EN-OrigIP: 24.93.100.44 X-EN-OrigHost: cpe-24-93-100-44.columbus.res.rr.com Cc: freebsd-emulation@freebsd.org Subject: Re: qemu issues 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, 09 Aug 2007 15:47:11 -0000 On Sun, 5 Aug 2007 21:57:39 -0500 Dan Nelson wrote: > In the last episode (Aug 05), John Nielsen said: > > On Sunday 05 August 2007, Zane C.B. wrote: > > > Any time I've used qemu recently, it exits with a 140 and > > > prints out "Bad system call". > > > > > > Any ideas? > > > > Don't forget to load the aio kernel module on your host. Awesome, loading the aio kernel module fixed it. Much thanks. Missed that in pkg-message. From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 9 15:50:32 2007 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 161D116A47E for ; Thu, 9 Aug 2007 15:50:32 +0000 (UTC) (envelope-from SRS0=ex73WP=NG=vvelox.net=vvelox@yourhostingaccount.com) Received: from mailout20.yourhostingaccount.com (mailout20.yourhostingaccount.com [65.254.253.162]) by mx1.freebsd.org (Postfix) with ESMTP id D797B13C48D for ; Thu, 9 Aug 2007 15:50:23 +0000 (UTC) (envelope-from SRS0=ex73WP=NG=vvelox.net=vvelox@yourhostingaccount.com) Received: from mailscan14.yourhostingaccount.com ([10.1.15.14] helo=mailscan14.yourhostingaccount.com) by mailout20.yourhostingaccount.com with esmtp (Exim) id 1IJ9oA-0000Im-VS for freebsd-emulation@freebsd.org; Thu, 09 Aug 2007 11:20:19 -0400 Received: from impout03.yourhostingaccount.com ([10.1.55.3] ident=exim) by mailscan14.yourhostingaccount.com with spamscanlookuphost (Exim) id 1IJ9o9-00035y-JB for freebsd-emulation@freebsd.org; Thu, 09 Aug 2007 11:20:18 -0400 Received: from impout03.yourhostingaccount.com ([10.1.55.3] helo=impout03.yourhostingaccount.com) by mailscan14.yourhostingaccount.com with esmtp (Exim) id 1IJ9o8-0001Pp-0z for freebsd-emulation@freebsd.org; Thu, 09 Aug 2007 11:20:16 -0400 Received: from authsmtp08.yourhostingaccount.com ([10.1.18.8]) by impout03.yourhostingaccount.com with NO UCE id ZrL41X0060ASqTN0000000; Thu, 09 Aug 2007 11:20:04 -0400 X-EN-OrigOutIP: 10.1.18.8 X-EN-IMPSID: ZrL41X0060ASqTN0000000 Received: from cpe-24-93-100-44.columbus.res.rr.com ([24.93.100.44] helo=vixen42) by authsmtp08.yourhostingaccount.com with esmtpsa (TLSv1:DES-CBC3-SHA:168) (Exim) id 1IJ9nw-0008Bs-MJ for freebsd-emulation@freebsd.org; Thu, 09 Aug 2007 11:20:04 -0400 Date: Thu, 9 Aug 2007 11:21:23 -0400 From: "Zane C.B." To: freebsd-emulation@freebsd.org Message-ID: <20070809112123.08d3b09a@vixen42> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_EAHb+ZLfPAy=Q1hpIikps+I"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-EN-UserInfo: f1c157ec5ebebd12a8182d58c6ceecd9:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox3 Sender: "Zane C.B." X-EN-OrigIP: 24.93.100.44 X-EN-OrigHost: cpe-24-93-100-44.columbus.res.rr.com Subject: odd qemu issue and networking 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, 09 Aug 2007 15:50:32 -0000 --Sig_EAHb+ZLfPAy=Q1hpIikps+I Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable qemu -hda trixbox.img -net nic -net tap,fd=3D/dev/tap0 Results on garbage being printed out when ever any network IO takes place. nve0: flags=3D8943 mtu 1500 inet 192.168.15.2 netmask 0xffffff00 broadcast 192.168.2.2 inet 192.168.15.4 netmask 0xffffffff broadcast 192.168.15.4 inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:30:18:a0:22:97 media: Ethernet autoselect (100baseTX ) status: active tap0: flags=3D8943 mtu 1500 ether 00:bd:38:5b:14:00 bridge0: flags=3D8843 mtu 1500 ether 7a:fb:12:be:28:87 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto stp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0 member: tap0 flags=3D143 member: nve0 flags=3D143 --Sig_EAHb+ZLfPAy=Q1hpIikps+I Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD4DBQFGuzDzC1tfcMGJid4RAhpUAKCwJzpqBlxMnzYJw0qr4JLQ7N/dxQCYhNuX fDezmxZJRDBNuatDoMInMw== =27k/ -----END PGP SIGNATURE----- --Sig_EAHb+ZLfPAy=Q1hpIikps+I-- From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 9 16:31:01 2007 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 556C416A417 for ; Thu, 9 Aug 2007 16:31:01 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from gateway.cybervisiontech.com.ua (gateway.cybervisiontech.com.ua [88.81.251.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1080D13C46C for ; Thu, 9 Aug 2007 16:31:00 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (hq.cybervisiontech.com [127.0.0.1]) by gateway.cybervisiontech.com.ua (Postfix) with ESMTP id 0015BED69E7 for ; Thu, 9 Aug 2007 18:56:33 +0300 (EEST) X-Virus-Scanned: amavisd-new at cybervisiontech.com Received: from gateway.cybervisiontech.com.ua ([127.0.0.1]) by localhost (hq.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h6jDHHjyWgER for ; Thu, 9 Aug 2007 18:56:28 +0300 (EEST) Received: from [10.2.1.87] (rein.cybervisiontech.com.ua [10.2.1.87]) by gateway.cybervisiontech.com.ua (Postfix) with ESMTP id 947CBED69E5 for ; Thu, 9 Aug 2007 18:56:28 +0300 (EEST) Message-ID: <46BB39D1.8050509@icyb.net.ua> Date: Thu, 09 Aug 2007 18:59:13 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: qemu and usb 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, 09 Aug 2007 16:31:01 -0000 Is it possible on FreeBSD to provide access to host USB devices for qemu guests ? I tried playing with -usb and -usbdevice and to follow some linux how-to's but with no luck. Thank you. -- Andriy Gapon From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 9 16:39:30 2007 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 E734B16A41A for ; Thu, 9 Aug 2007 16:39:30 +0000 (UTC) (envelope-from SRS0=e46Z3w=NG=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailout17.yourhostingaccount.com (mailout17.yourhostingaccount.com [65.254.253.141]) by mx1.freebsd.org (Postfix) with ESMTP id A584513C49D for ; Thu, 9 Aug 2007 16:39:30 +0000 (UTC) (envelope-from SRS0=e46Z3w=NG=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailscan12.yourhostingaccount.com ([10.1.15.12] helo=mailscan12.yourhostingaccount.com) by mailout17.yourhostingaccount.com with esmtp (Exim) id 1IJB2n-0007DU-Cw for freebsd-emulation@freebsd.org; Thu, 09 Aug 2007 12:39:29 -0400 Received: from impout03.yourhostingaccount.com ([10.1.55.3] helo=impout03.yourhostingaccount.com) by mailscan12.yourhostingaccount.com with esmtp (Exim) id 1IJB2k-00088e-0e for freebsd-emulation@freebsd.org; Thu, 09 Aug 2007 12:39:26 -0400 Received: from authsmtp09.yourhostingaccount.com ([10.1.18.9]) by impout03.yourhostingaccount.com with NO UCE id ZsfF1X00A0BkWne0000000; Thu, 09 Aug 2007 12:39:15 -0400 X-EN-OrigOutIP: 10.1.18.9 X-EN-IMPSID: ZsfF1X00A0BkWne0000000 Received: from cpe-24-93-100-44.columbus.res.rr.com ([24.93.100.44] helo=vixen42) by authsmtp09.yourhostingaccount.com with esmtpa (Exim) id 1IJB2Z-0007GL-FD for freebsd-emulation@freebsd.org; Thu, 09 Aug 2007 12:39:15 -0400 Date: Thu, 9 Aug 2007 12:40:38 -0400 From: "Zane C.B." Cc: freebsd-emulation@freebsd.org Message-ID: <20070809124038.3756a407@vixen42> In-Reply-To: <20070809112123.08d3b09a@vixen42> References: <20070809112123.08d3b09a@vixen42> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EN-UserInfo: 0d1ca1697cdb7a831d4877828571b7ab:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox2 Sender: "Zane C.B." X-EN-OrigIP: 24.93.100.44 X-EN-OrigHost: cpe-24-93-100-44.columbus.res.rr.com Subject: Re: odd qemu issue and networking 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, 09 Aug 2007 16:39:31 -0000 On Thu, 9 Aug 2007 11:21:23 -0400 "Zane C.B." wrote: > qemu -hda trixbox.img -net nic -net tap,fd=/dev/tap0 > > Results on garbage being printed out when ever any network IO takes > place. > > nve0: flags=8943 > mtu 1500 inet 192.168.15.2 netmask 0xffffff00 broadcast 192.168.2.2 > inet 192.168.15.4 netmask 0xffffffff broadcast 192.168.15.4 > inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:30:18:a0:22:97 > media: Ethernet autoselect (100baseTX > ) status: active > tap0: flags=8943 > mtu 1500 ether 00:bd:38:5b:14:00 > bridge0: flags=8843 mtu 1500 > ether 7a:fb:12:be:28:87 > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto stp maxaddr 100 timeout 1200 > root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0 > member: tap0 flags=143 > member: nve0 flags=143 Slightly fixed... used ifname=tap0 instead... except it kept bitching about not being able to open the device and was trying to use tap4 for some unknown reason... Thus I did a little test. I ran it as root. To my surprise this worked, since the user I was running it under had write priveledges to tap0. I have a group named devTAPaccess and a devfs rule setup to allow for members of that group to write to any tap device. The user I was running it under is a member of this group. Is there something I am missing there? From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 9 16:57:18 2007 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 083AC16A419 for ; Thu, 9 Aug 2007 16:57:18 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id C7E1113C4B6 for ; Thu, 9 Aug 2007 16:57:17 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.1/8.14.1) with ESMTP id l79GvBmD030357; Thu, 9 Aug 2007 11:57:11 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Thu, 9 Aug 2007 11:57:11 -0500 (CDT) From: "Sean C. Farley" To: "Zane C.B." In-Reply-To: <20070809124038.3756a407@vixen42> Message-ID: <20070809115520.F68855@thor.farley.org> References: <20070809112123.08d3b09a@vixen42> <20070809124038.3756a407@vixen42> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on mail.farley.org Cc: freebsd-emulation@FreeBSD.org Subject: Re: odd qemu issue and networking 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, 09 Aug 2007 16:57:18 -0000 On Thu, 9 Aug 2007, Zane C.B. wrote: > On Thu, 9 Aug 2007 11:21:23 -0400 > "Zane C.B." wrote: *snip* > Slightly fixed... used ifname=tap0 instead... except it kept bitching > about not being able to open the device and was trying to use tap4 > for some unknown reason... Thus I did a little test. I ran it as > root. To my surprise this worked, since the user I was running it > under had write priveledges to tap0. I have a group named > devTAPaccess and a devfs rule setup to allow for members of that > group to write to any tap device. The user I was running it under is > a member of this group. > > Is there something I am missing there? Do you have these set: net.link.tap.up_on_open=1 net.link.tap.user_open=1 Sean -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 9 17:13:34 2007 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 4312D16A419 for ; Thu, 9 Aug 2007 17:13:34 +0000 (UTC) (envelope-from SRS0=e46Z3w=NG=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailout17.yourhostingaccount.com (mailout17.yourhostingaccount.com [65.254.253.141]) by mx1.freebsd.org (Postfix) with ESMTP id 0FA5813C46C for ; Thu, 9 Aug 2007 17:13:34 +0000 (UTC) (envelope-from SRS0=e46Z3w=NG=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailscan01.yourhostingaccount.com ([10.1.15.1] helo=mailscan01.yourhostingaccount.com) by mailout17.yourhostingaccount.com with esmtp (Exim) id 1IJBZl-0003Pn-DZ; Thu, 09 Aug 2007 13:13:33 -0400 Received: from impout03.yourhostingaccount.com ([10.1.55.3] helo=impout03.yourhostingaccount.com) by mailscan01.yourhostingaccount.com with esmtp (Exim) id 1IJBZk-0000YF-4K; Thu, 09 Aug 2007 13:13:32 -0400 Received: from authsmtp11.yourhostingaccount.com ([10.1.18.11]) by impout03.yourhostingaccount.com with NO UCE id ZtDX1X00F0EKrUA0000000; Thu, 09 Aug 2007 13:13:31 -0400 X-EN-OrigOutIP: 10.1.18.11 X-EN-IMPSID: ZtDX1X00F0EKrUA0000000 Received: from cpe-24-93-100-44.columbus.res.rr.com ([24.93.100.44] helo=vixen42) by authsmtp11.yourhostingaccount.com with esmtpa (Exim) id 1IJBZj-0002DK-It; Thu, 09 Aug 2007 13:13:31 -0400 Date: Thu, 9 Aug 2007 13:14:53 -0400 From: "Zane C.B." To: "Sean C. Farley" Message-ID: <20070809131453.30f90327@vixen42> In-Reply-To: <20070809115520.F68855@thor.farley.org> References: <20070809112123.08d3b09a@vixen42> <20070809124038.3756a407@vixen42> <20070809115520.F68855@thor.farley.org> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EN-UserInfo: 0d1ca1697cdb7a831d4877828571b7ab:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox2 Sender: "Zane C.B." X-EN-OrigIP: 24.93.100.44 X-EN-OrigHost: cpe-24-93-100-44.columbus.res.rr.com Cc: freebsd-emulation@FreeBSD.org Subject: Re: odd qemu issue and networking 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, 09 Aug 2007 17:13:34 -0000 On Thu, 9 Aug 2007 11:57:11 -0500 (CDT) "Sean C. Farley" wrote: > On Thu, 9 Aug 2007, Zane C.B. wrote: > > > On Thu, 9 Aug 2007 11:21:23 -0400 > > "Zane C.B." wrote: > > *snip* > > > Slightly fixed... used ifname=tap0 instead... except it kept > > bitching about not being able to open the device and was trying > > to use tap4 for some unknown reason... Thus I did a little test. > > I ran it as root. To my surprise this worked, since the user I > > was running it under had write priveledges to tap0. I have a > > group named devTAPaccess and a devfs rule setup to allow for > > members of that group to write to any tap device. The user I was > > running it under is a member of this group. > > > > Is there something I am missing there? > > Do you have these set: > net.link.tap.up_on_open=1 > net.link.tap.user_open=1 Thanks. I am now using the last one. From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 9 17:55:39 2007 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 1607716A418 for ; Thu, 9 Aug 2007 17:55:39 +0000 (UTC) (envelope-from marko.kobal@email.si) Received: from www1.email.si (www1.email.si [81.24.97.10]) by mx1.freebsd.org (Postfix) with ESMTP id CFE3D13C45B for ; Thu, 9 Aug 2007 17:55:38 +0000 (UTC) (envelope-from marko.kobal@email.si) Received: from [192.168.1.10] (neonka.arctur.si [193.77.124.79]) by www1.email.si (Postfix) with ESMTP id E569D8B8A5 for ; Thu, 9 Aug 2007 19:28:23 +0200 (CEST) Message-ID: <46BB4EB9.5010907@email.si> Date: Thu, 09 Aug 2007 19:28:25 +0200 From: Marko Kobal User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD as host OS for VMware 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, 09 Aug 2007 17:55:39 -0000 Hi, Many of us would like to see FreeBSD as host OS for VMware. If there would be enough of us to push onto VMware company, maybe someday this could actualy happen. Check out (and give your vote) here: http://www.vmware.com/community/thread.jspa?threadID=10322 -- Kind regards, Marko Kobal.