From owner-freebsd-emulation@FreeBSD.ORG Sun Aug 17 18:18:49 2008 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 514731065675 for ; Sun, 17 Aug 2008 18:18:49 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id DC8978FC0C for ; Sun, 17 Aug 2008 18:18:48 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 92C7B171014 for ; Sun, 17 Aug 2008 22:18:46 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.dialup.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 969120736 for freebsd-emulation@freebsd.org; Sun, 17 Aug 2008 22:18:46 +0400 Received: from dchagin.dialup.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.dialup.corbina.ru (8.14.2/8.14.2) with ESMTP id m7HII29b003949 for ; Sun, 17 Aug 2008 22:18:02 +0400 (MSD) (envelope-from root@dchagin.dialup.corbina.ru) Received: (from root@localhost) by dchagin.dialup.corbina.ru (8.14.2/8.14.2/Submit) id m7HIHv23003948 for freebsd-emulation@freebsd.org; Sun, 17 Aug 2008 22:17:57 +0400 (MSD) (envelope-from root) Date: Sun, 17 Aug 2008 22:17:57 +0400 From: Chagin Dmitry To: freebsd-emulation@freebsd.org Message-ID: <20080817181757.GA2940@dchagin.dialup.corbina.ru> Mail-Followup-To: freebsd-emulation@freebsd.org References: <20080810072013.GA15196@dchagin.dialup.corbina.ru> <20080810115406.GR97161@deviant.kiev.zoral.com.ua> <20080810120424.GA15768@dchagin.dialup.corbina.ru> <20080810122124.GS97161@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080810122124.GS97161@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.4.2.3i Subject: Re: x86_64 linuxulator patches X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2008 18:18:49 -0000 On Sun, Aug 10, 2008 at 03:21:24PM +0300, Kostik Belousov wrote: > On Sun, Aug 10, 2008 at 04:04:24PM +0400, Chagin Dmitry wrote: > > On Sun, Aug 10, 2008 at 02:54:06PM +0300, Kostik Belousov wrote: > > > On Sun, Aug 10, 2008 at 11:20:13AM +0400, Chagin Dmitry wrote: > > > > Hi, as promised, I place x86_64 linuxulator patches. > > > > > > > > here the basic patch: > > > > http://78.107.232.239/linuxulator64-current.patch > > > > > > > > here recvmsg && sendmsg patch (not tested with really applications): > > > > http://78.107.232.239/send-recv-msg.patch > > > > > > > > here master repository: > > > > git://78.107.232.239/linuxulator > > > > > > > > and ports used for testing (and only for testing): > > > > git://78.107.232.239/linux_base-f8 > > > > git://78.107.232.239/linux_devel-f8 > > > > git://78.107.232.239/linux_kdump-1.6 > > > > > > > > by default on amd64 builds i386 linuxulator, for build x86_64 use > > > > cd sys/modules/linux > > > > make -D COMPAT_LINUX64 > > > > > > > > for correct recognition of what linuxulator version is used > > > > added new sysctl compat.linux.platform > > > > for example use in ports Makefile's: > > > > > > > > LINUX_PLATFORM!= /sbin/sysctl -n compat.linux.platform 2>/dev/null > > > > > > > > .if ${LINUX_PLATFORM}x == "x" > > > > IGNORE= linuxulator is not (kld)loaded > > > > .elif ${LINUX_PLATFORM} == "i386" > > > > LINUX_RPM_ARCH= i386 > > > > .elif ${LINUX_PLATFORM} == "x86_64" > > > > LINUX_RPM_ARCH= x86_64 > > > > SFX= 64 > > > > .else > > > > IGNORE= ${LINUX_PLATFORM} is not supported > > > > .endif > > > > > > > > I shal glad to remarks, proposals and results of testing. > > > > thnx > > > > > > Reading your email, I got an impression that i386/linux and x86_64/linux > > > ABI emulators are mutually exclusive. Is this right ? I think it would > > > be most useful to be able to have them both in one kernel. > > > > yes, it so. if there are ports working only on i386 it's necessary > > to do it. I don't know such ports :( > > Whether there is a _port_ that has no amd64 counterpart for i386 one is > irrelevant there. The Linux ABI emulation is supposed to work not only with > a software installed from port, but with most binaries. > > If emulating both ia32 and x86_64 simultaneously is technically feasible > (and I believe it is), then both should be available. i386->amd64 is > not the replacement step, this is an backward-compatible upgrade. Something few the interested participants of discussion :) problem in that I am not familiar with a ports infrastructure... in my opinion the best decision for amd64 looks so. we use two modules. linux.ko for x86_64 and linux32.ko for ia32, option COMPAT_LINUX for x86_64 and COMPAT_LINUX32 for ia32. and two linux_base directories: /compat/linux for x86_64 and /compat/linux32 for ia32. there are other opinions? thnx! -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Sun Aug 17 19:08:02 2008 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 534F4106564A for ; Sun, 17 Aug 2008 19:08:02 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id E3E1E8FC13 for ; Sun, 17 Aug 2008 19:08:01 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id BB84D68BB90 for ; Sun, 17 Aug 2008 21:06:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LARJboUisEra for ; Sun, 17 Aug 2008 21:06:07 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 027E76725A2 for ; Sun, 17 Aug 2008 21:06:06 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m7HJ66sw067653 for freebsd-emulation@freebsd.org; Sun, 17 Aug 2008 21:06:06 +0200 (CEST) (envelope-from rdivacky) Date: Sun, 17 Aug 2008 21:06:06 +0200 From: Roman Divacky To: freebsd-emulation@freebsd.org Message-ID: <20080817190606.GA67621@freebsd.org> References: <20080810072013.GA15196@dchagin.dialup.corbina.ru> <20080810115406.GR97161@deviant.kiev.zoral.com.ua> <20080810120424.GA15768@dchagin.dialup.corbina.ru> <20080810122124.GS97161@deviant.kiev.zoral.com.ua> <20080817181757.GA2940@dchagin.dialup.corbina.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080817181757.GA2940@dchagin.dialup.corbina.ru> User-Agent: Mutt/1.4.2.3i Subject: Re: x86_64 linuxulator patches X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2008 19:08:02 -0000 On Sun, Aug 17, 2008 at 10:17:57PM +0400, Chagin Dmitry wrote: > On Sun, Aug 10, 2008 at 03:21:24PM +0300, Kostik Belousov wrote: > > On Sun, Aug 10, 2008 at 04:04:24PM +0400, Chagin Dmitry wrote: > > > On Sun, Aug 10, 2008 at 02:54:06PM +0300, Kostik Belousov wrote: > > > > On Sun, Aug 10, 2008 at 11:20:13AM +0400, Chagin Dmitry wrote: > > > > > Hi, as promised, I place x86_64 linuxulator patches. > > > > > > > > > > here the basic patch: > > > > > http://78.107.232.239/linuxulator64-current.patch > > > > > > > > > > here recvmsg && sendmsg patch (not tested with really applications): > > > > > http://78.107.232.239/send-recv-msg.patch > > > > > > > > > > here master repository: > > > > > git://78.107.232.239/linuxulator > > > > > > > > > > and ports used for testing (and only for testing): > > > > > git://78.107.232.239/linux_base-f8 > > > > > git://78.107.232.239/linux_devel-f8 > > > > > git://78.107.232.239/linux_kdump-1.6 > > > > > > > > > > by default on amd64 builds i386 linuxulator, for build x86_64 use > > > > > cd sys/modules/linux > > > > > make -D COMPAT_LINUX64 > > > > > > > > > > for correct recognition of what linuxulator version is used > > > > > added new sysctl compat.linux.platform > > > > > for example use in ports Makefile's: > > > > > > > > > > LINUX_PLATFORM!= /sbin/sysctl -n compat.linux.platform 2>/dev/null > > > > > > > > > > .if ${LINUX_PLATFORM}x == "x" > > > > > IGNORE= linuxulator is not (kld)loaded > > > > > .elif ${LINUX_PLATFORM} == "i386" > > > > > LINUX_RPM_ARCH= i386 > > > > > .elif ${LINUX_PLATFORM} == "x86_64" > > > > > LINUX_RPM_ARCH= x86_64 > > > > > SFX= 64 > > > > > .else > > > > > IGNORE= ${LINUX_PLATFORM} is not supported > > > > > .endif > > > > > > > > > > I shal glad to remarks, proposals and results of testing. > > > > > thnx > > > > > > > > Reading your email, I got an impression that i386/linux and x86_64/linux > > > > ABI emulators are mutually exclusive. Is this right ? I think it would > > > > be most useful to be able to have them both in one kernel. > > > > > > yes, it so. if there are ports working only on i386 it's necessary > > > to do it. I don't know such ports :( > > > > Whether there is a _port_ that has no amd64 counterpart for i386 one is > > irrelevant there. The Linux ABI emulation is supposed to work not only with > > a software installed from port, but with most binaries. > > > > If emulating both ia32 and x86_64 simultaneously is technically feasible > > (and I believe it is), then both should be available. i386->amd64 is > > not the replacement step, this is an backward-compatible upgrade. > > Something few the interested participants of discussion :) > problem in that I am not familiar with a ports infrastructure... > > in my opinion the best decision for amd64 looks so. > we use two modules. linux.ko for x86_64 and linux32.ko for ia32, > option COMPAT_LINUX for x86_64 and COMPAT_LINUX32 for ia32. > and two linux_base directories: /compat/linux for x86_64 > and /compat/linux32 for ia32. I generally agree with that but the problem is that this breaks POLA... :( From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 18 08:05:51 2008 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 186AA1065674 for ; Mon, 18 Aug 2008 08:05:51 +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 AA8688FC1A for ; Mon, 18 Aug 2008 08:05:50 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A574E6.dip.t-dialin.net [84.165.116.230]) by redbull.bpaserver.net (Postfix) with ESMTP id 7BBCC2E085; Mon, 18 Aug 2008 10:05:45 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 487686C715; Mon, 18 Aug 2008 10:05:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1219046742; bh=qIaACm9nBKHPr85K12KK043XWP3elCvli cLqUC8Xy44=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LraQsw7sgDvtK79CwLe+4UCCdj2ujVhxr85+YKUi1jfnnFo0b3OiwanPv4gpThnRx Hp2nR1/K3aMhR5BtOwPnR2GpAfFoSQCmY/S4Zf8zwr+Hw+BDyU7KMaG2mmFvCb5WypH tzm7WOtGBsiIQbHHji08U/2j8DqYykrgmV0j1eK80CwdAF9hN+WkbptVtC4c2sSJWzW RGg4jqP+pl5/CdL5tce6xM/T3r11hXTuJF5/zUczYfhNVk85umIb4nr5Fc0dvzSzorD tfi0LKowwmx0X4iOLB4wpv16/qeMJmDCDrEdjPcnXtqHdJKOJnCE88Bjr/Qh+drrtMA CMngM25sw== Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m7I85fix050009; Mon, 18 Aug 2008 10:05:41 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 18 Aug 2008 10:05:41 +0200 Message-ID: <20080818100541.20073jcxqbtyci80@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 18 Aug 2008 10:05:41 +0200 From: "Alexander Leidinger" To: "Chagin Dmitry" References: <20080810072013.GA15196@dchagin.dialup.corbina.ru> <20080810115406.GR97161@deviant.kiev.zoral.com.ua> <20080810120424.GA15768@dchagin.dialup.corbina.ru> <20080810122124.GS97161@deviant.kiev.zoral.com.ua> <20080817181757.GA2940@dchagin.dialup.corbina.ru> In-Reply-To: <20080817181757.GA2940@dchagin.dialup.corbina.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.2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 7BBCC2E085.630BA X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-12.136, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, J_CHICKENPOX_52 0.60, MIME_QP_LONG_LINE 1.40, NORMAL_HTTP_TO_IP 0.00, RDNS_DYNAMIC 0.10, SARE_GETFCK 1.11, SMILEY -0.50, TW_CV 0.08, TW_HN 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: x86_64 linuxulator patches X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 08:05:51 -0000 Quoting "Chagin Dmitry" (from Sun, 17 Aug 2008 =20 22:17:57 +0400): > On Sun, Aug 10, 2008 at 03:21:24PM +0300, Kostik Belousov wrote: >> On Sun, Aug 10, 2008 at 04:04:24PM +0400, Chagin Dmitry wrote: >> > On Sun, Aug 10, 2008 at 02:54:06PM +0300, Kostik Belousov wrote: >> > > On Sun, Aug 10, 2008 at 11:20:13AM +0400, Chagin Dmitry wrote: >> > > > Hi, as promised, I place x86_64 linuxulator patches. >> > > > >> > > > here the basic patch: >> > > > http://78.107.232.239/linuxulator64-current.patch >> > > > >> > > > here recvmsg && sendmsg patch (not tested with really applications)= : >> > > > http://78.107.232.239/send-recv-msg.patch >> > > > >> > > > here master repository: >> > > > git://78.107.232.239/linuxulator >> > > > >> > > > and ports used for testing (and only for testing): >> > > > git://78.107.232.239/linux_base-f8 >> > > > git://78.107.232.239/linux_devel-f8 >> > > > git://78.107.232.239/linux_kdump-1.6 >> > > > >> > > > by default on amd64 builds i386 linuxulator, for build x86_64 use >> > > > cd sys/modules/linux >> > > > make -D COMPAT_LINUX64 >> > > > >> > > > for correct recognition of what linuxulator version is used >> > > > added new sysctl compat.linux.platform >> > > > for example use in ports Makefile's: >> > > > >> > > > LINUX_PLATFORM!=3D /sbin/sysctl -n compat.linux.platform =20 >> 2>/dev/null >> > > > >> > > > .if ${LINUX_PLATFORM}x =3D=3D "x" >> > > > IGNORE=3D linuxulator is not (kld)loaded >> > > > .elif ${LINUX_PLATFORM} =3D=3D "i386" >> > > > LINUX_RPM_ARCH=3D i386 >> > > > .elif ${LINUX_PLATFORM} =3D=3D "x86_64" >> > > > LINUX_RPM_ARCH=3D x86_64 >> > > > SFX=3D 64 >> > > > .else >> > > > IGNORE=3D ${LINUX_PLATFORM} is not supported >> > > > .endif >> > > > >> > > > I shal glad to remarks, proposals and results of testing. >> > > > thnx >> > > >> > > Reading your email, I got an impression that i386/linux and x86_64/li= nux >> > > ABI emulators are mutually exclusive. Is this right ? I think it woul= d >> > > be most useful to be able to have them both in one kernel. >> > >> > yes, it so. if there are ports working only on i386 it's necessary >> > to do it. I don't know such ports :( >> >> Whether there is a _port_ that has no amd64 counterpart for i386 one is >> irrelevant there. The Linux ABI emulation is supposed to work not only wi= th >> a software installed from port, but with most binaries. >> >> If emulating both ia32 and x86_64 simultaneously is technically feasible >> (and I believe it is), then both should be available. i386->amd64 is >> not the replacement step, this is an backward-compatible upgrade. > > Something few the interested participants of discussion :) > problem in that I am not familiar with a ports infrastructure... > > in my opinion the best decision for amd64 looks so. > we use two modules. linux.ko for x86_64 and linux32.ko for ia32, > option COMPAT_LINUX for x86_64 and COMPAT_LINUX32 for ia32. > and two linux_base directories: /compat/linux for x86_64 > and /compat/linux32 for ia32. > > there are other opinions? I propose: - /compat/linux64 for 64bit stuff - /compat/linux32 a symlink to /compat/linux - /compat/linux for 32bit stuff (we can think about having) Reasons: - existing installations don't get fucked up with a partial update (very big point!) - we don't have to special case amd64-linux32 for LINUXBASE, we just have to distinguish 32 and 64 bit (maybe with switches USE_LINUX and USE_LINUX64, we have to have separate 64bit ports anyway, when we want to be able to install in parallel) Bye, Alexander. --=20 If God wanted us to be brave, why did he give us legs? =09=09-- Marvin Kitman http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 18 08:38:03 2008 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 447411065680 for ; Mon, 18 Aug 2008 08:38:03 +0000 (UTC) (envelope-from ady@ady.ro) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id 2A3ED8FC16 for ; Mon, 18 Aug 2008 08:38:02 +0000 (UTC) (envelope-from ady@ady.ro) Received: by wf-out-1314.google.com with SMTP id 24so1844460wfg.7 for ; Mon, 18 Aug 2008 01:38:02 -0700 (PDT) Received: by 10.142.135.16 with SMTP id i16mr1953127wfd.144.1219048682320; Mon, 18 Aug 2008 01:38:02 -0700 (PDT) Received: by 10.142.80.3 with HTTP; Mon, 18 Aug 2008 01:38:02 -0700 (PDT) Message-ID: <78cb3d3f0808180138o6c2e7c3bhf6f49b4de547b218@mail.gmail.com> Date: Mon, 18 Aug 2008 10:38:02 +0200 From: "Adrian Penisoara" Sender: ady@ady.ro To: "Alexander Leidinger" In-Reply-To: <20080818100541.20073jcxqbtyci80@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080810072013.GA15196@dchagin.dialup.corbina.ru> <20080810115406.GR97161@deviant.kiev.zoral.com.ua> <20080810120424.GA15768@dchagin.dialup.corbina.ru> <20080810122124.GS97161@deviant.kiev.zoral.com.ua> <20080817181757.GA2940@dchagin.dialup.corbina.ru> <20080818100541.20073jcxqbtyci80@webmail.leidinger.net> X-Google-Sender-Auth: abf4e1809335df10 Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: x86_64 linuxulator patches X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 08:38:03 -0000 Hi, On Mon, Aug 18, 2008 at 10:05 AM, Alexander Leidinger wrote: >> in my opinion the best decision for amd64 looks so. >> we use two modules. linux.ko for x86_64 and linux32.ko for ia32, >> option COMPAT_LINUX for x86_64 and COMPAT_LINUX32 for ia32. >> and two linux_base directories: /compat/linux for x86_64 >> and /compat/linux32 for ia32. >> >> there are other opinions? > > I propose: > - /compat/linux64 for 64bit stuff > - /compat/linux32 a symlink to /compat/linux > - /compat/linux for 32bit stuff (we can think about having) > I agree with this later proposition, it's a bad thing to break the already established purpose for /compat/linux (32bit binaries). Here is yet another variation: /compat/linux64 -- 64bit /compat/linux32 -- 32bit /compat/linux -> linux32 -- symlink, would this break anything in the current ports/packages ? I strongly oppose having linux.ko as the 64bit version, rather there should be linux64.ko (linux-x86_64.ko ?) and linux32.ko (linux-ia32.ko ?) and perhaps we should make linux.ko try loading both of these (since the user did not specify the intended platform). Just a thought, Adrian. From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 18 10:11:37 2008 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 96DA41065673; Mon, 18 Aug 2008 10:11:37 +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 468818FC16; Mon, 18 Aug 2008 10:11:37 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A55752.dip.t-dialin.net [84.165.87.82]) by redbull.bpaserver.net (Postfix) with ESMTP id 8899F2E1BC; Mon, 18 Aug 2008 12:11:30 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id D50BC144CD9; Mon, 18 Aug 2008 12:11:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1219054287; bh=Vg+4fUqhd5jWA3czSmDSODHMAk8Lfwsz5 +SjRLrNZ0o=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=3M5H1i14g3GWrnDOV7bS0EFfDqjIbAwG7PZDnLPIoD6A63RZb+5VGiUlqIW5US9/L lYOhe+6Sy+Hxx4/q7kBRRM6rgQDevrkdSUO11c8+wIyo0pfqcIkmKo6lyWHrQ4N9TyS hwJxeJCmOog7vfCgz3O4/1AoQ827vsNRu+uAIOAoO0e2jRTqXEMfOrgT3MkF1kjrcKK Xd2suGW/5tGwkq6ZvROZuDfa7xfe6/jiA3nLcf+x7/C+heVOXKFc6tcGYFEZNC0q4UW jMifBp2Jfqup9dwfK/LX9eFILBPIAcAR3Vd6D5FCYsFYYG89SU0vFWReIw2oEfUa8Ey lY3ezROhA== Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m7IABRNa071333; Mon, 18 Aug 2008 12:11:27 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 18 Aug 2008 12:11:27 +0200 Message-ID: <20080818121127.745322h5l2ufrxs0@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 18 Aug 2008 12:11:27 +0200 From: "Alexander Leidinger" To: "Adrian Penisoara" References: <20080810072013.GA15196@dchagin.dialup.corbina.ru> <20080810115406.GR97161@deviant.kiev.zoral.com.ua> <20080810120424.GA15768@dchagin.dialup.corbina.ru> <20080810122124.GS97161@deviant.kiev.zoral.com.ua> <20080817181757.GA2940@dchagin.dialup.corbina.ru> <20080818100541.20073jcxqbtyci80@webmail.leidinger.net> <78cb3d3f0808180138o6c2e7c3bhf6f49b4de547b218@mail.gmail.com> In-Reply-To: <78cb3d3f0808180138o6c2e7c3bhf6f49b4de547b218@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.2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 8899F2E1BC.70FD2 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.3, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, J_CHICKENPOX_52 0.60, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: x86_64 linuxulator patches X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 10:11:37 -0000 Quoting "Adrian Penisoara" (from Mon, 18 Aug 2008 =20 10:38:02 +0200): > Hi, > > On Mon, Aug 18, 2008 at 10:05 AM, Alexander Leidinger > wrote: >>> in my opinion the best decision for amd64 looks so. >>> we use two modules. linux.ko for x86_64 and linux32.ko for ia32, >>> option COMPAT_LINUX for x86_64 and COMPAT_LINUX32 for ia32. >>> and two linux_base directories: /compat/linux for x86_64 >>> and /compat/linux32 for ia32. >>> >>> there are other opinions? >> >> I propose: >> - /compat/linux64 for 64bit stuff >> - /compat/linux32 a symlink to /compat/linux >> - /compat/linux for 32bit stuff (we can think about having) >> > > I agree with this later proposition, it's a bad thing to break the > already established purpose for /compat/linux (32bit binaries). > > Here is yet another variation: > /compat/linux64 -- 64bit > /compat/linux32 -- 32bit > /compat/linux -> linux32 -- symlink, would this break anything in > the current ports/packages ? Making linux a symlink to linux32 will not work. I made the proposal =20 the other way around on purpose. If an user does not update after the =20 changes are introduced, any new installation (without the update) will =20 mess-up the installation. If you don't have to worry about backwards =20 compatibility, it's ok (and I would prefer it), but unfortunately it =20 will create more hassle than it will help in the real world (there are =20 too much people which will not make the right thing in such a case). I also thought about workarounds, by e.g. checking if all involved =20 paths are of the correct type and refuse to work or to adjust the =20 paths if they aren't, but this will make the LINUXBASE handling very =20 complicated, more than it is worth (there's already a lot of work to =20 do to get all infrastructure for this together). > I strongly oppose having linux.ko as the 64bit version, rather there > should be linux64.ko (linux-x86_64.ko ?) and linux32.ko (linux-ia32.ko > ?) and perhaps we should make linux.ko try loading both of these > (since the user did not specify the intended platform). I like this. linux.ko as a meta module which depends upon linux32 and =20 linux64 on amd64, and depends upon linux32 on i386. This way POLA is =20 preserved, the documentation is not wrong (to enable linux emulation =20 load the linux.ko), and people which only want one can load the =20 specific one. Bye, Alexander. --=20 =09A domineering man married a mere wisp of a girl. He came back from his honeymoon a chastened man. He'd become aware of the will of the wisp. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 18 11:06:48 2008 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 7A1BA1065695 for ; Mon, 18 Aug 2008 11:06:48 +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 72BA98FC30 for ; Mon, 18 Aug 2008 11:06:48 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7IB6mNU079772 for ; Mon, 18 Aug 2008 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7IB6lkf079768 for freebsd-emulation@FreeBSD.org; Mon, 18 Aug 2008 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Aug 2008 11:06:47 GMT Message-Id: <200808181106.m7IB6lkf079768@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 11:06:48 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/97326 emulation [linux] file descriptor leakage in linux emulation o kern/117010 emulation [linux] linux_getdents() get something like buffer ove 3 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/41543 emulation [patch] [request] easier wine/w23 support a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula o ports/91318 emulation [fix] graphics/linux_dri: works on amd64 too o ports/121800 emulation x11-toolkits/linux-openmotif - OpenMotif upgrade to 2. o kern/122318 emulation [linux] [cmake]: Segmentation fault when running Linux o ports/123960 emulation Port fix: archivers/linux-par2cmdline - better handlin o ports/126232 emulation Linux ioctl TCGETS (0x5401) always fails 12 problems total. From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 19 13:36:05 2008 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 5C9011065674 for ; Tue, 19 Aug 2008 13:36:05 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 35E118FC0A for ; Tue, 19 Aug 2008 13:36:05 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KVR57-0001MW-BS for freebsd-emulation@freebsd.org; Tue, 19 Aug 2008 06:17:05 -0700 Message-ID: <19048609.post@talk.nabble.com> Date: Tue, 19 Aug 2008 06:17:05 -0700 (PDT) From: Tom Wickline To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: twickline@gmail.com Subject: Bordeaux for FreeBSD coming soon X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 13:36:05 -0000 Over the last couple day's I have been working on the Bordeaux for FreeBSD 7 port. We now have everything compiling and running but a lot more testing needs to be done before it's ready for a final release. Internet Explorer, Steam and Office 2003 are the only applications ive gotten around to testing thus far. The good news is everything that I have tested works fairly well on FreeBSD. More info can be found here: http://www.wine-reviews.net/wine-reviews/bordeaux/bordeaux-for-freebsd-coming-soon.html -- View this message in context: http://www.nabble.com/Bordeaux-for-FreeBSD-coming-soon-tp19048609p19048609.html Sent from the freebsd-emulation mailing list archive at Nabble.com. From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 19 17:45:42 2008 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 EAAF91065682 for ; Tue, 19 Aug 2008 17:45:42 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 8B3488FC29 for ; Tue, 19 Aug 2008 17:45:42 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id F2D07176A64 for ; Tue, 19 Aug 2008 21:45:39 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.dialup.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 981390743 for freebsd-emulation@freebsd.org; Tue, 19 Aug 2008 21:45:39 +0400 Received: from dchagin.dialup.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.dialup.corbina.ru (8.14.2/8.14.2) with ESMTP id m7JHjekQ016896 for ; Tue, 19 Aug 2008 21:45:40 +0400 (MSD) (envelope-from root@dchagin.dialup.corbina.ru) Received: (from root@localhost) by dchagin.dialup.corbina.ru (8.14.2/8.14.2/Submit) id m7JHjZoH016895 for freebsd-emulation@freebsd.org; Tue, 19 Aug 2008 21:45:35 +0400 (MSD) (envelope-from root) Date: Tue, 19 Aug 2008 21:45:35 +0400 From: Chagin Dmitry To: freebsd-emulation@freebsd.org Message-ID: <20080819174535.GA16788@dchagin.dialup.corbina.ru> Mail-Followup-To: freebsd-emulation@freebsd.org References: <20080810072013.GA15196@dchagin.dialup.corbina.ru> <20080810115406.GR97161@deviant.kiev.zoral.com.ua> <20080810120424.GA15768@dchagin.dialup.corbina.ru> <20080810122124.GS97161@deviant.kiev.zoral.com.ua> <20080817181757.GA2940@dchagin.dialup.corbina.ru> <20080818100541.20073jcxqbtyci80@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080818100541.20073jcxqbtyci80@webmail.leidinger.net> User-Agent: Mutt/1.4.2.3i Subject: Re: x86_64 linuxulator patches X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 17:45:43 -0000 On Mon, Aug 18, 2008 at 10:05:41AM +0200, Alexander Leidinger wrote: > Quoting "Chagin Dmitry" (from Sun, 17 Aug 2008 > 22:17:57 +0400): > > >On Sun, Aug 10, 2008 at 03:21:24PM +0300, Kostik Belousov wrote: > >>On Sun, Aug 10, 2008 at 04:04:24PM +0400, Chagin Dmitry wrote: > >>> On Sun, Aug 10, 2008 at 02:54:06PM +0300, Kostik Belousov wrote: > >>> > On Sun, Aug 10, 2008 at 11:20:13AM +0400, Chagin Dmitry wrote: > >>> > > Hi, as promised, I place x86_64 linuxulator patches. > >>> > > > >>> > > here the basic patch: > >>> > > http://78.107.232.239/linuxulator64-current.patch > >>> > > > >>> > > here recvmsg && sendmsg patch (not tested with really applications): > >>> > > http://78.107.232.239/send-recv-msg.patch > >>> > > > >>> > > here master repository: > >>> > > git://78.107.232.239/linuxulator > >>> > > > >>> > > and ports used for testing (and only for testing): > >>> > > git://78.107.232.239/linux_base-f8 > >>> > > git://78.107.232.239/linux_devel-f8 > >>> > > git://78.107.232.239/linux_kdump-1.6 > >>> > > > >>> > > by default on amd64 builds i386 linuxulator, for build x86_64 use > >>> > > cd sys/modules/linux > >>> > > make -D COMPAT_LINUX64 > >>> > > > >>> > > for correct recognition of what linuxulator version is used > >>> > > added new sysctl compat.linux.platform > >>> > > for example use in ports Makefile's: > >>> > > > >>> > > LINUX_PLATFORM!= /sbin/sysctl -n compat.linux.platform > >>2>/dev/null > >>> > > > >>> > > .if ${LINUX_PLATFORM}x == "x" > >>> > > IGNORE= linuxulator is not (kld)loaded > >>> > > .elif ${LINUX_PLATFORM} == "i386" > >>> > > LINUX_RPM_ARCH= i386 > >>> > > .elif ${LINUX_PLATFORM} == "x86_64" > >>> > > LINUX_RPM_ARCH= x86_64 > >>> > > SFX= 64 > >>> > > .else > >>> > > IGNORE= ${LINUX_PLATFORM} is not supported > >>> > > .endif > >>> > > > >>> > > I shal glad to remarks, proposals and results of testing. > >>> > > thnx > >>> > > >>> > Reading your email, I got an impression that i386/linux and > >>x86_64/linux > >>> > ABI emulators are mutually exclusive. Is this right ? I think it would > >>> > be most useful to be able to have them both in one kernel. > >>> > >>> yes, it so. if there are ports working only on i386 it's necessary > >>> to do it. I don't know such ports :( > >> > >>Whether there is a _port_ that has no amd64 counterpart for i386 one is > >>irrelevant there. The Linux ABI emulation is supposed to work not only > >>with > >>a software installed from port, but with most binaries. > >> > >>If emulating both ia32 and x86_64 simultaneously is technically feasible > >>(and I believe it is), then both should be available. i386->amd64 is > >>not the replacement step, this is an backward-compatible upgrade. > > > >Something few the interested participants of discussion :) > >problem in that I am not familiar with a ports infrastructure... > > > >in my opinion the best decision for amd64 looks so. > >we use two modules. linux.ko for x86_64 and linux32.ko for ia32, > >option COMPAT_LINUX for x86_64 and COMPAT_LINUX32 for ia32. > >and two linux_base directories: /compat/linux for x86_64 > >and /compat/linux32 for ia32. > > > >there are other opinions? > > I propose: > - /compat/linux64 for 64bit stuff > - /compat/linux32 a symlink to /compat/linux > - /compat/linux for 32bit stuff (we can think about having) > > Reasons: > - existing installations don't get fucked up with a partial update > (very big point!) > - we don't have to special case amd64-linux32 for LINUXBASE, we > just have to distinguish 32 and 64 bit (maybe with switches > USE_LINUX and USE_LINUX64, we have to have separate 64bit > ports anyway, when we want to be able to install in parallel) > Thanks Alexander, Adrian, Roman! I have understood. -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 19 23:41:12 2008 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 C9A8F1065687 for ; Tue, 19 Aug 2008 23:41:12 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 81C168FC16 for ; Tue, 19 Aug 2008 23:41:12 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from HOME.encontacto.net ([189.190.8.164]) by ns2.bafirst.com with esmtp; Tue, 19 Aug 2008 18:41:09 -0500 id 000D5422.48AB5A16.00012E31 Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Tue, 19 Aug 2008 18:41:09 -0500 id 0004AC16.48AB5A15.0000A6A7 Received: from 172.16.0.7 (172.16.0.7 [172.16.0.7]) by econet.encontacto.net (Horde Framework) with HTTP; Tue, 19 Aug 2008 18:41:08 -0500 Message-ID: <20080819184108.64557e8fqaabqt8g@econet.encontacto.net> Date: Tue, 19 Aug 2008 18:41:08 -0500 From: eculp To: Tom Wickline , sales@wine-reviews.net References: <19048609.post@talk.nabble.com> In-Reply-To: <19048609.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.16) Gecko/20080803 Firefox/2.0.0.16 X-IMP-Server: 189.190.8.164 X-Originating-IP: 201.155.7.3 X-Originating-User: eculp@encontacto.net Cc: freebsd-emulation@freebsd.org Subject: Re: Bordeaux for FreeBSD coming soon X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 23:41:12 -0000 Quoting Tom Wickline : > > Over the last couple day's I have been working on the Bordeaux for FreeBSD= 7 > port. We now have everything compiling and running but a lot more testing > needs to be done before it's ready for a final release. Internet Explorer, > Steam and Office 2003 are the only applications ive gotten around to testi= ng > thus far. The good news is everything that I have tested works fairly well > on FreeBSD. > > More info can be found here: > http://www.wine-reviews.net/wine-reviews/bordeaux/bordeaux-for-freebsd-com= ing-soon.html > -- > View this message in context: =20 > http://www.nabble.com/Bordeaux-for-FreeBSD-coming-soon-tp19048609p19048609= .html > Sent from the freebsd-emulation mailing list archive at Nabble.com. I took a look at the links and need explorer support in FreeBSD before =20 I can start converting all our PC's. The government here requires =20 Internet Explorer for many of their forms and we haven't found any way =20 around the requirement. I made the paypal deposit for the $20 that was required to test the =20 beta version and am still, 8 hours later, waiting for the confirmation =20 password to be able to download the beta. I have checked Spam and it =20 is the same email as the above that has no strange problems. I'm =20 somewhat concerned not for the money but to see if this is or can be =20 the solution to our problem. I'm sending a copy to the sales email of wine-reviews. I'm also curious if a port will also require purchase? thanks, ed From owner-freebsd-emulation@FreeBSD.ORG Wed Aug 20 08:41:45 2008 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 C8D2A106566B for ; Wed, 20 Aug 2008 08:41:45 +0000 (UTC) (envelope-from andr.pl@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189]) by mx1.freebsd.org (Postfix) with ESMTP id 4B71A8FC08 for ; Wed, 20 Aug 2008 08:41:45 +0000 (UTC) (envelope-from andr.pl@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so350269fkk.11 for ; Wed, 20 Aug 2008 01:41:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent; bh=4mgfF3w/dZ3MfpSjq8JNmII1Ov+3ieUwmk3udBEqJzU=; b=Xu0t3tudifzhOVh89wXovYEC4XDrtFhp8PNaoSkUKIWwJIPNY1FaKVhSI5AfM3o19y zbGwRdEQhESPIkL+g5c3aiRuzzpqovG4+xVW6C4md20YRijX7bqjWAHF4CGvBCTIS3k1 dH9d2KeZQbg9oA3X2ojbAGFvVmttSNqwsojFA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent; b=mcgF0o9oB/3DNbAM8bnuyEd6L2ug4upyxO3t8oJX8XWFE0d+UF4BQDK8hyKWZK47W1 m3Qr8Tf28VlsR9tjLBPjl0mZum1dC+TUx4MdW1ip5ulJJlsASDrFWg/m3PO80hC4DcHY pe16dWk8M5qGm7feZSooXV/tzkjoY542Cq6bQ= Received: by 10.181.27.7 with SMTP id e7mr4326619bkj.2.1219220089731; Wed, 20 Aug 2008 01:14:49 -0700 (PDT) Received: from localhost ( [87.250.250.189]) by mx.google.com with ESMTPS id c28sm1186014fka.18.2008.08.20.01.14.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Aug 2008 01:14:48 -0700 (PDT) Date: Wed, 20 Aug 2008 12:14:45 +0400 From: Andrey Ignatov To: freebsd-emulation@freebsd.org Message-ID: <20080820081414.GA68778@rdna.yandex.ru> Mail-Followup-To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: linux-megacli and linsysfs X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 08:41:45 -0000 Hi; I have many servers with RAID controllers Dell PERC 5/E, PERC 6/E (mfi driver in FreeBSD, man mfi). I use /usr/ports/sysutils/linux-megacli for software management of these controllers. This management utility works through linsysfs and linprocfs. I has tried run linux-megacli on several servers and found law. The utility works in case mfi0 is on scbus0 and is detected as host0 in linsysfs but not works in other case (is detected as host1, host2 etc. in linsysfs). For example, megacli works perfectly on server "one": one# camcontrol devlist at scbus0 target 17 lun 0 (ses0,pass0) at scbus0 target 18 lun 0 (ses1,pass1) at scbus0 target 19 lun 0 (pass2) at scbus0 target 20 lun 0 (pass3) at scbus0 target 21 lun 0 (pass4) at scbus0 target 22 lun 0 (pass5) at scbus0 target 23 lun 0 (pass6) at scbus0 target 24 lun 0 (pass7) at scbus0 target 25 lun 0 (pass8) at scbus0 target 26 lun 0 (pass9) at scbus0 target 27 lun 0 (pass10) at scbus0 target 28 lun 0 (pass11) at scbus0 target 29 lun 0 (pass12) at scbus0 target 30 lun 0 (pass13) at scbus0 target 31 lun 0 (pass14) at scbus0 target 32 lun 0 (pass15) at scbus0 target 33 lun 0 (pass16) at scbus1 target 0 lun 0 (da0,pass17) at scbus1 target 1 lun 0 (da1,pass18) (Dell PowerVault MD1000 is pluged to mfi0 on scbus0) one# ls -d1 /compat/linux/sys/class/scsi_host/* /compat/linux/sys/class/scsi_host/host0 /compat/linux/sys/class/scsi_host/host1 one# head -n1 /compat/linux/sys/class/scsi_host/host?/proc_name ==> /compat/linux/sys/class/scsi_host/host0/proc_name <== megaraid_sas ==> /compat/linux/sys/class/scsi_host/host1/proc_name <== (null) one# megacli -AdpAllInfo -aALL | grep '^Product Name' Product Name : PERC 6/E Adapter RAID controller on this server is on scbus0 and is detected as host0 in linsysfs. This server based on motherboard Supermicro X7DBR-3, /var/run/dmesg.boot: ... mfi0: port 0x3000-0x30ff mem 0xd8240000-0xd827ffff,0xd8200000-0xd823ffff irq 16 at device 0.0 on pci6 ... mpt0: port 0x4000-0x40ff mem 0xd8510000-0xd8513fff,0xd8500000-0xd850ffff irq 16 at device 1.0 on pci9 mfi0 is detected out by the first, mpt0 - out by the second. But megacli not works on server "two": two# camcontrol devlist at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 1 lun 0 (pass1,da1) at scbus0 target 8 lun 0 (ses0,pass2) at scbus2 target 34 lun 0 (ses1,pass3) at scbus2 target 50 lun 0 (pass4) at scbus2 target 51 lun 0 (pass5) at scbus2 target 52 lun 0 (pass6) at scbus2 target 53 lun 0 (pass7) at scbus2 target 54 lun 0 (pass8) at scbus2 target 55 lun 0 (pass9) at scbus2 target 56 lun 0 (pass10) at scbus2 target 57 lun 0 (pass11) at scbus2 target 58 lun 0 (pass12) at scbus2 target 59 lun 0 (pass13) at scbus2 target 60 lun 0 (pass14) at scbus2 target 61 lun 0 (pass15) at scbus2 target 62 lun 0 (pass16) at scbus2 target 63 lun 0 (pass17) at scbus2 target 64 lun 0 (pass18) two# ls -d1 /compat/linux/sys/class/scsi_host/* /compat/linux/sys/class/scsi_host/host0 /compat/linux/sys/class/scsi_host/host1 two# head -n1 /compat/linux/sys/class/scsi_host/host?/proc_name ==> /compat/linux/sys/class/scsi_host/host0/proc_name <== (null) ==> /compat/linux/sys/class/scsi_host/host1/proc_name <== megaraid_sas two# megacli -AdpAllInfo -aALL two# echo $? 1 RAID controller is on scbus2 and is detected as host1 in linsysfs. It's Dell 1950. /var/run/dmesg.boot: ... mpt0: port 0xec00-0xecff mem 0xfc7fc000-0xfc7fffff,0xfc7e0000-0xfc7effff irq 16 at device 0.0 on pci1 ... mfi0: mem 0xd80f0000-0xd80fffff,0xfc5c0000-0xfc5dffff irq 18 at device 14.0 on pci11 mpt0 is detected out by the first, mfi0 - out by the second. megacli not works in this case .. But megacli identify correctly number of controllers on both servers: one# megacli -AdpCount Controller Count: 1. two# megacli -AdpCount Controller Count: 1. hint.scbus.0.at="mfi0" in /boot/device.hints on server "two" affects only a camcontrol's output but not affects a order of "hosts" in linsysfs (megaraid_sas is detected as host1). The result does not depend on type of the controller (PERC 5/E or PERC 6/E). How I can change order of "hosts" in linsysfs that megaraid_sas was in host0 ? Other workaround ? I shall be grateful for any ideas. Thanks. -- Andrey Ignatov From owner-freebsd-emulation@FreeBSD.ORG Wed Aug 20 14:05:01 2008 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 9C3EB106568D for ; Wed, 20 Aug 2008 14:05:01 +0000 (UTC) (envelope-from mdobrzyn@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.230]) by mx1.freebsd.org (Postfix) with ESMTP id 676B88FC08 for ; Wed, 20 Aug 2008 14:05:01 +0000 (UTC) (envelope-from mdobrzyn@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so748200rvf.43 for ; Wed, 20 Aug 2008 07:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=hMbph48WQN28FwRea8qvDsveTc+UxYW2bYNHUjbp8a0=; b=VBh8xi2zDqyeM1a5QvAoFyAheHjuMnfgmDqCekFPSJncSmZVBuyLtdFeFMBWl27ZgM u2VaNqNrQMCxnmjXEkofkixe4c7bsqiPHxekZ8NZCLoyWlIUrzfynhgwZjuX4ElAo5zc BUre5DNt5zI7LrAvE/sVQJSG/wBgR+Dy7sba4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=uFFqiqVQ07LE2XqGXkxfVQr3H1zG1ZiVkH7wwapx4ZCvuAwz+TjK84+YgyMIaDKNRO hFtPKCB3uiuRRkupG1tYjyGUcwFy63LzUDj4/bsn+WzoWdWEB/HFJU4V5c3+qPYhYZMJ Xs78bFs/btSl4EjYlDAj2Z2HqqBXWju04Ukyc= Received: by 10.141.71.8 with SMTP id y8mr39078rvk.32.1219239375890; Wed, 20 Aug 2008 06:36:15 -0700 (PDT) Received: by 10.141.179.12 with HTTP; Wed, 20 Aug 2008 06:36:15 -0700 (PDT) Message-ID: Date: Wed, 20 Aug 2008 15:36:15 +0200 From: "Michal Dobrzynski" Sender: mdobrzyn@gmail.com To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 23d865e13e002aa3 Subject: vmware3 under freebsd 7.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 14:05:01 -0000 Hello When I trying to bulid vmware3 package from /usr/ports/emulators/vmware3 under FreeBSD 7.0 i386 I had followin error. [root@mambo /usr/ports/emulators/vmware3]# make install ===> Building for vmware3-3.2.1.2242_13,1 ===> vmmon-only (all) make -f Makefile.freebsd SMP=YES clean && make -f Makefile.freebsd SMP=YES "/usr/share/mk/bsd.compat.mk", line 35: warning: NOMAN is deprecated in favour of NO_MAN rm -f export_syms vmmon_smp.ko vmmon_smp.kld cpuid.o memtrack.o phystrack.o task.o vmx86.o driver.o hostif.o linux_emu.o "/usr/share/mk/bsd.compat.mk", line 35: warning: NOMAN is deprecated in favour of NO_MAN Warning: Object directory not changed from original /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only cc -O2 -fno-strict-aliasing -pipe -DCDEV_MAJOR_=200 -DDDB -DVMX86_DEBUG -DSMP -DAPIC_IO -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/cpuid.c cc -O2 -fno-strict-aliasing -pipe -DCDEV_MAJOR_=200 -DDDB -DVMX86_DEBUG -DSMP -DAPIC_IO -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/memtrack.c cc -O2 -fno-strict-aliasing -pipe -DCDEV_MAJOR_=200 -DDDB -DVMX86_DEBUG -DSMP -DAPIC_IO -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/phystrack.c cc -O2 -fno-strict-aliasing -pipe -DCDEV_MAJOR_=200 -DDDB -DVMX86_DEBUG -DSMP -DAPIC_IO -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c Hello [root@mambo /usr/ports/emulators/vmware3]# make install ===> Building for vmware3-3.2.1.2242_13,1 ===> vmmon-only (all) make -f Makefile.freebsd SMP=YES clean && make -f Makefile.freebsd SMP=YES "/usr/share/mk/bsd.compat.mk", line 35: warning: NOMAN is deprecated in favour of NO_MAN rm -f export_syms vmmon_smp.ko vmmon_smp.kld cpuid.o memtrack.o phystrack.o task.o vmx86.o driver.o hostif.o linux_emu.o "/usr/share/mk/bsd.compat.mk", line 35: warning: NOMAN is deprecated in favour of NO_MAN Warning: Object directory not changed from original /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only cc -O2 -fno-strict-aliasing -pipe -DCDEV_MAJOR_=200 -DDDB -DVMX86_DEBUG -DSMP -DAPIC_IO -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/cpuid.c cc -O2 -fno-strict-aliasing -pipe -DCDEV_MAJOR_=200 -DDDB -DVMX86_DEBUG -DSMP -DAPIC_IO -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/memtrack.c cc -O2 -fno-strict-aliasing -pipe -DCDEV_MAJOR_=200 -DDDB -DVMX86_DEBUG -DSMP -DAPIC_IO -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/phystrack.c cc -O2 -fno-strict-aliasing -pipe -DCDEV_MAJOR_=200 -DDDB -DVMX86_DEBUG -DSMP -DAPIC_IO -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/task.c In file included from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include/taskswitch.h:25, from /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/task.c:54: /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include/vm_asm.h: In function 'Div643264': /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include/vm_asm.h:1033: error: memory input 4 is not directly addressable *** Error code 1 Stop in /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only. *** Error code 1 Stop in /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only. *** Error code 1 Stop in /usr/ports/emulators/vmware3/work/vmware-distrib. *** Error code 1 Stop in /usr/ports/emulators/vmware3. *** Error code 1 Stop in /usr/ports/emulators/vmware3. [root@mambo /usr/ports/emulators/vmware3]# Also I had install packages which vmware3 requires autoconf-2.13.000227_6 Automatically configure source code on many Un*x platforms autoconf-2.61_2 Automatically configure source code on many Un*x platforms autoconf-wrapper-20071109 Wrapper script for GNU autoconf automake-1.4.6_4 GNU Standards-compliant Makefile generator (1.4) automake-wrapper-20071109 Wrapper script for GNU automake bash-3.2.25 The GNU Project's Bourne Again SHell gettext-0.16.1_3 GNU gettext package glib-2.14.2 Some useful routines of C programming (current stable versi gmake-3.81_2 GNU version of 'make' utility help2man-1.36.4_1 Automatically generating simple manual pages from program o libiconv-1.11_1 A character set conversion library libtool-1.5.24 Generic shared library support script linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries linux_base-fc-4_10 Base set of packages needed in Linux mode (for i386/amd64) m4-1.4.9,1 GNU m4 mc-4.6.1_6 Midnight Commander, a free Norton Commander Clone p5-Authen-PAM-0.16_1 A Perl interface to the PAM library p5-Net-SSLeay-1.30_1 Perl5 interface to SSL p5-gettext-1.05_1 Message handling functions pcre-7.4 Perl Compatible Regular Expressions library perl-5.8.8_1 Practical Extraction and Report Language pkg-config-0.22_1 A utility to retrieve information about installed libraries popt-1.7_4 A getopt(3) like library with a number of enhancements, fro rpm-3.0.6_13 The Red Hat Package Manager rtc-2004.02.24.1_8 Kernel module which provides /dev/rtc device support screen-4.0.3_1 A multi-screen window manager webmin-1.370_2 Web-based interface for system administration for Unix Who know how I can compile it ? Or maybe other virtualization emulator ? Michael From owner-freebsd-emulation@FreeBSD.ORG Wed Aug 20 23:37:33 2008 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 8CC9F1065674 for ; Wed, 20 Aug 2008 23:37:33 +0000 (UTC) (envelope-from sales@wine-reviews.net) Received: from your.site5.com (8f.47.364a.static.theplanet.com [74.54.71.143]) by mx1.freebsd.org (Postfix) with ESMTP id 6B5F08FC0A for ; Wed, 20 Aug 2008 23:37:33 +0000 (UTC) (envelope-from sales@wine-reviews.net) Received: from cpe-024-167-136-189.triad.res.rr.com ([24.167.136.189]) by your.site5.com with esmtpa (Exim 4.69) (envelope-from ) id 1KVxEv-0006MB-AD; Wed, 20 Aug 2008 18:37:21 -0500 From: Tom Wickline To: eculp In-Reply-To: <20080820122826.20458a9pnlmpa43c@econet.encontacto.net> References: <19048609.post@talk.nabble.com> <20080819184108.64557e8fqaabqt8g@econet.encontacto.net> <20080820122826.20458a9pnlmpa43c@econet.encontacto.net> Content-Type: text/plain Organization: Wine Reviews Date: Wed, 20 Aug 2008 19:37:32 -0400 Message-Id: <1219275452.5745.30.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - your.site5.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - wine-reviews.net X-Source: X-Source-Args: X-Source-Dir: Cc: Tom Wickline , freebsd-emulation Subject: Re: Bordeaux for FreeBSD coming soon X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sales@wine-reviews.net List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 23:37:33 -0000 Hello Ed, OK, ive sent you 5 emails now, one from sales, one from support, my user account at wine-reviews, and even from my personal gmail account..... Can you check your spam box pretty please? This should be a private mail and not on freebsd-emulation but it seems this is the only way you get a email from me. If all else fails ill issue you a refund and you can wait and try the full version when it ships. Refunds are always no questions asked.. just ask and its done. Tom On Wed, 2008-08-20 at 12:28 -0500, eccl wrote: > Still no news on the download. The info from paypal follows. > From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 22 10:50:20 2008 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 C82D51065673 for ; Fri, 22 Aug 2008 10:50:20 +0000 (UTC) (envelope-from andr.pl@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id CD18C8FC15 for ; Fri, 22 Aug 2008 10:50:19 +0000 (UTC) (envelope-from andr.pl@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so517958fgb.35 for ; Fri, 22 Aug 2008 03:50:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=0hbmKKAu7Qobfabrxh/w/QEQQ8FiWzY9ROtctGnOjw4=; b=pu5wfQxpr3ZLrciY09VA9ABEPKFFofOHUOevBeGnGaYE0gjG7vfFgt2GYlpfd64C9E w2AvWYsi0jRkv0fMStlx6TTiSGLoGaL+yn5wwZmdKgoNTbUw27WZQwYwYK1gJgBDtDAp VsfZtRZOxDoP355m24Q7IxdE3rRTrIqEujQHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=quTtjRvzxa5vdltL9KCc4nbzfpfXKqrToEaxopMCjFpX6nZPMSfqkxxEVLMAIoMoVd RHaa0+IA3BK+Psu/+BHt8HPdwhRRppGjVGxhcO9iaBytzMzrctWN3Gpo7onpWh+POw1V lzF5uMGixfcu2QWd5ZGmcr/+WF1K1FxVGKV+Y= Received: by 10.180.214.13 with SMTP id m13mr498596bkg.75.1219402216702; Fri, 22 Aug 2008 03:50:16 -0700 (PDT) Received: from localhost ( [87.250.250.189]) by mx.google.com with ESMTPS id 12sm1012070fks.9.2008.08.22.03.50.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 22 Aug 2008 03:50:15 -0700 (PDT) Date: Fri, 22 Aug 2008 14:50:13 +0400 From: Andrey Ignatov To: freebsd-emulation@freebsd.org Message-ID: <20080822105011.GA1165@rdna.yandex.ru> Mail-Followup-To: freebsd-emulation@freebsd.org References: <20080820081414.GA68778@rdna.yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20080820081414.GA68778@rdna.yandex.ru> User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: Re: linux-megacli and linsysfs X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2008 10:50:20 -0000 Hi; Workaround is found. The linsysfs create directories /compat/linux/sys/class/scsi_host/host* for each device of class PCIC_STORAGE by default. I has changed this behaviour and resolved my problem by this patch: --8<-------------------------------------------------------------------- --- src/sys/compat/linsysfs/linsysfs.c.orig 2007-03-12 15:16:52.000000000 +0300 +++ src/sys/compat/linsysfs/linsysfs.c 2008-08-21 13:59:06.000000000 +0400 @@ -177,7 +177,7 @@ dir = pfs_create_dir(dir, device, NULL, NULL, NULL, 0); - if (dinfo->cfg.baseclass == PCIC_STORAGE) { + if (dinfo->cfg.baseclass == PCIC_STORAGE && dinfo->cfg.subclass == PCIS_STORAGE_RAID) { /* DJA only make this if needed */ sprintf(host, "host%d", host_number++); strcat(new_path, "/"); -->8-------------------------------------------------------------------- With this patch linsysfs created directories /compat/linux/sys/class/scsi_host/host* for RAID controllers only and not created for SCSI controllers like mpt. The RAID controller mfi0 detected so as /compat/linux/sys/class/scsi_host/host0 in linsysfs and linux-megacli works correctly. The topic is closed. Thanks. P.S. FreeBSD 7.0-STABLE amd64 linux-megacli-1.01.40_1 PERC 5/E, PERC 6/E Dell PowerVault MD1000 -- Andrey Ignatov From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 22 11:29:28 2008 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 7EDEA1065671 for ; Fri, 22 Aug 2008 11:29:28 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 44D108FC23 for ; Fri, 22 Aug 2008 11:29:28 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 913401CE1E; Fri, 22 Aug 2008 13:29:27 +0200 (CEST) Date: Fri, 22 Aug 2008 13:29:27 +0200 From: Ed Schouten To: freebsd-emulation@FreeBSD.org Message-ID: <20080822112927.GZ99951@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ACXCpt6uomGaXz4s" Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: MPSAFE TTY: Linux PTY's X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2008 11:29:28 -0000 --ACXCpt6uomGaXz4s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Emulation folks, I just wanted to send you all a message to say one of the things I tried to improve in the MPSAFE TTY branch was support for PTY's for Linux binaries. At home I've got a FreeBSD Jail running Debian Etch. Unfortunately, Linux sendmsg() is a little broken on FreeBSD/amd64, but so far I've been able to at least get OpenSSH (as root) and GNU Screen working. So if you folks run into any problems related to TTY's that you think can easily be solved, just send me an email. Thanks! --=20 Ed Schouten WWW: http://80386.nl/ --ACXCpt6uomGaXz4s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkiuoxcACgkQ52SDGA2eCwVslgCfVhKHxyohO+7x/cqyUZXLRNYh T0IAn2rMZgvxkS5+oJIfyEi8H/mDrclT =Hev7 -----END PGP SIGNATURE----- --ACXCpt6uomGaXz4s-- From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 22 11:31:18 2008 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 134311065675 for ; Fri, 22 Aug 2008 11:31:18 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id B23648FC1C for ; Fri, 22 Aug 2008 11:31:16 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 228FF679DA0; Fri, 22 Aug 2008 13:29:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XfTx-YSrIq1c; Fri, 22 Aug 2008 13:29:46 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id AEEDE679698; Fri, 22 Aug 2008 13:29:46 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m7MBTk3L097600; Fri, 22 Aug 2008 13:29:46 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 22 Aug 2008 13:29:46 +0200 From: Roman Divacky To: Ed Schouten Message-ID: <20080822112946.GA97526@freebsd.org> References: <20080822112927.GZ99951@hoeg.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080822112927.GZ99951@hoeg.nl> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@FreeBSD.org Subject: Re: MPSAFE TTY: Linux PTY's X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2008 11:31:18 -0000 On Fri, Aug 22, 2008 at 01:29:27PM +0200, Ed Schouten wrote: > Hello Emulation folks, > > I just wanted to send you all a message to say one of the things I tried > to improve in the MPSAFE TTY branch was support for PTY's for Linux > binaries. > > At home I've got a FreeBSD Jail running Debian Etch. Unfortunately, > Linux sendmsg() is a little broken on FreeBSD/amd64, but so far I've > been able to at least get OpenSSH (as root) and GNU Screen working. I believe dmitry has a patch for this..