From owner-freebsd-emulation@FreeBSD.ORG Sun Mar 1 17:57:14 2009 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 F325F106564A; Sun, 1 Mar 2009 17:57:13 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout4.freenet.de (mout4.freenet.de [IPv6:2001:748:100:40::2:6]) by mx1.freebsd.org (Postfix) with ESMTP id 869278FC14; Sun, 1 Mar 2009 17:57:13 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.27] (helo=17.mx.freenet.de) by mout4.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1LdpuZ-0000pl-Ks; Sun, 01 Mar 2009 18:57:11 +0100 Received: from tbb86.t.pppool.de ([89.55.187.134]:35985 helo=ernst.jennejohn.org) by 17.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1LdpuZ-0002wc-D5; Sun, 01 Mar 2009 18:57:11 +0100 Date: Sun, 1 Mar 2009 18:57:09 +0100 From: Gary Jennejohn To: Juergen Lock Message-ID: <20090301185709.60194bce@ernst.jennejohn.org> In-Reply-To: <20090228213620.GA64626@saturn.kn-bremen.de> References: <20090225201550.3d3032b5@ernst.jennejohn.org> <20090228171520.GA56888@saturn.kn-bremen.de> <20090228201650.064c0ee4@ernst.jennejohn.org> <20090228213620.GA64626@saturn.kn-bremen.de> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org, qemu-devel@nongnu.org Subject: Re: testing qemu svn r6636 on FreeBSD; future of qemu on FreeBSD... X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 17:57:14 -0000 On Sat, 28 Feb 2009 22:36:20 +0100 Juergen Lock wrote: > On Sat, Feb 28, 2009 at 08:16:50PM +0100, Gary Jennejohn wrote: {snip old stuff] > > > It is possible that you got hit by the kqemu tsc vs smp problem, i.e. > > > passing `notsc' to the guest kernel or forcing qemu onto one cpu > > > (cpuset -l 0 qemu ...) may have helped there, sorry I should have thought > > > of that earlier... > > > > > > > I just tried these suggestions (with the standard qemu-devel) and they > > don't seem to do any harm :-P > > > ..but they didn't help either? (i.e. w/o -no-acpi) > Yes it did. It boots without -no-apci and with notpc just fine. > > > > Now I'm thinking about giving the patched qemu-devel another try, since > > I've found some workarounds for booting. I'll see whether I can at least > > boot into the installed openSUSE using it. > OK, the patched qemu-devel can boot the already installed openSUSE. I tried it with and without kernel-kqemu and both worked as long as I booted with notpc. Can't explain why the installation failed, though. --- Gary Jennejohn From owner-freebsd-emulation@FreeBSD.ORG Sun Mar 1 23:24:49 2009 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 D6ABD106566B; Sun, 1 Mar 2009 23:24:49 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 8E5178FC16; Sun, 1 Mar 2009 23:24:49 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 180401E005D6; Mon, 2 Mar 2009 00:24:48 +0100 (CET) Received: from saturn.kn-bremen.de (noident@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id n21NDGb3095935; Mon, 2 Mar 2009 00:13:16 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id n21NDGnT095934; Mon, 2 Mar 2009 00:13:16 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Mon, 2 Mar 2009 00:13:16 +0100 To: Gary Jennejohn Message-ID: <20090301231316.GA95918@saturn.kn-bremen.de> Mail-Followup-To: Gary Jennejohn , freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org, qemu-devel@nongnu.org References: <20090225201550.3d3032b5@ernst.jennejohn.org> <20090228171520.GA56888@saturn.kn-bremen.de> <20090228201650.064c0ee4@ernst.jennejohn.org> <20090228213620.GA64626@saturn.kn-bremen.de> <20090301185709.60194bce@ernst.jennejohn.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090301185709.60194bce@ernst.jennejohn.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org, qemu-devel@nongnu.org Subject: Re: testing qemu svn r6636 on FreeBSD; future of qemu on FreeBSD... 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, 01 Mar 2009 23:24:50 -0000 On Sun, Mar 01, 2009 at 06:57:09PM +0100, Gary Jennejohn wrote: > On Sat, 28 Feb 2009 22:36:20 +0100 > Juergen Lock wrote: > > > On Sat, Feb 28, 2009 at 08:16:50PM +0100, Gary Jennejohn wrote: > {snip old stuff] > > > > It is possible that you got hit by the kqemu tsc vs smp problem, i.e. > > > > passing `notsc' to the guest kernel or forcing qemu onto one cpu > > > > (cpuset -l 0 qemu ...) may have helped there, sorry I should have thought > > > > of that earlier... > > > > > > > > > > I just tried these suggestions (with the standard qemu-devel) and they > > > don't seem to do any harm :-P > > > > > ..but they didn't help either? (i.e. w/o -no-acpi) > > > > Yes it did. It boots without -no-apci and with notpc just fine. > You mean notsc, right...? > > > > > > Now I'm thinking about giving the patched qemu-devel another try, since > > > I've found some workarounds for booting. I'll see whether I can at least > > > boot into the installed openSUSE using it. > > > > OK, the patched qemu-devel can boot the already installed openSUSE. > > I tried it with and without kernel-kqemu and both worked as long as > I booted with notpc. > ..also notsc here? :) > Can't explain why the installation failed, though. OK, thanx, Juergen From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 2 00:32:18 2009 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 E1B251065674; Mon, 2 Mar 2009 00:32:18 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) by mx1.freebsd.org (Postfix) with ESMTP id 739B68FC0A; Mon, 2 Mar 2009 00:32:18 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.21] (helo=11.mx.freenet.de) by mout2.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1Ldw4v-0007If-4Z; Mon, 02 Mar 2009 01:32:17 +0100 Received: from tfada.t.pppool.de ([89.55.250.218]:64331 helo=ernst.jennejohn.org) by 11.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1Ldw4u-0002pk-PM; Mon, 02 Mar 2009 01:32:17 +0100 Date: Mon, 2 Mar 2009 01:32:14 +0100 From: Gary Jennejohn To: Juergen Lock Message-ID: <20090302013214.51d73098@ernst.jennejohn.org> In-Reply-To: <20090301231316.GA95918@saturn.kn-bremen.de> References: <20090225201550.3d3032b5@ernst.jennejohn.org> <20090228171520.GA56888@saturn.kn-bremen.de> <20090228201650.064c0ee4@ernst.jennejohn.org> <20090228213620.GA64626@saturn.kn-bremen.de> <20090301185709.60194bce@ernst.jennejohn.org> <20090301231316.GA95918@saturn.kn-bremen.de> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org, qemu-devel@nongnu.org Subject: Re: testing qemu svn r6636 on FreeBSD; future of qemu on FreeBSD... X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 00:32:19 -0000 On Mon, 2 Mar 2009 00:13:16 +0100 Juergen Lock wrote: > On Sun, Mar 01, 2009 at 06:57:09PM +0100, Gary Jennejohn wrote: > > Yes it did. It boots without -no-apci and with notpc just fine. > > > You mean notsc, right...? > > > > > > > > > Now I'm thinking about giving the patched qemu-devel another try, since > > > > I've found some workarounds for booting. I'll see whether I can at least > > > > boot into the installed openSUSE using it. > > > > > > > OK, the patched qemu-devel can boot the already installed openSUSE. > > > > I tried it with and without kernel-kqemu and both worked as long as > > I booted with notpc. > > > ..also notsc here? :) > Yes, I meant notsc everywhere :-P --- Gary Jennejohn From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 2 07:17:26 2009 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 34F3D1065670 for ; Mon, 2 Mar 2009 07:17:26 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id E4FDE8FC29 for ; Mon, 2 Mar 2009 07:17:25 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Le2Oy-00005A-HL; Mon, 02 Mar 2009 10:17:24 +0300 To: Eitan Adler References: <49A838D3.2010408@gmail.com> From: Boris Samorodov Date: Mon, 02 Mar 2009 10:17:31 +0300 In-Reply-To: <49A838D3.2010408@gmail.com> (Eitan Adler's message of "Fri\, 27 Feb 2009 14\:02\:43 -0500") Message-ID: <68523380@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: Linux gtk2.10+ 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, 02 Mar 2009 07:17:26 -0000 Eitan Adler writes: > This is a follow up to a previous message I sent to this list about > updating linux-gtk to a more recent version of GTK. > At the time the response was "Boris has a patch, wait for the ports to > melt (unfreeze)". Any updates? Sorry for a delay. I'm back from a very hard business trip but should settle down my time in two days. Then I'll go further with linux ports. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 2 11:07:02 2009 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 14B2F10656E0 for ; Mon, 2 Mar 2009 11:07:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8FE928FC85 for ; Mon, 2 Mar 2009 11:06:50 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n22B6o4f057263 for ; Mon, 2 Mar 2009 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n22B6oYT057259 for freebsd-emulation@FreeBSD.org; Mon, 2 Mar 2009 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 2 Mar 2009 11:06:50 GMT Message-Id: <200903021106.n22B6oYT057259@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, 02 Mar 2009 11:07:31 -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 -------------------------------------------------------------------------------- p kern/131099 emulation [linux] [patch] readdir broken on Linux emulation. o kern/130724 emulation [linprocfs] [patch] cpuinfo in linprocfs is dated, cau o kern/129169 emulation [linux] [patch] Linux Emulation ENOTCONN error using n f ports/127018 emulation Linuxulator incapable of using FreeBSD's LDAP environm o kern/126232 emulation [linux] Linux ioctl TCGETS (0x5401) always fails o ports/121800 emulation x11-toolkits/linux-openmotif - OpenMotif upgrade to 2. o kern/97326 emulation [linux] file descriptor leakage in linux emulation o ports/91318 emulation [fix] graphics/linux_dri: works on amd64 too o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand 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/29698 emulation [linux] [patch] linux ipcs doesn'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 16 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 2 22:17:44 2009 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 4933110657DD for ; Mon, 2 Mar 2009 22:17:44 +0000 (UTC) (envelope-from novembre@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id ECF218FC0A for ; Mon, 2 Mar 2009 22:17:43 +0000 (UTC) (envelope-from novembre@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so1408806ywt.13 for ; Mon, 02 Mar 2009 14:17:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=ENcm0Bzd2HHS3ZeWqdGqTR9+FXuVKz4rqSjCkZF0nBI=; b=D3cVw5L5rtl5VH44s3Shv2aWKGhk1RB/TjT7snCOSzMgyf3rP451K7e1sTDstCTcEm S5iBdOp2UVokP7JWbB7ROZ2hXehnPn1VrDe+fR6JdlPsMzWb12JERUZwHWzP2+l491S9 sJ0TMIkF84Yfn0HzZmXjseGs+gmeCXwN+r0nM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eFFxpbR1h2XYVdfGvViJZVYnQXST+tKJuZ04FbS55bpNOoFhiaWuRRtwm/hLzbaj8Y AXxGUBiOmdGxLean9IAYLXI4FWWqhShs9m3PKfGcR6SSurD7AokE6yWZfBTg0GXnIDBW 2UAyeDk/RpivB86ywgHHc0dS9MZ+A7zB4GNXw= MIME-Version: 1.0 Received: by 10.220.100.139 with SMTP id y11mr2013833vcn.117.1236030719956; Mon, 02 Mar 2009 13:51:59 -0800 (PST) Date: Mon, 2 Mar 2009 15:51:59 -0600 Message-ID: <3b47caa90903021351g4ceb832ap866cccd940cfb68b@mail.gmail.com> From: Novembre To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Flash 9 crash problems 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, 02 Mar 2009 22:17:50 -0000 I have upgraded my 7.0-RELEASE system to RELENG_7 as of 02/19/2009. I had Firefox 2.0.0.12 installed before the upgrade. Then, I installed Adobe Flash 9 following the instructions here http://docs.freebsd.org/cgi/getmsg.cgi?fetch=51075+0+archive/2008/freebsd-emulation/20081102.freebsd-emulation So I have linux_enable="YES" in /etc/rc.conf, compat.linux.osrelease=2.6.16 in /etc/sysctl.conf, and OVERRIDE_LINUX_BASE_PORT=f8 in /etc/make.conf, and the following line in /etc/fstab: linproc /compat/linux/proc linprocfs rw 0 0 I then installed www/nspluginwrapper and www/linux-flashplugin9. The plugins showed up in Firefox when I type about:pugins as ---------- Shockwave Flash File name: npwrapper.libflashplayer.so Shockwave Flash 9.0 r152 MIME Type Description Suffixes Enabled application/x-shockwave-flash Shockwave Flash swf Yes application/futuresplash FutureSplash Player spl Yes ---------- After that, I can see flash videos on youtube and other websites. The problem is that when I close the tabs containing a flash video (most of the times when it is playing, but sometimes even when it is paused), npviewer.bin crashes with a core dump (npviewer.bin.core) in my home directory and it leaves a lot of zombie npviewer.bin processes running. Note that Firefox does not crash and is stable. At this stage, if I want to view another video, a gray box appears and nothing plays. If I kill all the zombie processes, the videos load and play just fine. Another minor problem is that if I view the videos in full screen mode, it appears that some frames are lost, and the video is not smooth. This is the result of 'uname -a' FreeBSD rsx4.physics.uiuc.edu 7.1-STABLE FreeBSD 7.1-STABLE #0: Thu Feb 19 18:46:55 CST 2009 soheil@rsx4.physics.uiuc.edu:/usr/obj/usr/src/sys/RSX4CUSTOM i386 Does anybody know what I should do to fix this? Thanks a lot :) From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 3 07:34:42 2009 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 0C7A91065672 for ; Tue, 3 Mar 2009 07:34:42 +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 AAD5F8FC24 for ; Tue, 3 Mar 2009 07:34:41 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E756.dip.t-dialin.net [217.226.231.86]) by redbull.bpaserver.net (Postfix) with ESMTP id 7DC3F2E06B; Tue, 3 Mar 2009 08:34:37 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id CD320A7C98; Tue, 3 Mar 2009 08:34:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1236065672; bh=Fx3I5s81a+9T37drF84QSyL4rqs1pZmzR zFi6DXsJYE=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=NpnUTK/VgvRQ16XgSiokDpZLPZuDrDGBB2v6Svl8XsoTuDN+EFZJ5Hoy0dNxqc6rn 6Ng6ozxECH34UYA8RrIh4L5jrOJkXl0FRDC65HwhPB+7IuDXm3LcfOHOAYlJGP09jpv pt6cLbvpmtrgqvjfxda1LvCiKWPOU5vhR49tBIsuNCdWuwTyEflhonBBK+QUa9xvpT1 BvuNmPNr5G1QQO15sgtjkAAS2hPRwQRnfCgF+K93BhwhxC9umtPGojGYtVWcERTNioE 1dDDiz0xRjYZs4/ndrc9A+pmxJH1fNI4ZFHk9k8gwP1/9HrfwfIy5Pvvc5p4ycFxdCK Scmcxa3tA== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n237YVk9014451; Tue, 3 Mar 2009 08:34:31 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 03 Mar 2009 08:34:30 +0100 Message-ID: <20090303083430.64927hdcfxdcmjok@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Tue, 03 Mar 2009 08:34:30 +0100 From: Alexander Leidinger To: Novembre References: <3b47caa90903021351g4ceb832ap866cccd940cfb68b@mail.gmail.com> In-Reply-To: <3b47caa90903021351g4ceb832ap866cccd940cfb68b@mail.gmail.com> 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.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 7DC3F2E06B.E3504 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: Flash 9 crash problems 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, 03 Mar 2009 07:34:42 -0000 Quoting Novembre (from Mon, 2 Mar 2009 15:51:59 -0600): > Does anybody know what I should do to fix this? Yes, wait (or apply some patch if you feel confident enough). The person which has a fix for this got commit access recently (not =20 only for this fix). He is in the process of going to commit his =20 changes to -current. There are patches floating around for the problem =20 you have (look in the archive of this mailinglist and search for =20 "futex"), but I don't know if they apply to RELENG_7. FYI: 2.6.16 is not officially supported on RELENG_7, as it does not =20 contain everything what is in -current and makes up 2.6.16 emulation. =20 The problem you see with Flash can be solved in RELENG_7 too (AFAIK), =20 but some other things can not as they involve changes which we can not =20 do in RELENG_7. Feel free to report problems, but don't expect that =20 everything can be solved. Bye, Alexander. --=20 Toilet Toupee, n: =09Any shag carpet that causes the lid to become top-heavy, thus =09creating endless annoyance to male users. =09=09-- Rich Hall, "Sniglets" 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 Tue Mar 3 15:54:55 2009 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 8F1E21065670 for ; Tue, 3 Mar 2009 15:54:55 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 4BC258FC28 for ; Tue, 3 Mar 2009 15:54:55 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LeWxJ-000NwU-Fx for freebsd-emulation@freebsd.org; Tue, 03 Mar 2009 18:54:53 +0300 To: freebsd-emulation@freebsd.org From: Boris Samorodov Date: Tue, 03 Mar 2009 18:55:01 +0300 Message-ID: <14905754@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Subject: [patch] Mk/bsd.linux-rpm.mk: introduce some linux-f8 infrastructure 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, 03 Mar 2009 15:54:55 -0000 --=-=-= Hello List, I'm going to commit an attached patch. This patch is a noop for current ports structure (no need to ask an approval from portmgr) but is needed for new linux-f8 ports. There are two points (both taken from emulators/linux_base-f8): . define LINUX_OSRELEASE variable (linux-f8 packages should be build with compat.linux.osrelease=2.6.16); . define MASTER_SITE_SUBDIR and MASTER_SITE_SRC_SUBDIR when LINUX_DIST_VER=8 (no such ports ATM). Opinions are welcome. Thanks. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=Mk.diff Content-Description: a patch for bsd.linux-rpm.mk Index: bsd.linux-rpm.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.linux-rpm.mk,v retrieving revision 1.13 diff -u -r1.13 bsd.linux-rpm.mk --- bsd.linux-rpm.mk 15 Aug 2008 12:29:42 -0000 1.13 +++ bsd.linux-rpm.mk 3 Mar 2009 15:49:58 -0000 @@ -27,6 +27,11 @@ # contain libraries. # BRANDELF_FILES - A list of files to brand as a linux executable in # case BRANDELF_DIRS can't be used. +# LINUX_OSRELEASE - Contains the value of compat.linux.osrelease sysctl. +# Will be used to distinguish which linux +# infrastructure ports should be used. +# Valid values: 2.4.2, 2.6.16. +# Note: this variable must be used at bsd.linux.mk should it exists .if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) @@ -52,6 +57,10 @@ LINUX_RPM_ARCH?= ${ARCH} . endif +.if !defined(LINUX_OSRELEASE) +LINUX_OSRELEASE!= ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null` +.endif + .endif .if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) @@ -67,6 +76,16 @@ . if ${LINUX_DIST} == "fedora" . ifndef MASTER_SITES MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} +. endif +. if ${LINUX_DIST_VER} == 8 +. if (${LINUX_OSRELEASE} != "2.6.16") && defined(PACKAGE_BUILDING) +IGNORE= packages should be built with compat.linux.osrelease=2.6.16 +. endif +MASTER_SITE_SUBDIR?= ../releases/${LINUX_DIST_VER}/Everything/${LINUX_RPM_ARCH}/os/Packages \ + ../updates/${LINUX_DIST_VER}/${LINUX_RPM_ARCH}.newkey +MASTER_SITE_SRC_SUBDIR?= ../releases/${LINUX_DIST_VER}/Everything/source/SRPMS \ + ../updates/${LINUX_DIST_VER}/SRPMS.newkey +. else MASTER_SITE_SUBDIR?= ${LINUX_DIST_VER}/${LINUX_RPM_ARCH}/os/Fedora/RPMS \ updates/${LINUX_DIST_VER}/${LINUX_RPM_ARCH} MASTER_SITE_SRC_SUBDIR?= ${LINUX_DIST_VER}/SRPMS \ --=-=-= WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve --=-=-=-- From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 3 16:43:56 2009 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 03F02106564A for ; Tue, 3 Mar 2009 16:43:56 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 2845E8FC08 for ; Tue, 3 Mar 2009 16:43:54 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LeXik-000OZL-2Q for freebsd-emulation@FreeBSD.org; Tue, 03 Mar 2009 19:43:54 +0300 To: freebsd-emulation@FreeBSD.org From: Boris Samorodov Date: Tue, 03 Mar 2009 19:44:02 +0300 Message-ID: <93462813@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: Subject: [patch] Mk/bsd.port.mk introduce bsd.linux-apps.mk 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, 03 Mar 2009 16:43:56 -0000 --=-=-= Hello List, here is a patch i'm going to ask an approval of portmgr to commit. Imho there is no need to do an experimental run with because this patch only introduces a new bsd.linux-apps.mk to bsd.port.mk. Currently no ports are using this structure and nothing should changed. The new bsd.linux-apps.mk is much like bsd.gnome.mk and give an infrastructure for non linux distribution ports to use different linux distributions. Example: --- acroread8 Makefile now --- RUN_DEPENDS= acroreadwrapper>=0.0.20080906:${PORTSDIR}/print/acroreadwrapper \ ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2 \ ${LINUXBASE}/usr/lib/libpango-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-pango \ ${LOCALBASE}/lib/linux-nvu/libgtkembedmoz.so:${PORTSDIR}/www/linux-nvu \ ${LINUXBASE}/usr/lib/gtk-2.0/immodules/im-scim.so:${PORTSDIR}/textproc/linux-scim-gtk ----- --- acroread8 Makefile in the future --- RUN_DEPENDS= acroreadwrapper>=0.0.20080906:${PORTSDIR}/print/acroreadwrapper USE_LINUX_APPS= gtk2 pango scimlibs webauth ----- Then acroread8 may be used both with linux_base-fc4 linux_base-f8 and their infrastructure ports. Opinions are welcome. Thanks: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=Mk.diff.apps Content-Description: introduce bsd.linux-apps.mk Index: bsd.port.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v retrieving revision 1.611 diff -u -r1.611 bsd.port.mk --- bsd.port.mk 23 Feb 2009 12:53:48 -0000 1.611 +++ bsd.port.mk 3 Mar 2009 16:07:06 -0000 @@ -1339,6 +1339,10 @@ .include "${PORTSDIR}/Mk/bsd.linux-rpm.mk" .endif +.if defined(USE_LINUX_APPS) +.include "${PORTSDIR}/Mk/bsd.linux-apps.mk" +.endif + .if defined(X_WINDOW_SYSTEM) && ${X_WINDOW_SYSTEM:L} != "xorg" IGNORE= cannot be installed: bad X_WINDOW_SYSTEM setting; valid value is 'xorg' .endif @@ -1955,6 +1959,10 @@ .include "${PORTSDIR}/Mk/bsd.linux-rpm.mk" .endif +.if defined(USE_LINUX_APPS) +.include "${PORTSDIR}/Mk/bsd.linux-apps.mk" +.endif + .if defined (USE_QT_VER) && ${USE_QT_VER:L} == 4 .include "${PORTSDIR}/Mk/bsd.qt.mk" .endif Index: bsd.linux-apps.mk =================================================================== RCS file: bsd.linux-apps.mk diff -N bsd.linux-apps.mk --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ bsd.linux-apps.mk 3 Mar 2009 16:07:04 -0000 @@ -0,0 +1,325 @@ +#-*- mode: Makefile; tab-width: 4; -*- +# ex:ts=4 +# +# $FreeBSD$ +# +# Please view me with 4 column tabs! + +# This section defines possible names of linux infrastructure ports +# (components) and all information necessary for ports to use those components. +# +# Ports can use this as follows: +# +# USE_LINUX_APPS= esound xorglibs +# +# .include +# +# As a result proper RUN_DEPENDS will be added. +# +# Variables: +# LINUX_OSRELEASE - Contains the value of compat.linux.osrelease sysctl. +# Will be used to distinguish which linux +# infrastructure ports should be used. +# Valid values: 2.4.2, 2.6.16. +# Note: this variable must be used at bsd.linux.mk should it exist +# LINUX_DIST_SUFFIX - Contains the value which is added to a port's name +# (i.e. linux-port ) to get the right +# linux infrastructure port. +# _ALL_LINUX_APPS - A (sorted) list of all linux infrastructure ports +# (components), covered here. + +.if !defined(_POSTMKINCLUDED) && !defined(Linux_APPS_Pre_Include) + +Linux_APPS_Include_MAINTAINER= emulation@FreeBSD.org +Linux_APPS_Pre_Include= bsd.linux-apps.mk + +.endif + +.if defined(_POSTMKINCLUDED) && !defined(Linux_APPS_Post_Include) + +Linux_APPS_Post_Include= bsd.linux-apps.mk + +. if (${LINUX_OSRELEASE} == "2.6.16") && (${USE_LINUX} == "f8") +LINUX_DIST_SUFFIX= -f8 +WEB_AUTH= kompozer +. else +LINUX_DIST_SUFFIX= +WEB_AUTH= nvu +. endif + +# Non-version specific components +_LINUX_APPS_ALL= allegro alsalib arts aspell atk cairo esound expat fontconfig \ + gfreealut dkpixbuf gtk gtk2 hicontheme imlib jpeg libaudiofile \ + llibg2c libglade ibglade2 libglu libmng libogg libsigcpp20 \ + libucl libvorbis libxml libxml2 mikmod openal openssl pango png png10 qt33 \ + scimlibs sdl12 sdlimage sdlmixer tiff xorglibs ungif upx webauth + +# 2.4.2 components +_LINUX_APPS_ALL+= + +# 2.6.16 components +_LINUX_APPS_ALL+= + +# Component definition section +# +# component${LINUX_DIST_SUFFIX:S/-//}_FILE +# - Variables are used to name a file to check, +# file names may differ for different LINUX_DIST_SUFFIX. +# The value is LINUX_DIST_SUFFIX without the leading dash. +# component_DETECT - The resulting file to check for a dependency existence. +# component_PORT - A port which will be used to install a missing dependency. +# component_DEPENDS - A list of components the current component depends on. + +allegro_FILE= ${LINUXBASE}/usr/lib/liballeg-4.0.3.so +allegro_f8_FILE= ${LINUXBASE}/usr/lib/liballeg-4.2.2.so +allegro_DETECT= ${allegro_${LINUX_DIST_SUFFIX:S/-//}_FILE} +allegro_PORT= ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-allegro +allegro_DEPENDS= alsalib xorglibs + +alsalib_FILE= ${LINUXBASE}/lib/libasound.so.2.0.0 +alsalib_f8_FILE= ${alsalib_FILE} +alsalib_DETECT= ${alsalib_${LINUX_DIST_SUFFIX:S/-//}_FILE} +alsalib_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-alsa-lib + +arts_FILE= ${LINUXBASE}/usr/lib/libartsc.so.0 +arts_f8_FILE= ${arts_FILE} +arts_DETECT= ${arts_${LINUX_DIST_SUFFIX:S/-//}_FILE} +arts_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-arts + +aspell_FILE= ${LINUXBASE}/usr/lib/libaspell.so.15.0.2 +aspell_f8_FILE= ${LINUXBASE}/usr/lib/libaspell.so.15.1.4 +aspell_DETECT= ${aspell_${LINUX_DIST_SUFFIX:S/-//}_FILE} +aspell_PORT= ${PORTSDIR}/textproc/linux${LINUX_DIST_SUFFIX}-aspell + +atk_FILE= ${LINUXBASE}/usr/lib/libatk-1.0.so.0.1.9.1 +atk_f8_FILE= ${LINUXBASE}/usr/lib/libatk-1.0.so.0.2009.1 +atk_DETECT= ${atk_${LINUX_DIST_SUFFIX:S/-//}_FILE} +atk_PORT= ${PORTSDIR}/accessibility/linux${LINUX_DIST_SUFFIX}-atk + +cairo_FILE= ${LINUXBASE}/usr/lib/libcairo.so.2.2.3 +cairo_f8_FILE= ${LINUXBASE}/usr/lib/libcairo.so.2.11.7 +cairo_DETECT= ${cairo_${LINUX_DIST_SUFFIX:S/-//}_FILE} +cairo_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-cairo +cairo_DEPENDS= fontconfig png xorglibs + +esound_FILE= ${LINUXBASE}/usr/lib/libesd.so.0.2.36 +esound_f8_FILE= ${LINUXBASE}/usr/lib/libesd.so.0.2.38 +esound_DETECT= ${esound_${LINUX_DIST_SUFFIX:S/-//}_FILE} +esound_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-esound +esound_DEPENDS= alsalib libaudiofile + +expat_FILE= ${LINUXBASE}/usr/lib/libexpat.so.0 +expat_f8_FILE= ${LINUXBASE}/lib/libexpat.so.1 +expat_DETECT= ${expat_${LINUX_DIST_SUFFIX:S/-//}_FILE} +expat_PORT= ${PORTSDIR}/textproc/linux${LINUX_DIST_SUFFIX}-expat + +fontconfig_FILE= ${LINUXBASE}/usr/lib/libfontconfig.so.1 +fontconfig_f8_FILE= ${LINUXBASE}/usr/lib/libfontconfig.so.1.2.0 +fontconfig_DETECT= ${fontconfig_${LINUX_DIST_SUFFIX:S/-//}_FILE} +fontconfig_PORT= ${PORTSDIR}/x11-fonts/linux${LINUX_DIST_SUFFIX}-fontconfig +fontconfig_DEPENDS= expat + +freealut_FILE= ${LINUXBASE}/usr/lib/libalut.so.0.1.0 +freealut_f8_FILE= ${freealut_FILE} +freealut_DETECT= {freealut_${LINUX_DIST_SUFFIX:S/-//}_FILE} +freealut_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-freealut + +gdkpixbuf_FILE= ${LINUXBASE}/usr/lib/libgdk_pixbuf.so.2 +gdkpixbuf_f8_FILE= ${gdkpixbuf_FILE} +gdkpixbuf_DETECT= ${gdkpixbuf_${LINUX_DIST_SUFFIX:S/-//}_FILE} +gdkpixbuf_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-gdk-pixbuf + +gtk_FILE= ${LINUXBASE}/usr/lib/libgtk-1.2.so.0.9.1 +gtk_f8_FILE= ${gtk_FILE} +gtk_DETECT= ${gtk_${LINUX_DIST_SUFFIX:S/-//}_FILE} +gtk_PORT= ${PORTSDIR}/x11-toolkits/linux${LINUX_DIST_SUFFIX}-gtk + +gtk2_FILE= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0.600.10 +gtk2_f8_FILE= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0.1200.5 +gtk2_DETECT= ${gtk2_${LINUX_DIST_SUFFIX:S/-//}_FILE} +gtk2_PORT= ${PORTSDIR}/x11-toolkits/linux${LINUX_DIST_SUFFIX}-gtk2 +gtk2_DEPENDS= atk jpeg png pango tiff xorglibs + +hicontheme_FILE= ${LINUXBASE}/usr/share/icons/hicolor +hicontheme_f8_FILE= ${hicontheme_FILE} +hicontheme_DETECT= ${hicontheme_${LINUX_DIST_SUFFIX:S/-//}_FILE} +hicontheme_PORT= ${PORTSDIR}/x11-themes/linux-hicolor-icon-theme + +imlib_FILE= ${LINUXBASE}/usr/lib/libgdk_imlib.so.1.9.13 +imlib_f8_FILE= ${LINUXBASE}/usr/lib/libgdk_imlib.so.1.9.15 +imlib_DETECT= ${imlib_${LINUX_DIST_SUFFIX:S/-//}_FILE} +imlib_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-imlib + +jpeg_FILE= ${LINUXBASE}/usr/lib/libjpeg.so.62.0.0 +jpeg_f8_FILE= ${jpeg_FILE} +jpeg_DETECT= ${jpeg_${LINUX_DIST_SUFFIX:S/-//}_FILE} +jpeg_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-jpeg + +libaudiofile_FILE= ${LINUXBASE}/usr/lib/libaudiofile.so.0.0.2 +libaudiofile_f8_FILE=${libaudiofile_FILE} +libaudiofile_DETECT=${libaudiofile_${LINUX_DIST_SUFFIX:S/-//}_FILE} +libaudiofile_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-libaudiofile + +libg2c_FILE= ${LINUXBASE}/usr/lib/libg2c.so.0.0.0 +libg2c_f8_FILE= ${libg2c_FILE} +libg2c_DETECT= ${libg2c_${LINUX_DIST_SUFFIX:S/-//}_FILE} +libg2c_PORT= ${PORTSDIR}/lang/linux${LINUX_DIST_SUFFIX}-libg2c + +libglade_FILE= ${LINUXBASE}/usr/lib/libglade.so.0.4.2 +libglade_f8_FILE= ${libglade_FILE} +libglade_DETECT= ${libglade_${LINUX_DIST_SUFFIX:S/-//}_FILE} +libglade_PORT= ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-libglade + +libglade2_FILE= ${LINUXBASE}/usr/lib/libglade-2.0.so.0.0.7 +libglade2_f8_FILE= ${libglade2_FILE} +libglade2_DETECT= ${libglade2_${LINUX_DIST_SUFFIX:S/-//}_FILE} +libglade2_PORT= ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-libglade2 + +libglu_FILE= ${LINUXBASE}/usr/X11R6/lib/libGLU.so.1.3 +libglu_f8_FILE= ${LINUXBASE}/usr/lib/libGLU.so.1.3.070002 +libglu_DETECT= ${libglu_${LINUX_DIST_SUFFIX:S/-//}_FILE} +libglu_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-libGLU + +libmng_FILE= ${LINUXBASE}/usr/lib/libmng.so.1.0.0 +libmng_f8_FILE= ${libmng_FILE} +libmng_DETECT= ${libmng_${LINUX_DIST_SUFFIX:S/-//}_FILE} +libmng_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-libmng +libmng_DEPENDS= jpeg + +libogg_FILE= ${LINUXBASE}/usr/lib/libogg.so.0.5.2 +libogg_f8_FILE= ${LINUXBASE}/usr/lib/libogg.so.0.5.3 +libogg_DETECT= ${libogg_${LINUX_DIST_SUFFIX:S/-//}_FILE} +libogg_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-libogg + +libsigcpp20_FILE= ${LINUXBASE}/usr/lib/libsigc-2.0.so.0 +libsigcpp20_f8_FILE=${libsigcpp20_FILE} +libsigcpp20_DETECT= ${libsigcpp20_${LINUX_DIST_SUFFIX:S/-//}_FILE} +libsigcpp20_PORT= ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-libsigc++20 + +libucl_FILE= ${LINUXBASE}/usr/lib/libucl.so.1 +libucl_f8_FILE= ${libucl_FILE} +libucl_DETECT= ${libucl_${LINUX_DIST_SUFFIX:S/-//}_FILE} +libucl_PORT= ${PORTSDIR}/archivers/linux${LINUX_DIST_SUFFIX}-ucl + +libvorbis_FILE= ${LINUXBASE}/usr/lib/libvorbis.so.0.3.0 +libvorbis_f8_FILE= ${LINUXBASE}/usr/lib/libvorbis.so.0.4.0 +libvorbis_DETECT= ${libvorbis_${LINUX_DIST_SUFFIX:S/-//}_FILE} +libvorbis_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-libvorbis + +libxml_FILE= ${LINUXBASE}/usr/lib/libxml.so.1.8.17 +libxml_f8_FILE= ${libxml_FILE} +libxml_DETECT= ${libxml_${LINUX_DIST_SUFFIX:S/-//}_FILE} +libxml_PORT= ${PORTSDIR}/textproc/linux${LINUX_DIST_SUFFIX}-libxml + +libxml2_FILE= ${LINUXBASE}/usr/lib/libxml2.so.2.6.19 +libxml2_f8_FILE= ${LINUXBASE}/usr/lib/libxml2.so.2.6.31 +libxml2_DETECT= ${libxml2_${LINUX_DIST_SUFFIX:S/-//}_FILE} +libxml2_PORT= ${PORTSDIR}/textproc/linux${LINUX_DIST_SUFFIX}-libxml2 + +mikmod_FILE= ${LINUXBASE}/usr/lib/libmikmod.so.2.0.4 +mikmod_f8_FILE= ${mikmod_FILE} +mikmod_DETECT= ${mikmod_${LINUX_DIST_SUFFIX:S/-//}_FILE} +mikmod_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-mikmod + +openal_FILE= ${LINUXBASE}/usr/lib/libopenal.so.0.0.0 +openal_f8_FILE= ${openal_FILE} +openal_DETECT= ${openal_${LINUX_DIST_SUFFIX:S/-//}_FILE} +openal_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-openal + +openssl_FILE= ${LINUXBASE}/lib/libssl.so.0.9.7f +openssl_f8_FILE= ${LINUXBASE}/lib/libssl.so.0.9.8b +openssl_DETECT= ${openssl_${LINUX_DIST_SUFFIX:S/-//}_FILE} +openssl_PORT= ${PORTSDIR}/security/linux${LINUX_DIST_SUFFIX}-openssl + +pango_FILE= ${LINUXBASE}/usr/lib/libpango-1.0.so.0.1001.1 +pango_f8_FILE= ${LINUXBASE}/usr/lib/libpango-1.0.so.0.1800.4 +pango_DETECT= ${pango_${LINUX_DIST_SUFFIX:S/-//}_FILE} +pango_PORT= ${PORTSDIR}/x11-toolkits/linux${LINUX_DIST_SUFFIX}-pango +pango_DEPENDS= cairo expat fontconfig + +png_FILE= ${LINUXBASE}/usr/lib/libpng.so.3.1.2.8 +png_f8_FILE= ${LINUXBASE}/usr/lib/libpng.so.3.22.0 +png_DETECT= ${png_${LINUX_DIST_SUFFIX:S/-//}_FILE} +png_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-png + +png10_FILE= ${LINUXBASE}/usr/lib/libpng.so.2.1.0.18 +png10_f8_FILE= ${LINUXBASE}/usr/lib/libpng.so.2.1.0.30 +png10_DETECT= ${png10_${LINUX_DIST_SUFFIX:S/-//}_FILE} +png10_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-png10 + +qt33_FILE= ${LINUXBASE}/usr/lib/qt-3.3/lib/libqt-mt.so.3.3.4 +qt33_f8_FILE= ${LINUXBASE}/usr/lib/qt-3.3/lib/libqt-mt.so.3.3.8 +qt33_DETECT= ${qt33_${LINUX_DIST_SUFFIX:S/-//}_FILE} +qt33_PORT= ${PORTSDIR}/x11-toolkits/linux${LINUX_DIST_SUFFIX}-qt33 + +sdl12_FILE= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0.7.3 +sdl12_f8_FILE= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0.11.2 +sdl12_DETECT= ${sdl12_${LINUX_DIST_SUFFIX:S/-//}_FILE} +sdl12_PORT= ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-sdl12 + +sdlimage_FILE= ${LINUXBASE}/usr/lib/libSDL_image-1.2.so.0.1.4 +sdlimage_f8_FILE= ${LINUXBASE}/usr/lib/libSDL_image-1.2.so.0.1.5 +sdlimage_DETECT= ${sdlimage_${LINUX_DIST_SUFFIX:S/-//}_FILE} +sdlimage_PORT= graphics/linux${LINUX_DIST_SUFFIX}-sdl_image + +sdlmixer_FILE= ${LINUXBASE}/usr/lib/libSDL_mixer-1.2.so.0.2.4 +sdlmixer_f8_FILE= ${LINUXBASE}/usr/lib/libSDL_mixer-1.2.so.0.2.6 +sdlmixer_DETECT= ${sdlmixer_${LINUX_DIST_SUFFIX:S/-//}_FILE} +sdlmixer_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-sdl_mixer +sdlmixer_DEPENDS= sdl12 + +scimlibs_FILE= ${LINUXBASE}/usr/lib/libscim-1.0.so.8.1.0 +scimlibs_f8_FILE= ${LINUXBASE}/usr/lib/libscim-1.0.so.8.2.3 +scimlibs_DETECT= ${scimlibs_${LINUX_DIST_SUFFIX:S/-//}_FILE} +scimlibs_PORT= ${PORTSDIR}/textproc/linux${LINUX_DIST_SUFFIX}-scim-libs +scimlibs_DEPENDS= gtk2 + +tiff_FILE= ${LINUXBASE}/usr/lib/libtiff.so.3.7.1 +tiff_f8_FILE= ${LINUXBASE}/usr/lib/libtiff.so.3.8.2 +tiff_DETECT= ${tiff_${LINUX_DIST_SUFFIX:S/-//}_FILE} +tiff_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-tiff +tiff_DEPENDS= jpeg + +xorglibs_FILE= ${LINUXBASE}/usr/X11R6/lib/libXrandr.so.2.0 +xorglibs_f8_FILE= ${LINUXBASE}/usr/lib/libXrandr.so.2.1.0 +xorglibs_DETECT= ${xorglibs_${LINUX_DIST_SUFFIX:S/-//}_FILE} +xorglibs_PORT= ${PORTSDIR}/x11/linux${LINUX_DIST_SUFFIX}-xorg-libs +xorglibs_DEPENDS= fontconfig + +ungif_FILE= ${LINUXBASE}/usr/lib/libgif.so.4.1.3 +ungif_f8_FILE= ${ungif_FILE} +ungif_DETECT= ${ungif_${LINUX_DIST_SUFFIX:S/-//}_FILE} +ungif_PORT= ${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-ungif + +upx_FILE= ${LINUXBASE}/usr/bin/upx +upx_f8_FILE= ${upx_FILE} +upx_DETECT= ${upx_${LINUX_DIST_SUFFIX:S/-//}_FILE} +upx_PORT= ${PORTSDIR}/archivers/linux${LINUX_DIST_SUFFIX}-upx + +webauth_FILE= ${LOCALBASE}/bin/nvu +webauth_f8_FILE= ${LOCALBASE}/bin/kompozer +webauth_DETECT= ${webauth_${LINUX_DIST_SUFFIX:S/-//}_FILE} +webauth_PORT= ${PORTSDIR}/www/linux-${WEB_AUTH} +webauth_DEPENDS= gtk2 atk pango fontconfig + +# End component definition section + +# Recursively expand all dependencies for each app at _LINUX_APPS_ALL +. for component in ${_LINUX_APPS_ALL} +. for subcomponent in ${${component}_DEPENDS} +${component}_DEPENDS+=${${subcomponent}_DEPENDS} +. endfor +. endfor + +# Use just expanded dependencies (_DEPENDS) to expand USE_LINUX_APPS +. for component in ${USE_LINUX_APPS} +_USE_LINUX_APPS+=${${component}_DEPENDS} ${component} +. endfor + +# Set dependencies for _USE_LINUX_APPS which exists at _LINUX_APPS_ALL +. for component in ${_LINUX_APPS_ALL} +. if ${_USE_LINUX_APPS:M${component}}!="" +RUN_DEPENDS+= ${${component}_DETECT}:${${component}_PORT} +. endif +. endfor +.endif --=-=-= WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve --=-=-=-- From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 4 02:41:04 2009 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 90BC1106566C for ; Wed, 4 Mar 2009 02:41:04 +0000 (UTC) (envelope-from novembre@gmail.com) Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id 357048FC23 for ; Wed, 4 Mar 2009 02:41:04 +0000 (UTC) (envelope-from novembre@gmail.com) Received: by gxk24 with SMTP id 24so7220211gxk.19 for ; Tue, 03 Mar 2009 18:41:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=NTbaplA0BzcUJzpwGl67W+rM32jYSI2N/Xzjhdyqu0I=; b=pyiJ0WAAQGzWvgz3K988dabXLO15gfzDLa1Jt+UKE4h023CTTMxyasPorn6MU3+It0 JcAajmSOODfVnHkP0k1MVufL9lJ7rj/M4jILPGxPdpubmYh71ue9YDngmY/sX56qx9zE /nsP2NLpRSsNancApqdxax/lT8ifGtrFLlTTw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kYNsl5MmLcYXhnL3lY6aldrikSWYvLcNbQmQikCUC39x22PIzkGu/tLq16d7pAZNSQ 7nso6N8Bo9ThJafFu18vfyzHcdDXnAezXPCfEFlQYQcXEW79SoTXg0gWoUcgUEahx5CI TjofoVObg/EUpg9zaVG5yvTnoaTGGc6Qy+6pw= MIME-Version: 1.0 Received: by 10.220.46.136 with SMTP id j8mr2642490vcf.72.1236134463370; Tue, 03 Mar 2009 18:41:03 -0800 (PST) In-Reply-To: <20090303083430.64927hdcfxdcmjok@webmail.leidinger.net> References: <3b47caa90903021351g4ceb832ap866cccd940cfb68b@mail.gmail.com> <20090303083430.64927hdcfxdcmjok@webmail.leidinger.net> Date: Tue, 3 Mar 2009 20:41:03 -0600 Message-ID: <3b47caa90903031841m75eb3553jdd38cc47972990cc@mail.gmail.com> From: Novembre To: Alexander Leidinger Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-emulation@freebsd.org Subject: Re: Flash 9 crash problems 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, 04 Mar 2009 02:41:04 -0000 On Tue, Mar 3, 2009 at 1:34 AM, Alexander Leidinger wrote: > Quoting Novembre (from Mon, 2 Mar 2009 15:51:59 > -0600): > > Does anybody know what I should do to fix this? >> > > Yes, wait (or apply some patch if you feel confident enough). > > The person which has a fix for this got commit access recently (not only > for this fix). He is in the process of going to commit his changes to > -current. There are patches floating around for the problem you have (look > in the archive of this mailinglist and search for "futex"), but I don't know > if they apply to RELENG_7. > > FYI: 2.6.16 is not officially supported on RELENG_7, as it does not contain > everything what is in -current and makes up 2.6.16 emulation. The problem > you see with Flash can be solved in RELENG_7 too (AFAIK), but some other > things can not as they involve changes which we can not do in RELENG_7. Feel > free to report problems, but don't expect that everything can be solved. > > Bye, > Alexander. > > -- > Toilet Toupee, n: > Any shag carpet that causes the lid to become top-heavy, thus > creating endless annoyance to male users. > -- Rich Hall, "Sniglets" > > http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 > http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 > I found two posts containing patches regarding this issue: 1) http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2008/freebsd-emulation/20081228.freebsd-emulation 2) http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2009/freebsd-emulation/20090215.freebsd-emulation The first post contains two patches, of which one is marked specifically for 7-STABLE (as of Dec 21, 2008 when the patches were made available). The second post also has a patch, but I don't know whether it is for 8-CURRENT or 7-STABLE. Which one should I apply? Thanks :) From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 4 04:57:26 2009 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 C73801065672 for ; Wed, 4 Mar 2009 04:57:26 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 477CF8FC19 for ; Wed, 4 Mar 2009 04:57:25 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id E190969A31; Wed, 4 Mar 2009 07:57:23 +0300 (MSK) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1658847631; Wed, 04 Mar 2009 07:57:23 +0300 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n244vNsP002298; Wed, 4 Mar 2009 07:57:23 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n244vIJ6002297; Wed, 4 Mar 2009 07:57:18 +0300 (MSK) (envelope-from dchagin) Date: Wed, 4 Mar 2009 07:57:18 +0300 From: Chagin Dmitry To: Novembre Message-ID: <20090304045718.GA2274@dchagin.static.corbina.ru> References: <3b47caa90903021351g4ceb832ap866cccd940cfb68b@mail.gmail.com> <20090303083430.64927hdcfxdcmjok@webmail.leidinger.net> <3b47caa90903031841m75eb3553jdd38cc47972990cc@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <3b47caa90903031841m75eb3553jdd38cc47972990cc@mail.gmail.com> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Alexander Leidinger , freebsd-emulation@freebsd.org Subject: Re: Flash 9 crash problems 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, 04 Mar 2009 04:57:27 -0000 --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 03, 2009 at 08:41:03PM -0600, Novembre wrote: > On Tue, Mar 3, 2009 at 1:34 AM, Alexander Leidinger > wrote: >=20 > > Quoting Novembre (from Mon, 2 Mar 2009 15:51:59 > > -0600): > > > > Does anybody know what I should do to fix this? > >> > > > > Yes, wait (or apply some patch if you feel confident enough). > > > > The person which has a fix for this got commit access recently (not only > > for this fix). He is in the process of going to commit his changes to > > -current. There are patches floating around for the problem you have (l= ook > > in the archive of this mailinglist and search for "futex"), but I don't= know > > if they apply to RELENG_7. > > > > FYI: 2.6.16 is not officially supported on RELENG_7, as it does not con= tain > > everything what is in -current and makes up 2.6.16 emulation. The probl= em > > you see with Flash can be solved in RELENG_7 too (AFAIK), but some other > > things can not as they involve changes which we can not do in RELENG_7.= Feel > > free to report problems, but don't expect that everything can be solved. > > > > Bye, > > Alexander. > > > > -- > > Toilet Toupee, n: > > Any shag carpet that causes the lid to become top-heavy, thus > > creating endless annoyance to male users. > > -- Rich Hall, "Sniglets" > > > > http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063= FE7 > > http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077= 137 > > >=20 >=20 > I found two posts containing patches regarding this issue: > 1) > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D0+0+archive/2008/freebsd-e= mulation/20081228.freebsd-emulation > 2) > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D0+0+archive/2009/freebsd-e= mulation/20090215.freebsd-emulation >=20 > The first post contains two patches, of which one is marked specifically = for > 7-STABLE (as of Dec 21, 2008 when the patches were made available). The > second post also has a patch, but I don't know whether it is for 8-CURRENT > or 7-STABLE. Which one should I apply? >=20 hi, we start commiting, please wait a couple of weeks... --=20 Have fun! chd --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkmuCi0ACgkQ0t2Tb3OO/O1ulQCgu6srVeYFaMKJRoJZ+fqs4CB6 6mIAnRm8QG9LmRdQ6tHs/jkzVRA9ZdPz =zLkn -----END PGP SIGNATURE----- --9amGYk9869ThD9tj-- From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 4 07:43:24 2009 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 3C9981065678 for ; Wed, 4 Mar 2009 07:43:24 +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 DBC348FC22 for ; Wed, 4 Mar 2009 07:43:23 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E957.dip.t-dialin.net [217.226.233.87]) by redbull.bpaserver.net (Postfix) with ESMTP id 3C6302E2A4; Wed, 4 Mar 2009 08:43:20 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id C5EB8194047; Wed, 4 Mar 2009 08:43:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1236152596; bh=LkYERxnAjmzpXlny6oTUOPYrEdMzh8axY itrHb6HUts=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=qvZQ2UhoqRf27qicIflHReVQlM24Zgbd1uFZmG1ojG9fWYaID/ssQXyqphxnD8nzT ijcvwpTzJWwCvDcc2OUEag4nHtG3VCD44xvgG5h03GRZkrciu4Ua09NOVgB9F2kBiTG le0JyWh/Q+nlSxuyTo52bV+HOiL8eYXXEL4kyJh5TK4sNg4cDfFpjnLB/yif5C2BKUj 32lHU2LVNjGNnYerUdcWNRUm7FngrTwAJYSNDftK7/l2NnRaUa5W7rTpSUx0w4jV/na qwsapO9ahj/qfriNwyOddhmk6RSMbT4b1kX7ng14peFExwz5Bu2PACkS6waPrpjWUMD svmceJaYg== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n247hFt2043485; Wed, 4 Mar 2009 08:43:15 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 04 Mar 2009 08:43:15 +0100 Message-ID: <20090304084315.587314cev8vm3f34@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 04 Mar 2009 08:43:15 +0100 From: Alexander Leidinger To: Novembre References: <3b47caa90903021351g4ceb832ap866cccd940cfb68b@mail.gmail.com> <20090303083430.64927hdcfxdcmjok@webmail.leidinger.net> <3b47caa90903031841m75eb3553jdd38cc47972990cc@mail.gmail.com> In-Reply-To: <3b47caa90903031841m75eb3553jdd38cc47972990cc@mail.gmail.com> 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.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 3C6302E2A4.A16BC X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-13.504, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: Flash 9 crash problems 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, 04 Mar 2009 07:43:24 -0000 Quoting Novembre (from Tue, 3 Mar 2009 20:41:03 -0600): > I found two posts containing patches regarding this issue: > 1) > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D0+0+archive/2008/freebsd-em= ulation/20081228.freebsd-emulation > 2) > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D0+0+archive/2009/freebsd-em= ulation/20090215.freebsd-emulation > > The first post contains two patches, of which one is marked specifically f= or > 7-STABLE (as of Dec 21, 2008 when the patches were made available). The > second post also has a patch, but I don't know whether it is for 8-CURRENT > or 7-STABLE. Which one should I apply? If you do not want to wait: the patch utility has the option "-C" =20 which just tries to apply the patch but does not really apply it. This =20 way you can see if a patch is applicable to what you have or not. This =20 way you can test if one of all those patches applies at all to what =20 you have. In the worst case it applies, but you get a kernel panic =20 upon use of some linux stuff (you may lose data because of this). In =20 the best case at least one applies and it works perfectly. Bye, Alexander. --=20 If we see the light at the end of the tunnel It's the light of an oncoming train. =09=09-- Robert Lowell 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 Wed Mar 4 08:31:49 2009 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 953ED106566B for ; Wed, 4 Mar 2009 08:31:49 +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 0CA548FC14 for ; Wed, 4 Mar 2009 08:31:48 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E957.dip.t-dialin.net [217.226.233.87]) by redbull.bpaserver.net (Postfix) with ESMTP id BA8762E2E6; Wed, 4 Mar 2009 09:31:42 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 550AB1B8519; Wed, 4 Mar 2009 09:31:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1236155499; bh=Yghn1ftEtmO8KfOf2GNMHZL0ffncLfCD4 SSP/Lg8KjA=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=i0/Tbh4XR9L4ySy63KXpK//qZWZX5J20pEYZKVZqVVJQlM+8yBbTDH+0f4qBnRu9O jsN8PrjlKqDXeDpXYRF/xR/qsmiSqfQXrIhI2oHDkPlZmkY+OWcCEahhjNM4Gy8TvxA F6piyBkV1ZawxRLeMjxOv/6gkQdKeMrGR2W1DLrYGmiGq21kSeikeqOvEjnSVQvwBKJ q0iEi0MBiYmlXgsIj/sv4Av0CU5D32U2nH2HYZE6vMRIuA7MqtPgwzvIkY7Tp8Lmq8u Dp+BJ0foiSQha0aiEBO9pCsQmcMLlrjCyrAvm6mZG55d0bBTpxFfUOcoyD8dNcE/JRt MpBZW881g== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n248VcE1020521; Wed, 4 Mar 2009 09:31:38 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 04 Mar 2009 09:31:37 +0100 Message-ID: <20090304093137.10733oaty524f0is@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 04 Mar 2009 09:31:37 +0100 From: Alexander Leidinger To: Boris Samorodov References: <14905754@bb.ipt.ru> In-Reply-To: <14905754@bb.ipt.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.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: BA8762E2E6.411BB X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-13.427, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10, TW_FN 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: [patch] Mk/bsd.linux-rpm.mk: introduce some linux-f8 infrastructure 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, 04 Mar 2009 08:31:49 -0000 Quoting Boris Samorodov (from Tue, 03 Mar 2009 18:55:01 +0300)= : > I'm going to commit an attached patch. This patch is a noop for > current ports structure (no need to ask an approval from portmgr) > but is needed for new linux-f8 ports. While I agree with you... does portmgr agree with you too? Sometimes =20 they have different opinions than committers about what should be =20 tested in an exp-build. > There are two points (both taken from emulators/linux_base-f8): > . define LINUX_OSRELEASE variable (linux-f8 packages should be > build with compat.linux.osrelease=3D2.6.16); Why do you use ECHO_CMD? Is there some whitespace which needs to be deleted? > . define MASTER_SITE_SUBDIR and MASTER_SITE_SRC_SUBDIR when > LINUX_DIST_VER=3D8 (no such ports ATM). Why is there ifndef MASTER_SITES (only in the context of your patch, =20 so not really related)? Is there a difference for "?=3D" between an =20 empty MASTER_SITES and an undefined one? Bye, Alexander. --=20 And this is good old Boston, The home of the bean and the cod, Where the Lowells talk only to Cabots, And the Cabots talk only to God. 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 Wed Mar 4 08:40:19 2009 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 F304C106566C for ; Wed, 4 Mar 2009 08:40:18 +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 A02AC8FC15 for ; Wed, 4 Mar 2009 08:40:18 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E957.dip.t-dialin.net [217.226.233.87]) by redbull.bpaserver.net (Postfix) with ESMTP id 207182E267; Wed, 4 Mar 2009 09:40:14 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 89FEC1C186B; Wed, 4 Mar 2009 09:40:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1236156010; bh=hwtBW4I0moRd7FmSaV/BJo7yv/2OhGFyD /CAzklfPcc=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=RAM0jCJW77VemGKlgvX16UgOFDpAwvgtifuZaDkEiUpuWs2NgRzU+qeJQmME8sDEU 3cxMgVH9dXIt+/FZQzFMoBE0Mvo3zGAtMP1UqG6O6QF/FlWkPH9blbw8EGJGGcUUDD2 D10Tm/S7oA+r5u6SH/A0pQIcyuRI8Cp1HlxcHtu56DQEB5m0/fbseRLBniP5AcJpzFp k2bLDDAVqQPzY6XK+6LkRTBr8TIof3widCZqhAAbsGLRq25zmPtAdN5l1l1XFfrqEBg Hb5Qb3UDzrmdWk1btqTGYdtLArFcEwRJq3gfvqlJb0Bn75BZVN83/Vcozo31Zfr7peA knvxJ+vLw== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n248e9GX040047; Wed, 4 Mar 2009 09:40:09 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 04 Mar 2009 09:40:08 +0100 Message-ID: <20090304094008.16846rstcvof4ngo@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 04 Mar 2009 09:40:08 +0100 From: Alexander Leidinger To: Boris Samorodov References: <93462813@bb.ipt.ru> In-Reply-To: <93462813@bb.ipt.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.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 207182E267.C5B42 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@FreeBSD.org Subject: Re: [patch] Mk/bsd.port.mk introduce bsd.linux-apps.mk 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, 04 Mar 2009 08:40:19 -0000 Quoting Boris Samorodov (from Tue, 03 Mar 2009 19:44:02 +0300): > The new bsd.linux-apps.mk is much like bsd.gnome.mk and give an > infrastructure for non linux distribution ports to use different > linux distributions. Example: Yeah! Great work! Bye, Alexander. -- << WAIT >> 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 Wed Mar 4 09:23:37 2009 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 3A4C01065673 for ; Wed, 4 Mar 2009 09:23:37 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id E87438FC0A for ; Wed, 4 Mar 2009 09:23:36 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LenKB-000AVf-Mj; Wed, 04 Mar 2009 12:23:35 +0300 To: Alexander Leidinger References: <14905754@bb.ipt.ru> <20090304093137.10733oaty524f0is@webmail.leidinger.net> From: Boris Samorodov Date: Wed, 04 Mar 2009 12:23:35 +0300 In-Reply-To: <20090304093137.10733oaty524f0is@webmail.leidinger.net> (Alexander Leidinger's message of "Wed\, 04 Mar 2009 09\:31\:37 +0100") Message-ID: <11370520@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: [patch] Mk/bsd.linux-rpm.mk: introduce some linux-f8 infrastructure 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, 04 Mar 2009 09:23:37 -0000 Alexander Leidinger writes: > Quoting Boris Samorodov (from Tue, 03 Mar 2009 18:55:01 +0300): > >> I'm going to commit an attached patch. This patch is a noop for >> current ports structure (no need to ask an approval from portmgr) >> but is needed for new linux-f8 ports. > > While I agree with you... does portmgr agree with you too? Sometimes > they have different opinions than committers about what should be > tested in an exp-build. Agreed, I'll contact portmgr with this patch too. >> There are two points (both taken from emulators/linux_base-f8): >> . define LINUX_OSRELEASE variable (linux-f8 packages should be >> build with compat.linux.osrelease=2.6.16); > > Why do you use ECHO_CMD? Is there some whitespace which needs to be deleted? Can't recall for sure but I've got some unwanted results while doing some experiments (was it an output to stderr if no linuxulator kldloaded?). >> . define MASTER_SITE_SUBDIR and MASTER_SITE_SRC_SUBDIR when >> LINUX_DIST_VER=8 (no such ports ATM). > > Why is there ifndef MASTER_SITES (only in the context of your patch, This ifndef was introduced by sat@ at Rev 1.9. I'm not aware of the real need. > so not really related)? Is there a difference for "?=" between an > empty MASTER_SITES and an undefined one? Yea, after ifndef introduction "?=" lost it's purpose. Alexander, I fully agree with your concerns, I'm aware of them. But for now I try to change as little as it is possible so to face less problems. Since new infrastructure and linux-f8 port are introduced work should go further. ;-) Thanks for your feedback. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 4 09:32:57 2009 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 49AC5106564A for ; Wed, 4 Mar 2009 09:32:57 +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 EA8548FC15 for ; Wed, 4 Mar 2009 09:32:56 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E957.dip.t-dialin.net [217.226.233.87]) by redbull.bpaserver.net (Postfix) with ESMTP id 518542E0B3; Wed, 4 Mar 2009 10:32:53 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 889FC1CC4B6; Wed, 4 Mar 2009 10:32:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1236159169; bh=vg81TGJwvgK29lSxkSBapMr/LDLAEmmzK neRFjQI6D0=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Zo/3xjvuCXDBZbox/MnHxiaAP4lgFg7x/5WoJtF6LgdLpmBP7e8D71JnTWJpeDf2m rHEqL9MwioZYxWC+ym1nE72GxTYYfs9YMVHY/W9qMSxZF/maBFQX1+7RMGsr/+WxuDT waxpPvFHLbksCpXMckaiRn1UzjgxvD1WJI3vdWUUgiGY4BZUllxuZ7H9gyUZhGNuEIP OG1SSifbj5hdm9QIIHXrOoIMneb8C6+5Wz6F1ng6CA+4g0StiQdEPCegS4PgtBlkII6 vPOzgwYKmO98sAs+puLI73pYKvOhf23IWFNEGNQJF0D3FvKH6ulrVED90u0H0MjenV9 y0qnptGng== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n249WmeR025417; Wed, 4 Mar 2009 10:32:48 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 04 Mar 2009 10:32:47 +0100 Message-ID: <20090304103247.417765zrsapwwow0@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 04 Mar 2009 10:32:47 +0100 From: Alexander Leidinger To: Boris Samorodov References: <14905754@bb.ipt.ru> <20090304093137.10733oaty524f0is@webmail.leidinger.net> <11370520@bb.ipt.ru> In-Reply-To: <11370520@bb.ipt.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.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 518542E0B3.B6285 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-13.427, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10, TW_FN 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: [patch] Mk/bsd.linux-rpm.mk: introduce some linux-f8 infrastructure 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, 04 Mar 2009 09:32:57 -0000 Quoting Boris Samorodov (from Wed, 04 Mar 2009 12:23:35 +0300)= : > Alexander Leidinger writes: >> Quoting Boris Samorodov (from Tue, 03 Mar 2009 >>> . define MASTER_SITE_SUBDIR and MASTER_SITE_SRC_SUBDIR when >>> LINUX_DIST_VER=3D8 (no such ports ATM). >> >> Why is there ifndef MASTER_SITES (only in the context of your patch, > > This ifndef was introduced by sat@ at Rev 1.9. I'm not aware of the > real need. I had a look at it. It is about protecting MASTER_SITE_* to be set, =20 e.g. imagine if someone sets MASTER_SITE=3Dfile:///..., and at this =20 location there's a flat file structure. In this case you do not want =20 to have MASTER_SITE_* to be set. So I think you need to change your patch to keep this functionality. Bye, Alexander. --=20 An elephant is a mouse with an operating system. 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 Wed Mar 4 10:01:30 2009 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 18174106566B for ; Wed, 4 Mar 2009 10:01:30 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id C2AAB8FC28 for ; Wed, 4 Mar 2009 10:01:29 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Lenuq-000Axh-Sj; Wed, 04 Mar 2009 13:01:28 +0300 To: Alexander Leidinger References: <14905754@bb.ipt.ru> <20090304093137.10733oaty524f0is@webmail.leidinger.net> <11370520@bb.ipt.ru> <20090304103247.417765zrsapwwow0@webmail.leidinger.net> From: Boris Samorodov Date: Wed, 04 Mar 2009 13:01:28 +0300 In-Reply-To: <20090304103247.417765zrsapwwow0@webmail.leidinger.net> (Alexander Leidinger's message of "Wed\, 04 Mar 2009 10\:32\:47 +0100") Message-ID: <79218247@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: freebsd-emulation@freebsd.org Subject: Re: [patch] Mk/bsd.linux-rpm.mk: introduce some linux-f8 infrastructure 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, 04 Mar 2009 10:01:30 -0000 --=-=-= Alexander Leidinger writes: > Quoting Boris Samorodov (from Wed, 04 Mar 2009 12:23:35 +0300): >> Alexander Leidinger writes: >>> Quoting Boris Samorodov (from Tue, 03 Mar 2009 > >>>> . define MASTER_SITE_SUBDIR and MASTER_SITE_SRC_SUBDIR when >>>> LINUX_DIST_VER=8 (no such ports ATM). >>> >>> Why is there ifndef MASTER_SITES (only in the context of your patch, >> >> This ifndef was introduced by sat@ at Rev 1.9. I'm not aware of the >> real need. > > I had a look at it. It is about protecting MASTER_SITE_* to be set, > e.g. imagine if someone sets MASTER_SITE=file:///..., and at this > location there's a flat file structure. In this case you do not want > to have MASTER_SITE_* to be set. > > So I think you need to change your patch to keep this functionality. Yes, good catch, thanks! The first .endif was misplaced. Seems that the following patch is what you meant: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=Mk.diff Content-Description: a patch for bsd.linux-rpm.mk --- bsd.linux-rpm.mk.orig 2008-08-15 16:29:42.000000000 +0400 +++ bsd.linux-rpm.mk 2009-03-04 12:53:35.000000000 +0300 @@ -27,6 +27,11 @@ # contain libraries. # BRANDELF_FILES - A list of files to brand as a linux executable in # case BRANDELF_DIRS can't be used. +# LINUX_OSRELEASE - Contains the value of compat.linux.osrelease sysctl. +# Will be used to distinguish which linux +# infrastructure ports should be used. +# Valid values: 2.4.2, 2.6.16. +# Note: this variable must be used at bsd.linux.mk should it exists .if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) @@ -52,6 +57,10 @@ LINUX_RPM_ARCH?= ${ARCH} . endif +.if !defined(LINUX_OSRELEASE) +LINUX_OSRELEASE!= ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null` +.endif + .endif .if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) @@ -67,10 +76,20 @@ . if ${LINUX_DIST} == "fedora" . ifndef MASTER_SITES MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} +. if ${LINUX_DIST_VER} == 8 +. if (${LINUX_OSRELEASE} != "2.6.16") && defined(PACKAGE_BUILDING) +IGNORE= packages should be built with compat.linux.osrelease=2.6.16 +. endif +MASTER_SITE_SUBDIR?= ../releases/${LINUX_DIST_VER}/Everything/${LINUX_RPM_ARCH}/os/Packages \ + ../updates/${LINUX_DIST_VER}/${LINUX_RPM_ARCH}.newkey +MASTER_SITE_SRC_SUBDIR?= ../releases/${LINUX_DIST_VER}/Everything/source/SRPMS \ + ../updates/${LINUX_DIST_VER}/SRPMS.newkey +. else MASTER_SITE_SUBDIR?= ${LINUX_DIST_VER}/${LINUX_RPM_ARCH}/os/Fedora/RPMS \ updates/${LINUX_DIST_VER}/${LINUX_RPM_ARCH} MASTER_SITE_SRC_SUBDIR?= ${LINUX_DIST_VER}/SRPMS \ updates/${LINUX_DIST_VER}/SRPMS +. endif . endif . else IGNORE= unknown LINUX_DIST in port Makefile --=-=-= WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve --=-=-=-- From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 4 10:25:35 2009 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 476001065672 for ; Wed, 4 Mar 2009 10:25:35 +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 D13048FC20 for ; Wed, 4 Mar 2009 10:25:34 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E957.dip.t-dialin.net [217.226.233.87]) by redbull.bpaserver.net (Postfix) with ESMTP id 0867C2E0CA; Wed, 4 Mar 2009 11:25:30 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 99AEE23A0; Wed, 4 Mar 2009 11:25:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1236162326; bh=qNnoq3z+2oYdYby02UWFen1c1py0/r/c4 6gXwYAdFNg=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=GuK69pHQAItlMsLPwwSh9BUaQHNjCtKZUc7+xLfbI07qKdiYs6fhYfAVDd0gPSopv zhcOkcrrjJkGcp63xITm316sS5KdYej2oh4CL4jm4QisvD9R1ru+wmjvHQt8LLeOsrk HIHzrNHX8OTJUpbo9EIxsPBkqu2vu4rBKifPZoAR663TgREaYmULPBYaAzUJ1NmQfdr QeE3brqsYfut8tisJYWsllEwHDxaB9NDKZALXvOIA1U8qKly2LZjPdlKGnsTDC6Cprr YK1hctOnFVyyzrItWewXsHFXK4841TTNDKulKK0aA2BN1zuYoWeq//wAQeRSPx/FlxU sVnSCEemA== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n24APPQm024945; Wed, 4 Mar 2009 11:25:25 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 04 Mar 2009 11:25:24 +0100 Message-ID: <20090304112524.45016b7uvodhvvok@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 04 Mar 2009 11:25:24 +0100 From: Alexander Leidinger To: Boris Samorodov References: <14905754@bb.ipt.ru> <20090304093137.10733oaty524f0is@webmail.leidinger.net> <11370520@bb.ipt.ru> <20090304103247.417765zrsapwwow0@webmail.leidinger.net> <79218247@bb.ipt.ru> In-Reply-To: <79218247@bb.ipt.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.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 0867C2E0CA.C245F X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-13.427, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10, TW_FN 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: [patch] Mk/bsd.linux-rpm.mk: introduce some linux-f8 infrastructure 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, 04 Mar 2009 10:25:35 -0000 Quoting Boris Samorodov (from Wed, 04 Mar 2009 13:01:28 +0300)= : > Alexander Leidinger writes: >> Quoting Boris Samorodov (from Wed, 04 Mar 2009 =20 >> 12:23:35 +0300): >>> Alexander Leidinger writes: >>>> Quoting Boris Samorodov (from Tue, 03 Mar 2009 >> >>>>> . define MASTER_SITE_SUBDIR and MASTER_SITE_SRC_SUBDIR when >>>>> LINUX_DIST_VER=3D8 (no such ports ATM). >>>> >>>> Why is there ifndef MASTER_SITES (only in the context of your patch, >>> >>> This ifndef was introduced by sat@ at Rev 1.9. I'm not aware of the >>> real need. >> >> I had a look at it. It is about protecting MASTER_SITE_* to be set, >> e.g. imagine if someone sets MASTER_SITE=3Dfile:///..., and at this >> location there's a flat file structure. In this case you do not want >> to have MASTER_SITE_* to be set. >> >> So I think you need to change your patch to keep this functionality. > > Yes, good catch, thanks! The first .endif was misplaced. Seems that > the following patch is what you meant: Yes, looks commit ready. Personally I would remove the '?' from MASTER_SITE?=3D, as it is handled =20 by the ifndef. This way it does not confuse readers. MAybe even =20 putting a comment there what this is all about. Bye, Alexander. --=20 Grelb's Reminder: =09Eighty percent of all people consider =09themselves to be above average drivers. 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 Wed Mar 4 10:56:01 2009 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 4DF9B106564A for ; Wed, 4 Mar 2009 10:56:01 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id DCD608FC0C for ; Wed, 4 Mar 2009 10:56:00 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Leolb-000BdG-QD; Wed, 04 Mar 2009 13:55:59 +0300 To: Alexander Leidinger References: <14905754@bb.ipt.ru> <20090304093137.10733oaty524f0is@webmail.leidinger.net> <11370520@bb.ipt.ru> <20090304103247.417765zrsapwwow0@webmail.leidinger.net> <79218247@bb.ipt.ru> <20090304112524.45016b7uvodhvvok@webmail.leidinger.net> From: Boris Samorodov Date: Wed, 04 Mar 2009 13:55:59 +0300 In-Reply-To: <20090304112524.45016b7uvodhvvok@webmail.leidinger.net> (Alexander Leidinger's message of "Wed\, 04 Mar 2009 11\:25\:24 +0100") Message-ID: <13134976@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: freebsd-emulation@freebsd.org Subject: Re: [patch] Mk/bsd.linux-rpm.mk: introduce some linux-f8 infrastructure 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, 04 Mar 2009 10:56:01 -0000 --=-=-= Alexander Leidinger writes: > Quoting Boris Samorodov (from Wed, 04 Mar 2009 13:01:28 +0300): >> Alexander Leidinger writes: >>> Quoting Boris Samorodov (from Wed, 04 Mar 2009 >>> 12:23:35 +0300): >>>> Alexander Leidinger writes: >>>>> Quoting Boris Samorodov (from Tue, 03 Mar 2009 >>> >>>>>> . define MASTER_SITE_SUBDIR and MASTER_SITE_SRC_SUBDIR when >>>>>> LINUX_DIST_VER=8 (no such ports ATM). >>>>> >>>>> Why is there ifndef MASTER_SITES (only in the context of your patch, >>>> >>>> This ifndef was introduced by sat@ at Rev 1.9. I'm not aware of the >>>> real need. >>> >>> I had a look at it. It is about protecting MASTER_SITE_* to be set, >>> e.g. imagine if someone sets MASTER_SITE=file:///..., and at this >>> location there's a flat file structure. In this case you do not want >>> to have MASTER_SITE_* to be set. >>> >>> So I think you need to change your patch to keep this functionality. >> >> Yes, good catch, thanks! The first .endif was misplaced. Seems that >> the following patch is what you meant: > > Yes, looks commit ready. > > Personally I would remove the '?' from MASTER_SITE?=, as it is handled > by the ifndef. This way it does not confuse readers. MAybe even > putting a comment there what this is all about. Fixed: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=Mk.diff Content-Description: a patch for bsd.linux-rpm.mk --- bsd.linux-rpm.mk.orig 2008-08-15 16:29:42.000000000 +0400 +++ bsd.linux-rpm.mk 2009-03-04 13:54:46.000000000 +0300 @@ -27,6 +27,11 @@ # contain libraries. # BRANDELF_FILES - A list of files to brand as a linux executable in # case BRANDELF_DIRS can't be used. +# LINUX_OSRELEASE - Contains the value of compat.linux.osrelease sysctl. +# Will be used to distinguish which linux +# infrastructure ports should be used. +# Valid values: 2.4.2, 2.6.16. +# Note: this variable must be used at bsd.linux.mk should it exists .if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) @@ -52,6 +57,10 @@ LINUX_RPM_ARCH?= ${ARCH} . endif +. if !defined(LINUX_OSRELEASE) +LINUX_OSRELEASE!= ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null` +. endif + .endif .if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) @@ -65,12 +74,24 @@ DIST_SUBDIR?= rpm/${LINUX_RPM_ARCH}/${LINUX_DIST}/${LINUX_DIST_VER} . if ${LINUX_DIST} == "fedora" +# we do not want to define MASTER_SITES and MASTER_SITE_* if they are already defined +# ex.: MASTER_SITE=file:///... . ifndef MASTER_SITES -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} +MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX} +. if ${LINUX_DIST_VER} == 8 +. if (${LINUX_OSRELEASE} != "2.6.16") && defined(PACKAGE_BUILDING) +IGNORE= packages should be built with compat.linux.osrelease=2.6.16 +. endif +MASTER_SITE_SUBDIR?= ../releases/${LINUX_DIST_VER}/Everything/${LINUX_RPM_ARCH}/os/Packages \ + ../updates/${LINUX_DIST_VER}/${LINUX_RPM_ARCH}.newkey +MASTER_SITE_SRC_SUBDIR?= ../releases/${LINUX_DIST_VER}/Everything/source/SRPMS \ + ../updates/${LINUX_DIST_VER}/SRPMS.newkey +. else MASTER_SITE_SUBDIR?= ${LINUX_DIST_VER}/${LINUX_RPM_ARCH}/os/Fedora/RPMS \ updates/${LINUX_DIST_VER}/${LINUX_RPM_ARCH} MASTER_SITE_SRC_SUBDIR?= ${LINUX_DIST_VER}/SRPMS \ updates/${LINUX_DIST_VER}/SRPMS +. endif . endif . else IGNORE= unknown LINUX_DIST in port Makefile --=-=-= WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve --=-=-=-- From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 4 20:27:56 2009 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F07C5106566B; Wed, 4 Mar 2009 20:27:56 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C4CE88FC23; Wed, 4 Mar 2009 20:27:56 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n24KRuGs020383; Wed, 4 Mar 2009 20:27:56 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n24KRujU020379; Wed, 4 Mar 2009 20:27:56 GMT (envelope-from netchild) Date: Wed, 4 Mar 2009 20:27:56 GMT Message-Id: <200903042027.n24KRujU020379@freefall.freebsd.org> To: andikies@gmail.com, netchild@FreeBSD.org, freebsd-emulation@FreeBSD.org From: netchild@FreeBSD.org Cc: Subject: Re: kern/131099: [linux] [patch] readdir broken on Linux emulation. 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, 04 Mar 2009 20:27:57 -0000 Synopsis: [linux] [patch] readdir broken on Linux emulation. State-Changed-From-To: patched->closed State-Changed-By: netchild State-Changed-When: Wed Mar 4 20:27:45 UTC 2009 State-Changed-Why: MFCed to RELENG_7. http://www.freebsd.org/cgi/query-pr.cgi?pr=131099 From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 4 20:30:07 2009 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B5171065672 for ; Wed, 4 Mar 2009 20:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3975B8FC0C for ; Wed, 4 Mar 2009 20:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n24KU7Ne020539 for ; Wed, 4 Mar 2009 20:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n24KU7u4020536; Wed, 4 Mar 2009 20:30:07 GMT (envelope-from gnats) Date: Wed, 4 Mar 2009 20:30:07 GMT Message-Id: <200903042030.n24KU7u4020536@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: kern/131099: commit references a PR X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2009 20:30:07 -0000 The following reply was made to PR kern/131099; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/131099: commit references a PR Date: Wed, 4 Mar 2009 20:26:51 +0000 (UTC) Author: netchild Date: Wed Mar 4 20:26:39 2009 New Revision: 189370 URL: http://svn.freebsd.org/changeset/base/189370 Log: MFC r188572: Fix an edge-case of the linux readdir: We need the size of a linux dirent structure, not the size of a pointer to it. PR: 131099 Submitted by: Andreas Kies Modified: stable/7/sys/ (props changed) stable/7/sys/compat/linux/linux_file.c stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props changed) stable/7/sys/dev/cxgb/ (props changed) Modified: stable/7/sys/compat/linux/linux_file.c ============================================================================== --- stable/7/sys/compat/linux/linux_file.c Wed Mar 4 18:36:48 2009 (r189369) +++ stable/7/sys/compat/linux/linux_file.c Wed Mar 4 20:26:39 2009 (r189370) @@ -438,7 +438,7 @@ getdents_common(struct thread *td, struc /* readdir(2) case. Always struct dirent. */ if (is64bit) return (EINVAL); - nbytes = sizeof(linux_dirent); + nbytes = sizeof(*linux_dirent); justone = 1; } else justone = 0; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 5 01:23:31 2009 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 EBCD6106566B for ; Thu, 5 Mar 2009 01:23:31 +0000 (UTC) (envelope-from kalinoj1@amp2.iem.pw.edu.pl) Received: from amp2.iem.pw.edu.pl (amp2.iem.pw.edu.pl [194.29.146.27]) by mx1.freebsd.org (Postfix) with ESMTP id B04BD8FC1D for ; Thu, 5 Mar 2009 01:23:30 +0000 (UTC) (envelope-from kalinoj1@amp2.iem.pw.edu.pl) Received: by amp2.iem.pw.edu.pl (Postfix, from userid 5016) id 9F76912E83; Thu, 5 Mar 2009 02:05:26 +0100 (CET) Date: Thu, 5 Mar 2009 02:05:26 +0100 From: Jedrzej Kalinowski To: freebsd-emulation@freebsd.org Message-ID: <20090305010525.GA69474@volt.iem.pw.edu.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Subject: kqemu and devfs - any luck? 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, 05 Mar 2009 01:23:32 -0000 Hello, I'm trying to set up kqemu (kqemu-devel from -current) to be accessible to usual non-wheel users. I've created a ruleset that looks like this: # devfs rule show 100 path kqemu mode 666 200 path kqemu unhide than I do # devfs rule applyset but sadly my /dev/kqemu are still owned by root:wheel and have 660 permissions. I'm proceeding exactly in the way that's described in man 8 devfs. Maybe someone else succeded with this and could give me a tip on how to cope with this issue? Or maybe someone can at least confirm that it does not work, and the PR should be posted? I'm working on a -CURRENT system.. Regards, Jedrzej Kalinowski From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 5 17:46:54 2009 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 BC6251065674 for ; Thu, 5 Mar 2009 17:46:54 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 7D03E8FC1C for ; Thu, 5 Mar 2009 17:46:54 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id C7E4B1E0027E; Thu, 5 Mar 2009 18:46:52 +0100 (CET) Received: from saturn.kn-bremen.de (noident@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id n25HjNoD004964; Thu, 5 Mar 2009 18:45:23 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id n25HjMvK004963; Thu, 5 Mar 2009 18:45:22 +0100 (CET) (envelope-from nox) Date: Thu, 5 Mar 2009 18:45:22 +0100 (CET) From: Juergen Lock Message-Id: <200903051745.n25HjMvK004963@saturn.kn-bremen.de> To: kalinoj1@iem.pw.edu.pl X-Newsgroups: local.list.freebsd.emulation In-Reply-To: <20090305010525.GA69474@volt.iem.pw.edu.pl> Organization: home Cc: freebsd-emulation@freebsd.org Subject: Re: kqemu and devfs - any luck? 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, 05 Mar 2009 17:46:55 -0000 In article <20090305010525.GA69474@volt.iem.pw.edu.pl> you write: >Hello, > >I'm trying to set up kqemu (kqemu-devel from -current) to be accessible to usual >non-wheel users. I've created a ruleset that looks like this: > ># devfs rule show >100 path kqemu mode 666 Try: path 'kqemu*' ... (kqemu uses device cloning.) >200 path kqemu unhide > Not sure that works with cloning as expected, at least it doesn't do anything here... >than I do ># devfs rule applyset > That also didn't work here, I did: /etc/rc.d/devfs restart >but sadly my /dev/kqemu are still owned by root:wheel and have 660 >permissions. I'm proceeding exactly in the way that's described in man 8 devfs. > >Maybe someone else succeded with this and could give me a tip on how to >cope with this issue? Or maybe someone can at least confirm that it does >not work, and the PR should be posted? I'm working on a -CURRENT >system.. 7-stable here... HTH, Juergen From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 5 18:23:37 2009 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 31EBB106566B for ; Thu, 5 Mar 2009 18:23:37 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id 138CE8FC14 for ; Thu, 5 Mar 2009 18:23:37 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id A0F875B5E; Thu, 5 Mar 2009 10:13:31 -0800 (PST) To: Jedrzej Kalinowski In-reply-to: Your message of "Thu, 05 Mar 2009 02:05:26 +0100." <20090305010525.GA69474@volt.iem.pw.edu.pl> References: <20090305010525.GA69474@volt.iem.pw.edu.pl> Comments: In-reply-to Jedrzej Kalinowski message dated "Thu, 05 Mar 2009 02:05:26 +0100." Date: Thu, 05 Mar 2009 10:13:31 -0800 From: Bakul Shah Message-Id: <20090305181331.A0F875B5E@mail.bitblocks.com> Cc: freebsd-emulation@freebsd.org Subject: Re: kqemu and devfs - any luck? 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, 05 Mar 2009 18:23:37 -0000 On Thu, 05 Mar 2009 02:05:26 +0100 Jedrzej Kalinowski wrote: > Hello, > > I'm trying to set up kqemu (kqemu-devel from -current) to be accessible to us > ual > non-wheel users. I've created a ruleset that looks like this: > > # devfs rule show > 100 path kqemu mode 666 > 200 path kqemu unhide > > than I do > # devfs rule applyset > > but sadly my /dev/kqemu are still owned by root:wheel and have 660 > permissions. I'm proceeding exactly in the way that's described in man 8 devfs > > Maybe someone else succeded with this and could give me a tip on how to > cope with this issue? Or maybe someone can at least confirm that it does > not work, and the PR should be posted? I'm working on a -CURRENT > system.. > For loadable modules you can use devfs.conf so try something like the following as root. # cat >> /etc/devfs.conf < 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 7047B1065675 for ; Thu, 5 Mar 2009 18:28:27 +0000 (UTC) (envelope-from kalinoj1@amp2.iem.pw.edu.pl) Received: from amp2.iem.pw.edu.pl (amp2.iem.pw.edu.pl [194.29.146.27]) by mx1.freebsd.org (Postfix) with ESMTP id 304938FC1F for ; Thu, 5 Mar 2009 18:28:26 +0000 (UTC) (envelope-from kalinoj1@amp2.iem.pw.edu.pl) Received: by amp2.iem.pw.edu.pl (Postfix, from userid 5016) id 81FCE12E83; Thu, 5 Mar 2009 19:28:25 +0100 (CET) Date: Thu, 5 Mar 2009 19:28:25 +0100 From: Jedrzej Kalinowski To: Juergen Lock Message-ID: <20090305182825.GA24816@volt.iem.pw.edu.pl> References: <20090305010525.GA69474@volt.iem.pw.edu.pl> <200903051745.n25HjMvK004963@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200903051745.n25HjMvK004963@saturn.kn-bremen.de> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-emulation@freebsd.org Subject: Re: kqemu and devfs - any luck? 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, 05 Mar 2009 18:28:27 -0000 Thu, Mar 05, 2009 at 06:45:22PM +0100, Juergen Lock napisał(a): > In article <20090305010525.GA69474@volt.iem.pw.edu.pl> you write: > >Hello, > > > >I'm trying to set up kqemu (kqemu-devel from -current) to be accessible to usual > >non-wheel users. I've created a ruleset that looks like this: > > > ># devfs rule show > >100 path kqemu mode 666 > > Try: path 'kqemu*' ... (kqemu uses device cloning.) > > >200 path kqemu unhide > > > Not sure that works with cloning as expected, at least it doesn't > do anything here... > > >than I do > ># devfs rule applyset > > > That also didn't work here, I did: > /etc/rc.d/devfs restart > You were right, I was missing the proper wildcard, I can confirm it works fine: # devfs rule add path 'kqemu*' mode 666 group wheel # devfs rule show 100 path kqemu* group wheel mode 666 # devfs rule apply 100 > > 7-stable here... > > HTH, > Juergen Thanks for your help, Jedrzej Kalinowski From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 6 17:04:30 2009 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 0EAA31065670 for ; Fri, 6 Mar 2009 17:04:30 +0000 (UTC) (envelope-from phusion2k@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by mx1.freebsd.org (Postfix) with ESMTP id DB4A18FC18 for ; Fri, 6 Mar 2009 17:04:29 +0000 (UTC) (envelope-from phusion2k@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so581709rvb.43 for ; Fri, 06 Mar 2009 09:04:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=GhnVJeKCKdtHWYLmfH9wntobMcicBfxTngvhwaAY/ek=; b=iw7GO2z6bJT/6hhh/TUgKLXrKLQih99WgdmSvuWaLTenUkmndxU5sNuih+CaPVWmuf rLViRV18j75HEF0xuWK8fPTu/3A6Un7rhP5EYNaehBmv36vvYcXpQ2xJWq9W9mElSj60 8jM7XX3psgJk0qvJ4zqR4fcLa3c7o0/cPMW8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=OT7nkgNOCHOEXjLZ6CHxaAWsVBf+cJ9iVL1lL4YqjkINPDQmfnC6q6c+0ZI9fJbiE6 PrvQTGZdgml6LmUFZOUM6pSv4jwJ3MjSJxHn0UKY62JGhAuNFkmH62upnDfw7+0/zsqb XmK/bEbY4bXO1ouV52GY5tQh/cDyR9qzuMeGU= MIME-Version: 1.0 Received: by 10.140.199.15 with SMTP id w15mr1361287rvf.140.1236357351069; Fri, 06 Mar 2009 08:35:51 -0800 (PST) Date: Fri, 6 Mar 2009 10:35:51 -0600 Message-ID: From: Phusion To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Help configuring qemu networking tap mode 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, 06 Mar 2009 17:04:30 -0000 I have qemu installed and have a guest os running Windows XP Professional. The host os is FreeBSD 7.1-RELEASE. I have the guest os working with the default networking. qemu -hda /data/qemu/winxp.img -m 256 -localtime -std-vga I would like to get networking tap mode working. I have set the following already. # sudo cat /boot/loader.conf if_bridge_load="YES" if_tap_load="YES" # sudo cat /etc/rc.conf ifconfig_bfe0="DHCP" cloned_interfaces="bridge0" ifconfig_bridge0="addm bfe0 up" For an example network that uses DHCP for 192.168.1.x, I would like to have the guest os have an IP address (static or dynamic) in the same range. Where do I make the necessary changes? Phusion From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 7 13:02:59 2009 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 36514106566B for ; Sat, 7 Mar 2009 13:02:59 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id E8CC28FC1B for ; Sat, 7 Mar 2009 13:02:58 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so420039ywt.13 for ; Sat, 07 Mar 2009 05:02:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=VG5uLSMbz8Ffe+8Hmi6AGtKQgY383F5LyTiEWG1eNJ0=; b=TMLBIqNQ8F1RxoRtvkIDvZvh9uQm9InluCz+JKlCP638XHnPZCl06MM0CBglyjjk8E ujXJOAwXOWXudHFl/ehA+FbFBau3v4z0V1sQ+1oHaxUo59K4pg1rnTizOIqrXYV6i3/Y cvRK7hJJlM/7uaeHEzLaLZHfqSi9yj6EIievo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=ZvGfPbdoSwqOJBrubJJP1dm+kdetMkur4J3BElw4pISNKKKDgbUBy/3EPf4msFrocj IuoBWQDfq27IXgb2/WfMPJh0qfq7PvLJ21w9SMvYbdgWvcAt6LJOclkr70X7SkJf1RZQ /peN6eRDEXpF6L4+iXzNB/jRzZIgAu2ep+BKE= MIME-Version: 1.0 Received: by 10.220.81.1 with SMTP id v1mr1181121vck.6.1236429771762; Sat, 07 Mar 2009 04:42:51 -0800 (PST) Date: Sat, 7 Mar 2009 06:42:51 -0600 Message-ID: <790a9fff0903070442v66de9f4ar140cf6e2a6f716ac@mail.gmail.com> From: Scot Hetzel To: phusion2k@gmail.com, freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: RE: Help configuring qemu networking tap mode 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, 07 Mar 2009 13:02:59 -0000 >I would like to get networking tap mode working. I have set the >following already. : >For an example network that uses DHCP for 192.168.1.x, I would like to >have the guest os have an IP address (static or dynamic) in the same >range. Where do I make the necessary changes? Once you have setup up tap networking, you just have to configure the guest for DHCP, and it will automatically pull the DHCP address from your networks DHCP server. The below Qemu Tap Network Setup is how I setup my host system to allow the guest systems to connect to my network. This setup doesn't use any qemu startup/shutdown scripts to add/remove the tap* interfaces from bridge0. Scot ============================================= Qemu Tap Network Setup: 1. Setup tap* networking in rc.conf: cloned_interfaces="bridge0 tap0 tap1" ifconfig_bridge0="addm rl10 addm tap0 addm tap1" ifconfig_tap0="up" ifconfig_tap1="up" 2. modify /etc/sysctl.conf net.link.tap.up_on_open=1 net.link.tap.user_open=1 3. create a tap group in /etc/group and add the users who can access the /dev/tap* to the tap group. 4. add entry to /etc/devfs.conf for tap* # /dev/tap* perm tap0 0660 own tap0 root:tap perm tap1 0660 own tap1 root:tap 5. reboot system Installing Windows XP on QEMU: 1. Create disk image: qemu-img create -f raw Windows_XP.img 8G 2. start qemu to install Windows XP: Place the Windows XP CD into the cdrom drive, and execute qemu: qemu -name windows_xp -localtime -m 512 -net nic,macaddr=52:54:DE:AD:BE:EF,model=rtl8139 -net tap,ifname=tap0,script=no -hda Windows_XP.img -cdrom /dev/acd0 -boot d NOTE: 1. /dev/acd0 can be replaced with path to a cdrom iso image 2. to use user mode networking just drop -net tap* and/or -net nic*. From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 7 21:01:40 2009 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 C63C11065670 for ; Sat, 7 Mar 2009 21:01:40 +0000 (UTC) (envelope-from phusion2k@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.227]) by mx1.freebsd.org (Postfix) with ESMTP id 9A28F8FC16 for ; Sat, 7 Mar 2009 21:01:40 +0000 (UTC) (envelope-from phusion2k@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so1092274rvb.43 for ; Sat, 07 Mar 2009 13:01:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=y1jUeTtuiTqYQV0QRLPSQ1k4pitzChnei/8iGtcq+iQ=; b=wgtIt7wmpxso/6AXpTO74jfXlInl5acnBr516M7R6wM31wn/MCLyhDH8Vu/mNTK92A YxIxxTjNqh+9lesgzjBNHk7P1hPnOR9RiW2Bok8NdM1zFnFf8mjVI4ljyT/PLlnhotPu pyxHu6VA3P1QdEAcDOXb+oCq0WAK9w5TaC604= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=GChoCosC0V8oN5zfqQ2vA0/b6NcVzavu6GUveblRzq0VhylAAweos3hfzLw1Y4Z0lt ZifWZTYWAYeVQdt2kWSuOEejOU2nvYxj4NS4gSCBy3Ab5hGHU8sQggkM7szRIeAay8w/ 5Xiev4MZOMRzQffTaXpAZVoY52hZVpsz+rAds= MIME-Version: 1.0 Received: by 10.141.68.21 with SMTP id v21mr2066970rvk.273.1236459700375; Sat, 07 Mar 2009 13:01:40 -0800 (PST) In-Reply-To: <790a9fff0903070442v66de9f4ar140cf6e2a6f716ac@mail.gmail.com> References: <790a9fff0903070442v66de9f4ar140cf6e2a6f716ac@mail.gmail.com> Date: Sat, 7 Mar 2009 15:01:40 -0600 Message-ID: From: Phusion To: Scot Hetzel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-emulation@freebsd.org Subject: Re: Help configuring qemu networking tap mode 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, 07 Mar 2009 21:01:41 -0000 On Sat, Mar 7, 2009 at 6:42 AM, Scot Hetzel wrote: >>I would like to get networking tap mode working. I have set the >>following already. > : >>For an example network that uses DHCP for 192.168.1.x, I would like to >>have the guest os have an IP address (static or dynamic) in the same >>range. Where do I make the necessary changes? > > Once you have setup up tap networking, you just have to configure the > guest for DHCP, and it will automatically pull the DHCP address from > your networks DHCP server. > > The below Qemu Tap Network Setup is how I setup my host system to > allow the guest systems to connect to my network. =A0This setup doesn't > use any qemu startup/shutdown scripts to add/remove the tap* > interfaces from bridge0. > > Scot > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Qemu Tap Network Setup: > > 1. Setup tap* networking in rc.conf: > > cloned_interfaces=3D"bridge0 tap0 tap1" > ifconfig_bridge0=3D"addm rl10 addm tap0 addm tap1" > ifconfig_tap0=3D"up" > ifconfig_tap1=3D"up" > > 2. modify /etc/sysctl.conf > > net.link.tap.up_on_open=3D1 > net.link.tap.user_open=3D1 > > 3. create a tap group in /etc/group and add the users who can access > the /dev/tap* to the tap group. > > 4. add entry to /etc/devfs.conf for tap* > > # /dev/tap* > perm tap0 0660 > own tap0 root:tap > perm tap1 0660 > own tap1 root:tap > > 5. reboot system > > Installing Windows XP on QEMU: > > 1. Create disk image: > > qemu-img create -f raw Windows_XP.img 8G > > 2. start qemu to install Windows XP: > > Place the Windows XP CD into the cdrom drive, and execute qemu: > > qemu -name windows_xp -localtime -m 512 -net > nic,macaddr=3D52:54:DE:AD:BE:EF,model=3Drtl8139 -net > tap,ifname=3Dtap0,script=3Dno -hda Windows_XP.img -cdrom /dev/acd0 -boot = d > > NOTE: > 1. /dev/acd0 can be replaced with path to a cdrom iso image > 2. to use user mode networking just drop -net tap* and/or -net nic*. > With your help, I got this guest OS working. It now gets a DHCP address. There is still a problem related to the pf firewall on the host OS running FreeBSD 7.1. When I have the firewall disabled from running the guest OS works meaning it gets a DHCP address and can access the Internet. When the firewall is enabled, it doesn't get a DHCP address and can't access the Internet. Here is a copy of the /etc/pf.conf file. ext_if=3D"bfe0" lo_if=3D"lo0" tcp_services=3D"{ 22 }" icmp_types=3D"{ echoreq }" set block-policy return set loginterface $ext_if set skip on $lo_if scrub in nat-anchor "ftp-proxy/*" rdr-anchor "ftp-proxy/*" nat on $ext_if from !($ext_if) -> ($ext_if:0) rdr pass on $ext_if proto tcp to port 21 -> 127.0.0.1 port 8021 block in block drop in quick inet6 all block drop out quick inet6 all pass out keep state anchor "ftp-proxy/*" antispoof quick for { $lo_if } pass in on $ext_if proto tcp from any to ($ext_if) port $tcp_services flags S/SA keep state pass in inet proto icmp all icmp-type $icmp_types keep state I would like to get it working as well as have it set where there is port-forwarding for the host OS and the guest OS. Please advise and thanks for the help so far. Phusion From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 7 23:08:27 2009 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 A672F1065670 for ; Sat, 7 Mar 2009 23:08:27 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 50D418FC0A for ; Sat, 7 Mar 2009 23:08:27 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 5353 invoked by uid 399); 7 Mar 2009 23:08:23 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 7 Mar 2009 23:08:23 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <49B2FE65.6000009@FreeBSD.org> Date: Sat, 07 Mar 2009 15:08:21 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (X11/20090307) MIME-Version: 1.0 To: Scot Hetzel References: <790a9fff0903070442v66de9f4ar140cf6e2a6f716ac@mail.gmail.com> <49B2F950.9010803@FreeBSD.org> In-Reply-To: <49B2F950.9010803@FreeBSD.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: Help configuring qemu networking tap mode 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, 07 Mar 2009 23:08:27 -0000 Doug Barton wrote: > Scot Hetzel wrote: > >> ============================================= >> Qemu Tap Network Setup: >> >> 1. Setup tap* networking in rc.conf: >> >> cloned_interfaces="bridge0 tap0 tap1" >> ifconfig_bridge0="addm rl10 addm tap0 addm tap1" > > I changed rl10 here to bge0 since that's the nic I have. Am I missing > something? And the answer is .... yes! I tried actually following the instructions and it worked. I realized that since in your command line you're telling qemu to emulate a realtek nic that's where the rl10 comes from. So I'm past the Network Install phase and we're now finalizing the install. :) BTW, I forgot to mention that I'm using qemu-devel, and so far I haven't installed kqemu since I've read some messages where people have had problems with it recently on -current. Couple more quick questions, is there some middle ground between size of the default window that pops up when I run the command line you supplied and full screen mode? This window is fine for the installation since it's just a little bigger than my typical terminal window, but I'd like something larger to do actual work on. Glancing through the man page it seems like perhaps -std-vga might be the ticket? Finally it looks to me like I'll need to set up samba on the host if I want the XP guest to have access to files that are not in the image, correct? The man page mentions the -smb option for the user mode network stack, will that work for tap too? Doug -- This .signature sanitized for your protection From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 7 23:13:23 2009 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 92BB41065670 for ; Sat, 7 Mar 2009 23:13:23 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 3AB438FC35 for ; Sat, 7 Mar 2009 23:13:23 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 15639 invoked by uid 399); 7 Mar 2009 22:46:41 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 7 Mar 2009 22:46:41 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <49B2F950.9010803@FreeBSD.org> Date: Sat, 07 Mar 2009 14:46:40 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (X11/20090307) MIME-Version: 1.0 To: Scot Hetzel References: <790a9fff0903070442v66de9f4ar140cf6e2a6f716ac@mail.gmail.com> In-Reply-To: <790a9fff0903070442v66de9f4ar140cf6e2a6f716ac@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: Help configuring qemu networking tap mode 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, 07 Mar 2009 23:13:23 -0000 Scot, Thanks again for showing us all the way with this. I am trying to set mine up now but I'm running into a few "issues." I'll add some notes below. The problem I'm having right now is that the windows installer seems to be permanently stuck on the "Installing Network" phase. The indicator in the bottom right of the window is doing it's thing, and the message in the main window is changing, but the progress bar for "Installing Network" has not budged. Scot Hetzel wrote: > ============================================= > Qemu Tap Network Setup: > > 1. Setup tap* networking in rc.conf: > > cloned_interfaces="bridge0 tap0 tap1" > ifconfig_bridge0="addm rl10 addm tap0 addm tap1" I changed rl10 here to bge0 since that's the nic I have. Am I missing something? > ifconfig_tap0="up" > ifconfig_tap1="up" > > 2. modify /etc/sysctl.conf > > net.link.tap.up_on_open=1 > net.link.tap.user_open=1 > > 3. create a tap group in /etc/group and add the users who can access > the /dev/tap* to the tap group. > > 4. add entry to /etc/devfs.conf for tap* > > # /dev/tap* > perm tap0 0660 > own tap0 root:tap > perm tap1 0660 > own tap1 root:tap > > 5. reboot system FWIW, you may be able to get away without rebooting here. You can run each of those sysctl commands on the command line, then do '/etc/rc.d/netif start' and it should pick up your new settings. Also, if you're using a stripped down kernel you'll need the if_tap, if_bridge and bridgestp modules. > Installing Windows XP on QEMU: > > 1. Create disk image: > > qemu-img create -f raw Windows_XP.img 8G > > 2. start qemu to install Windows XP: > > Place the Windows XP CD into the cdrom drive, and execute qemu: > > qemu -name windows_xp -localtime -m 512 -net > nic,macaddr=52:54:DE:AD:BE:EF,model=rtl8139 -net > tap,ifname=tap0,script=no -hda Windows_XP.img -cdrom /dev/acd0 -boot d I assumed that the above should have been one long line, so that's how I ran it. Thanks again, Doug -- This .signature sanitized for your protection