Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2000 11:24:26 -0700
From:      Marcel Moolenaar <marcel@cup.hp.com>
To:        clefevre@citeweb.net, krentel@dreamscape.com, freebsd-emulation@FreeBSD.ORG
Subject:   Re: panic running linux binaries from ext2fs
Message-ID:  <395A42DA.8722BB94@cup.hp.com>
References:  <200006250608.CAA15375@dreamscape.com> <ya3twrm0.fsf@pc166.gits.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?395A42DA.8722BB94>