From owner-freebsd-hackers Thu Dec 4 08:23:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA03386 for hackers-outgoing; Thu, 4 Dec 1997 08:23:12 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA03379 for ; Thu, 4 Dec 1997 08:23:05 -0800 (PST) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id RAA05763; Thu, 4 Dec 1997 17:23:31 +0100 (MET) (envelope-from sos) Message-Id: <199712041623.RAA05763@sos.freebsd.dk> Subject: Re: ELF and linux emulator problem... In-Reply-To: <199712041329.OAA20679@labinfo.iet.unipi.it> from Luigi Rizzo at "Dec 4, 97 02:29:47 pm" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Thu, 4 Dec 1997 17:23:26 +0100 (MET) Cc: hackers@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.dk X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In reply to Luigi Rizzo who wrote: Have you tried "brandelf'ing" the binaries ?? > While was trying the linux (ELF) demo of mathematica, it was giving me > the following message on startup: > > # ./mathematica > ELF binary type not known > Abort trap > > I have the linux_mod.o installed: > > prova# modstat > Type Id Off Loadaddr Size Info Rev Module Name > MISC 0 0 f72c3000 0008 f72c4000 1 star_saver_mod > EXEC 1 4 f72ea000 001c f72f0010 1 linux_mod > > and I can successfully run rvplayer 5.0 (linux version) which is > an ELF binary as well. Running "file" on both programs gives the > same answer: > > prova# file rvplayer > rvplayer: ELF 32-bit LSB executable, Intel 80386, version 1 > > So I am wondering where the error message comes from. Either there are > different versions/types of ELF files, or there is some of the exec* > calls which is not aware of the presence of the linux emulator ? > > This is on a 2.2.1 system. > > Thanks > Luigi > -----------------------------+-------------------------------------- > Luigi Rizzo | Dip. di Ingegneria dell'Informazione > email: luigi@iet.unipi.it | Universita' di Pisa > tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) > fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ > _____________________________|______________________________________ > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end ..