From owner-freebsd-emulation Fri Jun 8 3:31:29 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from gorilla.mchh.siemens.de (gorilla.mchh.siemens.de [194.138.158.18]) by hub.freebsd.org (Postfix) with ESMTP id 8655237B401; Fri, 8 Jun 2001 03:31:15 -0700 (PDT) (envelope-from Michael.Reifenberger.gp@icn.siemens.de) Received: from moody.mchh.siemens.de (mail2.mchh.siemens.de [194.138.158.226]) by gorilla.mchh.siemens.de (8.9.3/8.9.3) with ESMTP id MAA24389; Fri, 8 Jun 2001 12:31:09 +0200 (MET DST) Received: from mchh274e.demchh201e.icn.siemens.de ([139.21.200.84]) by moody.mchh.siemens.de (8.9.1/8.9.1) with ESMTP id MAA10574; Fri, 8 Jun 2001 12:31:09 +0200 (MET DST) Received: by MCHH274E with Internet Mail Service (5.5.2653.19) id ; Fri, 8 Jun 2001 12:31:08 +0200 Message-ID: <67E0BE167008D31185F60008C7289DA0E1302E@MCHH218E> From: Reifenberger Michael To: "'Hartmann, O.'" Cc: freebsd-emulation@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: AW: AW: Linux emulation Date: Fri, 8 Jun 2001 12:31:08 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, it's for the ELF kernel-loader so that he knows which emulator to use. ELF binary type "0" means that this to be executed ELF-executable seems = to be - at least for our standards complient kernel executor - a SYSV executable. It's mostly caused by not branding the ELF executable during = compile-time=20 (esp. Linux doesn't seem to care about proper branding) To change the branding ito Linux, if it's clear that it's a Linux = binary, use our brandelf... As an experiment (mostly destructive) you could do a "kldload svr4" = before executing the binary and see what happens, when a SYSV emulator executes Linux syscalls :-) Bye/2 ------ Michael Reifenberger - IT, UNIX, R/3-Basis Work: Michael.Reifenberger@plaut.de Proj: = Michael.Reifenberger.gp@icn.siemens.de Pers: Michael@Reifenberger.com Webspace: http://www.reifenberger.com > -----Urspr> =FCngliche Nachricht----- > Von: Hartmann, O. [SMTP:ohartman@klima.physik.uni-mainz.de] > Gesendet am: Freitag, 8. Juni 2001 12:15 > An: Reifenberger Michael > Cc: freebsd-emulation@FreeBSD.ORG; freebsd-stable@FreeBSD.ORG > Betreff: Re: AW: Linux emulation >=20 > On Fri, 8 Jun 2001, Reifenberger Michael wrote: >=20 > Just for the emulator itself? No, this seems to be wrong ... >=20 > :>Hi, > :>try a "brandelf -t Linux wanna_run_elf_executabe"... > :> > :>Bye/2 > :>------ > :>Michael Reifenberger - IT, UNIX, R/3-Basis > :>Work: Michael.Reifenberger@plaut.de Proj: = Michael.Reifenberger.gp@icn.siemens.de > :>Pers: Michael@Reifenberger.com Webspace: = http://www.reifenberger.com > :> > :>> -----Urspr> =FCngliche Nachricht----- > :>> Von: Hartmann, O. [SMTP:ohartman@klima.physik.uni-mainz.de] > :>> Gesendet am: Donnerstag, 7. Juni 2001 20:45 > :>> An: freebsd-emulation@FreeBSD.ORG > :>> Cc: freebsd-stable@FreeBSD.ORG > :>> Betreff: Linux emulation > :>> > :>> Can anybody explain what this means: > :>> > :>> ELF binary type "0" not known. > :>> Abort trap > :>> > :>> > :>> I get this error on one of our servers after unloading and then = loading > :>> linux emulation > :>> > :>> -- > :>> MfG > :>> O. Hartmann > :>> > :>> ohartman@klima.physik.uni-mainz.de > :>> ---------------------------------------------------------------- > :>> IT-Administration des Institut fuer Physik der Atmosphaere (IPA) > :>> ---------------------------------------------------------------- > :>> Johannes Gutenberg Universitaet Mainz > :>> Becherweg 21 > :>> 55099 Mainz > :>> > :>> Tel: +496131/3924662 (Maschinensaal) > :>> Tel: +496131/3924144 > :>> FAX: +496131/3923532 > :>> > :>> > :>> To Unsubscribe: send mail to majordomo@FreeBSD.org > :>> with "unsubscribe freebsd-emulation" in the body of the message > :> >=20 > -- > MfG > O. Hartmann >=20 > ohartman@klima.physik.uni-mainz.de > ---------------------------------------------------------------- > IT-Administration des Institut fuer Physik der Atmosphaere (IPA) > ---------------------------------------------------------------- > Johannes Gutenberg Universitaet Mainz > Becherweg 21 > 55099 Mainz >=20 > Tel: +496131/3924662 (Maschinensaal) > Tel: +496131/3924144 > FAX: +496131/3923532 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message