From owner-freebsd-hackers Thu Dec 4 07:26:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA28843 for hackers-outgoing; Thu, 4 Dec 1997 07:26:16 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from opus.cts.cwu.edu (opus.cts.cwu.edu [198.104.92.71]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA28838 for ; Thu, 4 Dec 1997 07:26:13 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Received: from localhost (skynyrd@localhost) by opus.cts.cwu.edu (8.8.8/8.8.7) with SMTP id HAA08864; Thu, 4 Dec 1997 07:26:03 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Date: Thu, 4 Dec 1997 07:26:03 -0800 (PST) From: Chris Timmons To: Luigi Rizzo cc: hackers@FreeBSD.ORG Subject: Re: ELF and linux emulator problem... In-Reply-To: <199712041329.OAA20679@labinfo.iet.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Could it be the same phenomenon that keeps RealEncoder (the realaudio encoder) from running under our emulation? IIRC those problems had to do with the fact that the actual linux image was compiled on an obscenely old linux system, or used old libraries, or something like that. Anybody remember? On Thu, 4 Dec 1997, Luigi Rizzo wrote: > 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/ > _____________________________|______________________________________ >