From owner-freebsd-emulation Fri Apr 6 7:11:22 2001 Delivered-To: freebsd-emulation@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 789) id F3E2B37B506; Fri, 6 Apr 2001 07:11:20 -0700 (PDT) From: Marc van Woerkom <3d@hub.freebsd.org> To: freebsd-emulation@freebsd.org Subject: Different Linux bases Reply-To: 3d@freebsd.org Message-Id: <20010406141120.F3E2B37B506@hub.freebsd.org> Date: Fri, 6 Apr 2001 07:11:20 -0700 (PDT) Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I was just looking over the fence, what the NetBSD folks are doing. (I experience some strange realplayer 8 crashes on my home box) An interesting bit I noted was that they based their Linux emulation on the SuSE 6.4 distribution, while we use RedHat. I have no idea which one to prefer, but it raises the question if it would make sense to organize the emulation to host different Linux bases. How dependent is the present one on RedHat? Another source for variation is the XFree 3.3.x vs 4.x issue. A newer Linux base would need XF 4.x. What could be nice way to tell the runtime loader what installed Linux base to use (if there are different?) Regards, Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Apr 6 7:51:43 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id E851B37B496; Fri, 6 Apr 2001 07:51:36 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.11.3) with SMTP id f36EnlR12467; Fri, 6 Apr 2001 10:49:48 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <00c201c0bea9$149f7980$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: <3d@FreeBSD.ORG>, References: <20010406141120.F3E2B37B506@hub.freebsd.org> Subject: Re: Different Linux bases Date: Fri, 6 Apr 2001 10:51:36 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I have no idea which one to prefer, but it raises the question > if it would make sense to organize the emulation to > host different Linux bases. > > How dependent is the present one on RedHat? I don't think it's too dependent on anything -- just the contents of the linux_base port. > What could be nice way to tell the runtime loader > what installed Linux base to use (if there are different?) I think the shims are present via sysctl to provide details of the currently installed emulation: gabby# sysctl compat.linux compat.linux.osname: Linux compat.linux.osrelease: 2.2.12 compat.linux.oss_version: 198144 osname and osrelease could be changed to reflect the installed Linux compat installation, which we theoretically could support by having different linux_base ports -- such as a linux_rh6 port (installing to /compat/linux_rh6) and a linux_suse port (installing to /compat/linux_suse). However, only one 'Linux' emulation would be available at a time, since it's impossible to tell from a Linux executable (such as RealPlayer 8) which version of Linux to run it under, as all Linux binaries are just branded "Linux". This the same problem which plagues SVR4 emulation, which allows emulation of Solaris and SCO binaries. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Apr 6 8: 7:22 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-32.dsl.lsan03.pacbell.net [63.207.60.32]) by hub.freebsd.org (Postfix) with ESMTP id 2F70137B422; Fri, 6 Apr 2001 08:07:20 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 60BCD66D81; Fri, 6 Apr 2001 08:07:16 -0700 (PDT) Date: Fri, 6 Apr 2001 08:07:16 -0700 From: Kris Kennaway To: 3d@freebsd.org Cc: freebsd-emulation@freebsd.org Subject: Re: Different Linux bases Message-ID: <20010406080716.A89700@xor.obsecurity.org> References: <20010406141120.F3E2B37B506@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010406141120.F3E2B37B506@hub.freebsd.org>; from 3d@hub.freebsd.org on Fri, Apr 06, 2001 at 07:11:20AM -0700 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Apr 06, 2001 at 07:11:20AM -0700, Marc van Woerkom wrote: > I have no idea which one to prefer, but it raises the question > if it would make sense to organize the emulation to > host different Linux bases. > > How dependent is the present one on RedHat? I don't think there are any redhat-specific hacks in the kernel - we just use the RPMs as-is, so any other linux distribution should also just work (modulo differences in emulated kernel interfaces corresponding to different linux kernel versions). The big problem is that you wouldn't be able to have more than one distribution active at a time, and you'd have to check whether all of the linux binary ports work with the new distribution. Kris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Apr 6 9:32:22 2001 Delivered-To: freebsd-emulation@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 789) id 64BDC37B43C; Fri, 6 Apr 2001 09:32:21 -0700 (PDT) From: Marc van Woerkom <3d@hub.freebsd.org> To: matt@gsicomp.on.ca Cc: freebsd-emulation@FreeBSD.ORG In-reply-to: <00c201c0bea9$149f7980$1200a8c0@gsicomp.on.ca> (matt@gsicomp.on.ca) Subject: Re: Different Linux bases Reply-To: 3d@freebsd.org References: <20010406141120.F3E2B37B506@hub.freebsd.org> <00c201c0bea9$149f7980$1200a8c0@gsicomp.on.ca> Message-Id: <20010406163221.64BDC37B43C@hub.freebsd.org> Date: Fri, 6 Apr 2001 09:32:21 -0700 (PDT) Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks for these informations. Regards, Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Apr 6 9:35:32 2001 Delivered-To: freebsd-emulation@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 789) id A3D3937B446; Fri, 6 Apr 2001 09:35:30 -0700 (PDT) From: Marc van Woerkom <3d@hub.freebsd.org> To: kris@obsecurity.org Cc: freebsd-emulation@freebsd.org In-reply-to: <20010406080716.A89700@xor.obsecurity.org> (message from Kris Kennaway on Fri, 6 Apr 2001 08:07:16 -0700) Subject: Re: Different Linux bases Reply-To: 3d@freebsd.org References: <20010406141120.F3E2B37B506@hub.freebsd.org> <20010406080716.A89700@xor.obsecurity.org> Message-Id: <20010406163530.A3D3937B446@hub.freebsd.org> Date: Fri, 6 Apr 2001 09:35:30 -0700 (PDT) Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > just work (modulo differences in emulated kernel interfaces > corresponding to different linux kernel versions). Does the emulation already consider different kernels (2.2/2.4)? Regards, Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Apr 6 9:43:21 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-32.dsl.lsan03.pacbell.net [63.207.60.32]) by hub.freebsd.org (Postfix) with ESMTP id B970537B42C; Fri, 6 Apr 2001 09:43:19 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3E39D66B41; Fri, 6 Apr 2001 09:43:19 -0700 (PDT) Date: Fri, 6 Apr 2001 09:43:19 -0700 From: Kris Kennaway To: 3d@FreeBSD.ORG Cc: kris@obsecurity.org, freebsd-emulation@FreeBSD.ORG Subject: Re: Different Linux bases Message-ID: <20010406094319.A91112@xor.obsecurity.org> References: <20010406141120.F3E2B37B506@hub.freebsd.org> <20010406080716.A89700@xor.obsecurity.org> <20010406163530.A3D3937B446@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010406163530.A3D3937B446@hub.freebsd.org>; from 3d@hub.freebsd.org on Fri, Apr 06, 2001 at 09:35:30AM -0700 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Apr 06, 2001 at 09:35:30AM -0700, Marc van Woerkom wrote: > > just work (modulo differences in emulated kernel interfaces > > corresponding to different linux kernel versions). > > Does the emulation already consider different kernels (2.2/2.4)? No, it has features roughly corresponding to the version reported in the sysctl (enough for most applications, though some syscalls are not emulated) Kris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Apr 6 12: 9:50 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from scribble.fsn.hu (scribble.fsn.hu [193.224.40.95]) by hub.freebsd.org (Postfix) with SMTP id 397CD37B507 for ; Fri, 6 Apr 2001 12:09:46 -0700 (PDT) (envelope-from bra@fsn.hu) Received: (qmail 27911 invoked by uid 1000); 6 Apr 2001 19:09:39 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 6 Apr 2001 19:09:39 -0000 Date: Fri, 6 Apr 2001 21:09:39 +0200 (CEST) From: Attila Nagy To: Kris Kennaway Cc: Subject: Re: Different Linux bases In-Reply-To: <20010406094319.A91112@xor.obsecurity.org> Message-ID: <20010406210334.W27734-100000@scribble.fsn.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, > No, it has features roughly corresponding to the version reported in > the sysctl (enough for most applications, though some syscalls are not > emulated) Under a 2.2.12 kernel I can login with an OpenSSH compiled on a linux machine :) Under FreeBSD's linux "emulation" I can't. Sorry for repeating this question but I've contacted with some people and nobody could help me in this topic. Any ideas? http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2687+0+archive/2001/freebsd-emulation/20010325.freebsd-emulation ps: Debian runs fine on FreeBSD, but with woody and sid there are some name resolution problems and of course logging in with ssh is not so trivial (at least for me). Potato is OK. Thanks, -------------------------------------------------------------------------- Attila Nagy e-mail: Attila.Nagy@fsn.hu Budapest Polytechnic (BMF.HU) @work: +361 210 1415 (194) H-1084 Budapest, Tavaszmezo u. 15-17. cell.: +3630 306 6758 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Apr 7 1:14:48 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-32.dsl.lsan03.pacbell.net [63.207.60.32]) by hub.freebsd.org (Postfix) with ESMTP id 5C48B37B423 for ; Sat, 7 Apr 2001 01:14:43 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B041066D24; Sat, 7 Apr 2001 01:14:39 -0700 (PDT) Date: Sat, 7 Apr 2001 01:14:39 -0700 From: Kris Kennaway To: Attila Nagy Cc: Kris Kennaway , freebsd-emulation@FreeBSD.ORG Subject: Re: Different Linux bases Message-ID: <20010407011439.A44996@xor.obsecurity.org> References: <20010406094319.A91112@xor.obsecurity.org> <20010406210334.W27734-100000@scribble.fsn.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010406210334.W27734-100000@scribble.fsn.hu>; from bra@fsn.hu on Fri, Apr 06, 2001 at 09:09:39PM +0200 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Apr 06, 2001 at 09:09:39PM +0200, Attila Nagy wrote: > Hello, > > > No, it has features roughly corresponding to the version reported in > > the sysctl (enough for most applications, though some syscalls are not > > emulated) > Under a 2.2.12 kernel I can login with an OpenSSH compiled on a linux > machine :) > Under FreeBSD's linux "emulation" I can't. > > Sorry for repeating this question but I've contacted with some people and > nobody could help me in this topic. > > Any ideas? Nope. You'd probably have to do some detective work on your own to find out what's missing. Kris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message