From owner-freebsd-emulation Wed Jun 28 11:24:31 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id D145537BB6F for ; Wed, 28 Jun 2000 11:24:27 -0700 (PDT) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id D7AA9FD8; Wed, 28 Jun 2000 11:24:26 -0700 (PDT) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.02) with ESMTP id LAA17184; Wed, 28 Jun 2000 11:24:25 -0700 (PDT) Message-ID: <395A42DA.8722BB94@cup.hp.com> Date: Wed, 28 Jun 2000 11:24:26 -0700 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: clefevre@citeweb.net, krentel@dreamscape.com, freebsd-emulation@FreeBSD.ORG Subject: Re: panic running linux binaries from ext2fs References: <200006250608.CAA15375@dreamscape.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Cyrille Lefevre wrote: > > > I'm not running the binaries in /compat/linux. I cd to /mnt/bin > > (Linux's /bin) and run ./ls. > > I guess the problem is here. if the Linux binaries aren't branded, > and not run from /compat/linux, FreeBSD run them in the FreeBSD > kernel space, not the Linux kernel space. since the syscalls are > differents... No. You only need to brand static linked binaries. Dynamic linked binaries have a loader that identifies the ABI (modulo name clashes). > > All good ideas that could cause emulation to fail, but I don't see > > where they would cause a panic. > > why don't you mount your Linux partition on top of /compat/linux ? > so, you don't need to have the linux-base port installed. and all > should work fine. You have to be careful doing that. Some binaries, libraries and/or config files depend on being used on a real Linux system and may give "problems" when run on FreeBSD... -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message