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.